Project

General

Profile

error in combining nc files from NCEP R2

Added by ch ch01 about 10 years ago

Hallo, I tried to combine the nc files format data that I downloaded from
NOAA as follow:

cdo cat *.nc hgt.1979_2012.nc
cdo cat: 0%cdf_put_vara_double : ncid = 131072 varid = 5 val0 = -62385.000000
cdf_put_vara_double : varname = hgt

Error (cdf_put_vara_double) : NetCDF: Numeric conversion not representable

I don’t understand why I got this error.
Any help will be really appreciated.

Chang.


Replies (2)

RE: error in combining nc files from NCEP R2 - Added by ch ch01 about 10 years ago

I tried something like this, but still produced error? will it affect the
output result?

cdo -b F64 -f nc2 cat *.nc hgt.1979_2012.nc
cdo cat: 94%
cdo cat (Abort): Input streams have different number of variables per timestep!
**

RE: error in combining nc files from NCEP R2 - Added by Uwe Schulzweida about 10 years ago

Here is the answer of your first question: https://code.zmaw.de/projects/cdo/wiki#netCDF-with-packed-data.
The error message
Input streams have different number of variables per timestep!
means that the contents of at least one of the input files differ from the first input file.
For the CDO operator cat all input files needs to have the same structure (same number of variables on the same grid).

    (1-2/2)