This class represents the bounds of an axis or an auxiliary longitude-latitude grid.
The class manages the bounds information for an axis (2 vertices per element) or an auxiliary longitude-latitude grid (4 vertices per element).
ncdfCF::CFObject -> CFBounds
NCdimThe NCDimension that stores the netCDF dimension details of the bounds dimension (as opposed to the dimension of the associated axis).
friendlyClassName(read-only) A nice description of the class.
coordinates(read-only) Retrieve the boundary values.
new()Create an instance of this class.
CFBounds$new(nc_var, nc_dim, values)nc_varThe NC variable that describes this instance.
nc_dimThe NC dimension that defines the vertices of the bounds.
valuesA matrix with the bounds values.
...Arguments passed on to other functions. Of particular interest
is width = to indicate a maximum width of attribute columns.
sub_bounds()Return bounds spanning a smaller coordinate range.
This method returns bounds which spans the range of indices given by
the rng argument.
CFBounds$sub_bounds(group, rng)groupThe group to create the new bounds in.
rngThe range of values from this bounds object to include in the returned object.
A CFBounds instance covering the indicated range of indices.
write()Write the bounds variable to a netCDF file. This method
should not be called directly; instead, CFArray::save() will call this
method automatically.
CFBounds$write(h, object_name)hThe handle to a netCDF file open for writing.
object_nameThe name of the object that uses these bounds, usually an axis but could also be an auxiliary CV or a parametric Z axis.
clone()The objects of this class are cloneable with this method.
CFBounds$clone(deep = FALSE)deepWhether to make a deep clone.