Project

General

Profile

attempt to merge netCDF -> Error (cdf_put_vara_double) : NetCDF: Numeric conversion not representable

Added by Alexander Koutsouris over 11 years ago

Hi, first of all wanted to say that I am new to CDO but it seems to be a great program!

Now, I have encountered a problem that I cant get around. I am simply trying to merge two files and I get the following output:

"cdf_put_vara_double : ncid = 196608 varid = 3 val0 = -42744.000000

Error (cdf_put_vara_double) : NetCDF: Numeric conversion not representable"

Here is some of the things I have tried before using merge, mergetime or cat (I tried them all):
cdo -f nc2 mergetime *.nc outfile.nc2
create new files containg only the parameter of interest
removing missing values using setctomiss to either -999 or -inf
using the copy command

I have browsed through the forum and have now run out of ideas and would very much need your help. I have attached two of the files that I am working with.

Thank you in advance!
-Alex K

tmin.2m.2009.nc (12.6 MB) tmin.2m.2009.nc tmin.2m.2009.nc
tmin.2m.2010.nc (12.6 MB) tmin.2m.2010.nc tmin.2m.2010.nc

Replies (2)

RE: attempt to merge netCDF -> Error (cdf_put_vara_double) : NetCDF: Numeric conversion not representable - Added by Jaison-Thomas Ambadan over 11 years ago

Hi,

try the "-b F64" option (higher precision):

ie cdo -b F64 -f nc2 mergetime

Cheers,
J

RE: attempt to merge netCDF -> Error (cdf_put_vara_double) : NetCDF: Numeric conversion not representable - Added by Alexander Koutsouris over 11 years ago

Thank you for the quick reply!

It worked perfectly when i removed the nc2 part from the command you gave me.
ie cdo -b F64 mergetime *.nc outfile.nc

Cheers -Alex

    (1-2/2)