# cf.Field.coordinate_reference_domain_axes¶

Field.coordinate_reference_domain_axes(identity)[source]

Return the domain axes that apply to a coordinate reference construct.

Parameters
identity:

Select the coordinate reference construct by one of:

• The identity or key of a coordinate reference construct.

A construct identity is specified by a string (e.g. 'grid_mapping_name:latitude_longitude', 'latitude_longitude', 'ncvar%lat_lon', etc.); a Query object (e.g. cf.eq('latitude_longitude')); or a compiled regular expression (e.g. re.compile('^atmosphere')) that selects the relevant constructs whose identities match via re.search.

Each construct has a number of identities, and is selected if any of them match any of those provided. A construct’s identities are those returned by its identities method. In the following example, the construct x has two identities:

>>> x.identities()
['grid_mapping_name:latitude_longitude', 'ncvar%lat_lon']


A identity’s prefix of 'grid_mapping_name:' or 'standard_name:' may be omitted (e.g. 'standard_name:atmosphere_hybrid_height_coordinate' and 'atmosphere_hybrid_height_coordinate' are both acceptable identities).

A construct key may optionally have the 'key%' prefix. For example 'coordinatereference2' and 'key%coordinatereference2' are both acceptable keys.

Note that in the output of a print call or dump method, a construct is always described by one of its identities, and so this description may always be used as an identity argument.

Parameter example:

identity='standard_name:atmosphere_hybrid_height_coordinate'

Parameter example:

identity='grid_mapping_name:rotated_latitude_longitude'

Parameter example:

identity='transverse_mercator'

Parameter example:

identity='coordinatereference1'

Parameter example:

identity='key%coordinatereference1'

Parameter example:

identity='ncvar%lat_lon'

Returns
set

The identifiers of the domain axis constructs that span the data of all coordinate and domain ancillary constructs used by the selected coordinate reference construct.

Examples:

>>> f.coordinate_reference_domain_axes('coordinatereference0')
{'domainaxis0', 'domainaxis1', 'domainaxis2'}

>>> f.coordinate_reference_domain_axes(
...     'atmosphere_hybrid_height_coordinate')
{'domainaxis0', 'domainaxis1', 'domainaxis2'}