RAnEn::readNc reads an NetCDF file as a list with RNetCDF interface.

readNc2(file, recursive = F, read_attrs_as_vars = F, ...)

Arguments

file

The file to read

recursive

Whether to read variables recursively

...

Optional arguments passed to RNetCDF::var.get.nc

read_attrs_vars

Whether to read attributes. Make sure there are no name conflicts between attributes and variables. Only attributes under groups or in the root group are read. Attributes associated with variables are not read.

Author

Weiming Hu weiming@psu.edu