Get varibles values from nc file

cfvar_get(nc, varname, ...)

Arguments

nc

An object of class ncdf4 (as returned from nc_open), indicating what file to read from.

varname

The variables names in the nc file.

...

Arguments are used to specify which data will be returned.