cf.AncillaryVariables.unsqueeze

AncillaryVariables.unsqueeze(axes=None, i=False, **kwargs)[source]

Insert size 1 axes into the data array of each field.

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

See cf.Field.unsqueeze for details.

Parameters :
args, kwargs : optional

See cf.Field.unsqueeze.

i : bool, optional

If True then update the field list and its fields in place. By default a new field list containing new fields is created.

Returns :

out : cf.FieldList

Previous topic

cf.AncillaryVariables.transpose

Next topic

cf.AuxiliaryCoordinate

This Page