Obtain trait value from a netCDF file

ncGetTraits(nc, traits = NULL, ...)

Arguments

nc

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

traits

The trait name will be returned

...

Other arguments for factors. All variables will be returned in this factor if a factor is not specified.