Project

General

Profile

problem with cdo cat command

Added by Venugopal Reddy over 4 years ago

Hi,
I often end up with the following error while using "cdo cat" with and without "-b F32" or "-b F64" options. sample file is attached. Any solution to the problem is greatly appreciated.

cdf_put_vara_double: name=u type=NC_SHORT minval=-24421.000000 maxval=33622.000000

Error (cdf_put_vara_double): NetCDF: Numeric conversion not representable

test.nc (136 KB) test.nc

Replies (3)

RE: problem with cdo cat command - Added by Karin Meier-Fleischer over 4 years ago

Hi Venugopal,

which version are you using?

-Karin

RE: problem with cdo cat command - Added by Uwe Schulzweida over 4 years ago

The option "-b F32"/"-b F64 muss be used when creating the output file. That is the first call of "cdo cat":

rm -f outfile
cdo -b F32 cat file1 outfile
cdo -b F32 cat file2 outfile
cdo -b F32 cat file3 outfile

It is to late if you use the option only when the error occurs, because the attributes can't be change if the file already exist:
rm -f outfile
cdo        cat file1 outfile
cdo        cat file2 outfile
cdo -b F32 cat file3 outfile

RE: problem with cdo cat command - Added by Venugopal Reddy over 4 years ago

Hi,
I am using Climate Data Operators version 1.9.3.

    (1-3/3)