cf.CoordinateReference.coordinates

CoordinateReference.coordinates()[source]

Return all references to coordinate constructs.

New in version 1.7.0.

Returns
set

The coordinate construct keys.

Examples:

>>> old = c.clear_coordinates()
{'dimensioncoordinate0', 'dimensioncoordinate1'}
>>> c.coordinates()
set()
>>> c.set_coordinates(old)
>>> c.coordinates()
{'dimensioncoordinate0', 'dimensioncoordinate1'}