cf.Field.map_axes

Field.map_axes(other)[source]

Map the axis identifiers of the field to their equivalent axis identifiers of another.

Parameters

other: Field

Returns
dict

A dictionary whose keys are the axis identifiers of the field with corresponding values of axis identifiers of the of other field.

Examples

>>> f.map_axes(g)
{'dim0': 'dim1',
 'dim1': 'dim0',
 'dim2': 'dim2'}