cf.CoordinateReference.identity

CoordinateReference.identity(default=None)[source]

Return the identity of the coordinate reference.

The identity is the standard_name of a formula_terms-type coordinate reference or the grid_mapping_name of grid_mapping-type coordinate reference.

Parameters:
default: optional

If the coordinate reference has no identity then return default. By default, default is None.

Returns:
out:

The identity.

Examples:
>>> c.identity()
'rotated_latitude_longitude'
>>> c.identity()
'atmosphere_hybrid_height_coordinate'