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
NCdim
The NCDimension that stores the netCDF dimension details.
values
The label values, a character vector.
friendlyClassName
(read-only) A nice description of the class.
length
(read-only) The number of labels.
dimid
(read-only) The netCDF dimension id of this label.
new()
Create a new instance of this class.
CFLabel$new(grp, nc_var, nc_dim, values)
grp
The group that contains the netCDF variable.
nc_var
The netCDF variable that describes this instance.
nc_dim
The netCDF dimension that describes the dimensionality.
values
Character vector of the label values.
clone()
The objects of this class are cloneable with this method.
CFLabel$clone(deep = FALSE)
deep
Whether to make a deep clone.