Learn R Programming

ncdfCF (version 0.1.1)

id,ncdfObject-method: Retrieve the id of an ncdfCF object

Description

Retrieve the id of an ncdfCF object

Usage

# S4 method for ncdfObject
id(object)

Value

The integer id of the object.

Arguments

object

The object whose id to retrieve.

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)
id(ds[["lon"]])

Run the code above in your browser using DataLab