Learn R Programming

ncdfCF (version 0.4.0)

CFLabel: CF label object

Description

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.

Arguments

Super class

ncdfCF::CFObject -> CFLabel

Public fields

NCdim

The NCDimension that stores the netCDF dimension details.

values

The label values, a character vector.

Active bindings

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.

Methods

Inherited methods


Method new()

Create a new instance of this class.

Usage

CFLabel$new(grp, nc_var, nc_dim, values)

Arguments

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.


Method clone()

The objects of this class are cloneable with this method.

Usage

CFLabel$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.