craftutils.observation.epoch.SkyCoord.to_string(style='decimal', **kwargs)

A string representation of the coordinates.

The default styles definitions are:

'decimal': 'lat': {'decimal': True, 'unit': "deg"}
           'lon': {'decimal': True, 'unit': "deg"}
'dms': 'lat': {'unit': "deg"}
       'lon': {'unit': "deg"}
'hmsdms': 'lat': {'alwayssign': True, 'pad': True, 'unit': "deg"}
          'lon': {'pad': True, 'unit': "hour"}

See to_string() for details and keyword arguments (the two angles forming the coordinates are are both Angle instances). Keyword arguments have precedence over the style defaults and are passed to to_string().

Parameters

style{‘hmsdms’, ‘dms’, ‘decimal’}

The formatting specification to use. These encode the three most common ways to represent coordinates. The default is decimal.

**kwargs

Keyword args passed to to_string().