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 (because cf.Data(x) creates a valid cf.Data object): int, float, str, tuple, list, numpy.ndarray, cf.Data, cf.Coordinate, cf.Field.

copy: bool, optional

Returns:

None