cfdm.CoordinateReference.del_coordinate_conversion

CoordinateReference.del_coordinate_conversion()[source]

Remove the coordinate conversion component.

New in version (cfdm): 1.7.0

Returns
CoordinateConversion

The removed coordinate conversion component.

Examples

>>> r = cfdm.CoordinateReference()
>>> orog = cfdm.DomainAncillary()
>>> c = cfdm.CoordinateConversion(
...     parameters={
...         'standard_name': 'atmosphere_hybrid_height_coordinate',
...     },
...     domain_ancillaries={'orog': orog}
... )
>>> r.set_coordinate_conversion(c)
>>> r.get_coordinate_conversion()
<CoordinateConversion: Parameters: standard_name; Ancillaries: orog>
>>> r.del_coordinate_conversion()
<CoordinateConversion: Parameters: standard_name; Ancillaries: orog>
>>> r.get_coordinate_conversion()
<CoordinateConversion: Parameters: ; Ancillaries: >