View source: R/makeCFObjects.R
makeAxis | R Documentation |
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.
makeAxis(name, orientation, values, bounds = NULL, attributes = NULL)
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 |
bounds |
The boundary values of the coordinates, or |
attributes |
|
There are several restrictions on the combination of orientation
and
values
arguments. Longitude, latitude and depth axes (orientation
of "X",
"Y" or "Z") must have numeric values
. For a time axis (orientation
of
"T") the values
argument must be an instance of CFTime
or
CFClimatology
.
An instance of a class descending from CFAxis.
makeLongitudeAxis()
, makeLatitudeAxis()
, makeTimeAxis()
,
makeDiscreteAxis()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.