With this method you can create an axis to use with new CFVariable
instances. Depending on the orientation argument and the type of the
values argument an instance of a class descending from CFAxis will be
returned.
Usage
makeAxis(
name,
orientation,
values,
bounds = NULL,
attributes = data.frame(),
group = NULL
)Arguments
- name
Name of the axis.
- orientation
The orientation of the axis. Must be one of "X", "Y", "Z", or "T" for longitude, latitude, height or depth, and time axes, respectively. For any other axis, indicate an empty string ""
- values
The coordinate values. In the case of an axis with
orientation = "T"this must be aCFTimeorCFClimatologyinstance.- bounds
The boundary values of the coordinates, or
NULLif not available.- attributes
data.framewith the attributes of the axis to create. Depending on which axis is created one or more attributes may be added or amended.- group
CFGroup instance where the axis will be located. If
NULL(default), a private group will be created for the axis.
Value
An instance of a class descending from CFAxis.