This class represent CF labels, i.e. an NC variable of character type that provides a textual label for a discrete or general numeric axis. See also CFAxisCharacter, which is an axis with character labels.
ncdfCF::CFObject -> CFLabel
NCdimThe NCDimension that stores the netCDF dimension details.
friendlyClassName(read-only) A nice description of the class.
coordinates(read-only) The label set as a vector.
length(read-only) The number of labels in the set.
dimid(read-only) The netCDF dimension id of this label set.
new()Create a new instance of this class.
CFLabel$new(nc_var, nc_dim, values)nc_varThe netCDF variable that describes this instance.
nc_dimThe netCDF dimension that describes the dimensionality.
valuesCharacter vector of the label values.
...Arguments passed on to other functions. Of particular interest
is width = to indicate a maximum width of attribute columns.
self, invisibly.
grpThe group to create the new label object in.
rngThe range of indices to retrieve.
A CFLabel instance, or NULL if the rng values are invalid.
ncThe handle of the netCDF file opened for writing or a group in
the netCDF file. If NULL, write to the file or group where the labels
were read from (the file must have been opened for writing). If not
NULL, the handle to a netCDF file or a group therein.
Self, invisibly.
clone()The objects of this class are cloneable with this method.
CFLabel$clone(deep = FALSE)deepWhether to make a deep clone.