Added by Arne Kriegsmann about 13 years ago
I have a dataset which I want to read into a numpy-Array.
But all examples I have found make use of a cdo operator like cdo.fldsum, and thus, do not return the original field.
But what I need is the original data without doing some calculation on it.
Is there something like a cdo.read Operator?
in the current release 1.0.5 there is a new operator called readCdf, which directly returns a pycdf objects. Use it like
cdf = cdo.readCdf("ifile.nc")or
cdf = cdo.readCdf(cdo.copy(input="ifile.grb",options="-f nc"))and get the list of variable names with
cdf.variables().keys()
regards
ralf