cfdm.DomainTopology.identity

DomainTopology.identity(default='')[source]

Return the canonical identity.

By default the identity is the first found of the following:

  • The cell type, preceded by 'cell:'.

  • The standard_name property.

  • The cf_role property, preceded by ‘cf_role=’.

  • The long_name property, preceded by ‘long_name=’.

  • The netCDF variable name, preceded by ‘ncvar%’.

  • The value of the default parameter.

New in version (cfdm): 1.11.0.0

See also

identities

Parameters
default: optional

If no identity can be found then return the value of the default parameter.

Returns

The identity.