powered by
This method returns the lengths of the axes of a variable or axis.
# S3 method for CFAxis dim(x)
Vector of dimension lengths.
The CFVariable or a descendant of CFAxis.
CFVariable
CFAxis
fn <- system.file("extdata", "ERA5land_Rwanda_20160101.nc", package = "ncdfCF") ds <- open_ncdf(fn) t2m <- ds[["t2m"]] dim(t2m)
Run the code above in your browser using DataLab