cf.AuxiliaryCoordinate.expand_dims

AuxiliaryCoordinate.expand_dims(position=0, direction=True, axis=None)[source]

Insert a size 1 axis into the data array and bounds in place.

Parameters :
position : int, optional

Specify the position amongst the field’s data array axes where the new axis is to be inserted. By default the new axis is inserted at position 0, the slowest varying position.

direction : bool, optional

axis : str, optional

See also

flip, squeeze, transpose,

Previous topic

cf.AuxiliaryCoordinate.equals

Next topic

cf.AuxiliaryCoordinate.fill_value

This Page