dim.CFAxis {ncdfCF} | R Documentation |
Axis length
Description
This method returns the lengths of the axes of a variable or axis.
Usage
## S3 method for class 'CFAxis'
dim(x)
Arguments
x |
The |
Value
Vector of axis lengths.
Examples
fn <- system.file("extdata", "ERA5land_Rwanda_20160101.nc", package = "ncdfCF")
ds <- open_ncdf(fn)
t2m <- ds[["t2m"]]
dim(t2m)
[Package ncdfCF version 0.6.1 Index]