Learn R Programming

ncdfCF (version 0.1.1)

time,ncdfDimensionTime-method: Get the full time specification of the dimension

Description

This method returns the CFtime instance that manages all the conversions and processing for this dimension. See package CFtime for more details.

Usage

# S4 method for ncdfDimensionTime
time(x)

Value

An instance of the CFtime class.

Arguments

x

A ncdfDimensionTime instance.

Examples

Run this code
fn <- system.file("extdata",
                  "pr_day_EC-Earth3-CC_ssp245_r1i1p1f1_gr_20240101-20241231_vncdfCF.nc",
                  package = "ncdfCF")
ds <- open_ncdf(fn)
time(ds[["time"]])

Run the code above in your browser using DataLab