CFBounds | R Documentation |
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
NCdim
The 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.
bounds
(read-only) Retrieve the boundary values.
new()
Create an instance of this class.
CFBounds$new(nc_var, nc_dim, values)
nc_var
The NC variable that describes this instance.
nc_dim
The NC dimension that defines the vertices of the bounds.
values
A matrix with the bounds values.
print()
Print a summary of the object to the console.
CFBounds$print(...)
...
Arguments passed on to other functions. Of particular interest
is width =
to indicate a maximum width of attribute columns.
range()
Retrieve the lowest and highest value in the bounds.
CFBounds$range()
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)
group
The group to create the new bounds in.
rng
The 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)
h
The handle to a netCDF file open for writing.
object_name
The 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)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.