cf.AncillaryVariables.expand_dims

AncillaryVariables.expand_dims(*args, **kwargs)[source]

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

fl.expand_dims(*args, **kwargs) is equivalent to for f in fl: f.expand_dims(*args, **kwargs).

See cf.Field.expand_dims for details.

Parameters :
args, kwargs : optional

See cf.Field.expand_dims.

Returns :

None

Previous topic

cf.AncillaryVariables.equals

Next topic

cf.AncillaryVariables.extend

This Page