cf.CoordinateReference.default_value

classmethod CoordinateReference.default_value(term)[source]

Return the default value for an unset standard CF coordinate conversion term.

Parameters
term: str

The name of the term.

Returns

The default value, or 0.0 if one is not available.

Examples

>>> cf.CoordinateReference.default_value('ptop')
0.0
>>> print(cf.CoordinateReference.default_value('north_pole_grid_latitude'))
0.0