cfdm.core.CoordinateReference.get_datum

CoordinateReference.get_datum()[source]

Return the datum component.

New in version (cfdm): 1.7.0

See also

datum, get_coordinate_conversion

Returns
Datum

The datum component.

Examples:

>>> r = cfdm.core.CoordinateReference()
>>> d = cfdm.core.Datum(parameters={'earth_radius': 7000000})
>>> r.set_datum(d)
>>> r.get_datum()
<Datum: Parameters: earth_radius>
>>> r.del_datum()
<Datum: Parameters: earth_radius>
>>> r.get_datum()
<Datum: Parameters: >