Change the axis names.
The dimension names are arbitrary, so mapping them to another arbitrary collection does not change the data array values, units, dimension directions nor dimension order.
Examples
>>> d.dimensions
['dim0', 'dim1', 'dim2']
>>> dim_name_map
{'dim0': 'dim1',
'dim1': 'dim0',
'dim2': 'dim2',
'dim3': 'dim3'}
>>> d.change_axis_names(dim_name_map)
>>> d.dimensions
['dim1', 'dim0', 'dim2']