cf.CellMeasure.identities

CellMeasure.identities()[source]

Return all possible identities.

The identities comprise:

  • The “standard_name” property.
  • The “id” attribute, preceeded by 'id%'.
  • The “cf_role” property, preceeded by 'cf_role='.
  • The “axis” property, preceeded by 'axis='.
  • The “long_name” property, preceeded by 'long_name='.
  • All other properties (including “standard_name”), preceeded by the property name and an '='.
  • The coordinate type ('X', 'Y', 'Z' or 'T').
  • The netCDF variable name, preceeded by 'ncvar%'.

New in version 3.0.0.

See also

id, identity

Returns:
list

The identities.

Examples:

>>> f.properties()
{'foo': 'bar',
 'long_name': 'Air Temperature',
 'standard_name': 'air_temperature'}
>>> f.nc_get_variable()
'tas'
>>> f.identities()
['air_temperature',
 'long_name=Air Temperature',
 'foo=bar',
 'standard_name=air_temperature',
 'ncvar%tas']