cf.CoordinateReference.canonical_units

classmethod CoordinateReference.canonical_units(term)[source]

Return the canonical units for a standard CF coordinate conversion term.

Parameters
term: str

The name of the term.

Returns
Units or None

The canonical units, or None if there are not any.

Examples:

>>> cf.CoordinateReference.canonical_units('perspective_point_height')
<Units: m>
>>> cf.CoordinateReference.canonical_units('ptop')
None