cf.CoordinateReference.default_value

classmethod CoordinateReference.default_value(term)[source]

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

The default values are stored in the file cf/etc/coordinate_reference/default_values.txt.

Parameters:
term : str

The name of the term.

Returns:
out :

The default value, or None if there is not one.

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

This Page