cf.DomainAncillary.insert_bounds¶
-
DomainAncillary.
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.Data
object.- Example:
Instances,
x
, of following types are all examples of data-like objects (becausecf.Data(x)
creates a validcf.Data
object):int
,float
,str
,tuple
,list
,numpy.ndarray
,cf.Data
,cf.Coordinate
,cf.Field
.
copy:
bool
, optionalReturns: