
List dimensions of netCDF archive
nc_dimensions.Rdnc_dimensions returns a list with the index, names, units, length and values of all the dimensions of the input file or "NetCDF" (as defined in RNetCDF) object.
Value
A list with index, name, units, length and values for each dimension included in the netCDF archive.
Examples
if (FALSE) { # \dontrun{
# In the case the input object is a file:
concfile <- c("extdata/conc_farm.nc")
nc_dimensions(concfile)
# In the case the input object is a 'NetCDF' object:
concfile <- c("extdata/conc_farm.nc")
nc <- RNetCDF::open.nc(concfile)
nc_deadlines(nc)
} # }