cf.Domain.ref_axes

Domain.ref_axes(key)[source]

Return the axes spanned by the coordinate object inputs of a coordinate reference object.

Parameters:
key : str

A coordinate reference domain identifier.

Example:

To select the coordinate reference with domain identifier “ref1”: key='ref1'.

Returns:
out : set

A set of the domain identifiers of the axes spanned by the coordinate reference’s coordinates.

Examples:
>>> key = d.item('rotated_latitude_longitude', key=True)
>>> d.ref_axes(key)
set(['dim2', 'dim1'])