names,ncdfDataset-method {ncdfCF}R Documentation

Variable names of an ncdfDataset instance

Description

Variable names of an ncdfDataset instance

Usage

## S4 method for signature 'ncdfDataset'
names(x)

Arguments

x

ncdfDataset whose variable names to retrieve.

Value

A character vector of variable names.

Examples

fn <- system.file("extdata",
  "pr_day_EC-Earth3-CC_ssp245_r1i1p1f1_gr_20240101-20241231_vncdfCF.nc",
  package = "ncdfCF")
ds <- open_ncdf(fn)
names(ds)

[Package ncdfCF version 0.1.1 Index]