cf.Coordinate.insert_data

Coordinate.insert_data(data, bounds=None, copy=True)[source]

Insert a new data array into the coordinate in place.

A bounds data array may also inserted if given with the bounds keyword. Bounds may also be inserted independently with the insert_bounds method.

New in version 2.0.

Parameters:

data : cf.Data

bounds : cf.Data, optional

copy : bool, optional

Returns:

None