cf.BoundedVariable.insert_bounds¶
-
BoundedVariable.insert_bounds(bounds, copy=True)[source]¶ Insert cell bounds.
New in version 2.0.
Parameters: bounds: data-like
A data-like object is any object containing array-like or scalar data which could be used to create a
cf.Dataobject.- Example:
Instances,
x, of following types are all examples of data-like objects (becausecf.Data(x)creates a validcf.Dataobject):int,float,str,tuple,list,numpy.ndarray,cf.Data,cf.Coordinate,cf.Field.
copy:
bool, optionalReturns: