Project

General

Profile

NetCDF: Numeric conversion not representable

Added by Gerd Buerger over 13 years ago

Hi,

using sp2gp on the ncep divergence fields, e.g. div.spec.1964.nc, I get the following error:

%> cdo sp2gp div.spec.1964.nc tt.nc

cdf_put_vara_double : ncid = 131072 varid = 7 val0 = -6739120.000000

Error (cdf_put_vara_double) : NetCDF: Numeric conversion not representable

Any help?

Gerd


Replies (1)

RE: NetCDF: Numeric conversion not representable - Added by Uwe Schulzweida over 13 years ago

Hi Gerd,

Use the CDO option -b 32 or -b 64 to solve the problem:

cdo -b 32 sp2gp div.spec.1964.nc tt.nc
For an explanation see known problems [https://code.zmaw.de/projects/cdo/wiki#netCDF-with-packed-data].

Best regards,
Uwe

    (1-1/1)