cf.CoordinateReference.clear_coordinates

CoordinateReference.clear_coordinates()[source]

Remove all references to coordinate constructs.

New in version 1.7.0.

Returns:
set

The removed coordinate construct keys.

Examples:

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