powered by
Obtain information about a single dimension by index.
nc_dim(x, i, ...)# S3 method for character nc_dim(x, i, ...)# S3 method for NetCDF nc_dim(x, i, ...)# S3 method for ncdf4 nc_dim(x, i, ...)
# S3 method for character nc_dim(x, i, ...)
# S3 method for NetCDF nc_dim(x, i, ...)
# S3 method for ncdf4 nc_dim(x, i, ...)
data frame of dimension information, with columns 'id', 'name', 'length', 'unlim'
filename or handle
index of dimension (zero based)
ignored
nc_dims to obtain information about all dimensions, nc_inq for an overview of the file
nc_dims
nc_inq
f <- system.file("extdata", "S2008001.L3m_DAY_CHL_chlor_a_9km.nc", package = "ncmeta") nc_dim(f, 0)
Run the code above in your browser using DataLab