cf.Domain.map_axes

Domain.map_axes(other)[source]

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

Parameters:

other : cf.Domain

Returns:
out : dict

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

Examples:
>>> d.map_axes(e)
{'dim0': 'dim1',
 'dim1': 'dim0',
 'dim2': 'dim2'}