cf.AncillaryVariables.expand_dims

AncillaryVariables.expand_dims(position=0, axis=None, i=False, **kwargs)[source]

Insert a size 1 axis into the data array of each field in place.

fl.expand_dims(....) is equivalent to cf.FieldList(f.expand_dims(....) for f in fl).

See cf.Field.expand_dims for details.

Parameters :
args, kwargs : optional

See cf.Field.expand_dims.

Returns :

out : cf.FieldList

Previous topic

cf.AncillaryVariables.equals

Next topic

cf.AncillaryVariables.fill_value

This Page