cf.CoordinateReference.get_coordinate_conversion

CoordinateReference.get_coordinate_conversion()[source]

Get the coordinate conversion component.

New in version (cfdm): 1.7.0

Returns
CoordinateConversion

The coordinate conversion component.

Examples

>>> r = cf.CoordinateReference()
>>> orog = cf.DomainAncillary()
>>> c = cf.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: >