cf.AncillaryVariables.squeeze

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

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

Parameters :
axes, kwargs : optional

Select the axes to be squeezed. See cf.Field.squeeze.

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.sort

Next topic

cf.AncillaryVariables.subspace

This Page