cf.AncillaryVariables.insert_data

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

Insert a new data array into the only field in place.

An exception is raised if there is not exactly one field in the list.

fl.insert_data(*args, **kwargs) is equivalent to if len(fl) == 1: fl[0].insert_data(*args, **kwargs).

See cf.Field.insert_data for details.

Parameters :
args, kwargs : optional

See cf.Field.insert_data.

Returns :

None

Previous topic

cf.AncillaryVariables.insert

Next topic

cf.AncillaryVariables.item

This Page