cf.Domain.ref_axes

Domain.ref_axes(key)[source]

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

Parameters:
key : str

A coordinate reference identifier of the domain.

Returns:
out : set

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

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

Previous topic

cf.Domain.copy

Next topic

cf.Domain.data_axes

This Page