makeTimeAxis: Create a time axis

View source: R/makeCFObjects.R

makeTimeAxisR Documentation

Create a time axis

Description

With this method you can create a time axis to use with new CFVariable instances.

Usage

makeTimeAxis(name, values, attributes = NULL)

Arguments

name

Name of the axis.

values

A CFTime or CFClimatology instance with time values and optionally bounds set.

attributes

data.frame with the attributes of the axis to create. Attributes "standard_name", "units", "calendar", "actual_range" and "axis" will be set or updated.

Value

A CFAxisTime instance.


ncdfCF documentation built on Sept. 13, 2025, 5:07 p.m.