cfdm.core.CoordinateReference.get_coordinate_conversion

CoordinateReference.get_coordinate_conversion()[source]

Get the coordinate conversion component.

New in version (cfdm): 1.7.0

See also

coordinate_conversion, del_coordinate_conversion, set_coordinate_conversion

Returns
CoordinateConversion

The coordinate conversion component.

Examples:

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