cf.Count.identities

Count.identities(generator=False, **kwargs)[source]

Return all possible identities.

The identities comprise:

  • The “standard_name” property.

  • The “id” attribute, preceded by 'id%'.

  • The “cf_role” property, preceded by 'cf_role='.

  • The “axis” property, preceded by 'axis='.

  • The “long_name” property, preceded by 'long_name='.

  • All other properties (including “standard_name”), preceded by the property name and an '='.

  • The coordinate type ('X', 'Y', 'Z' or 'T').

  • The netCDF variable name, preceded by 'ncvar%'.

New in version 3.0.0.

See also

id, identity

TODO
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']