Project

General

Profile

error using of cdo cat

Added by Jing Sun almost 8 years ago

I want to cat several nc files to one nc files.
I just type " cdo cat S02_1m_00101201_00101231_grid_T.nc out.nc "
but in the out.nc file, all the data are nan.
Thank you for your answering in advance!


Replies (2)

RE: error using of cdo cat - Added by Jing Sun almost 8 years ago

the out.nc is exist, I forgot to say

RE: error using of cdo cat - Added by Uwe Schulzweida almost 8 years ago

Your NetCDF file contains the following attributes:

   :valid_min = 1.e+20f ;
   :valid_max = -1.e+20f ;
That means all values below 1.e+20f and above -1.e+20f are declared as invalid data.
You have to remove these attributes in order to get correct results with CDO. Here is an NCO example to remove these attributes:
ncatted -a valid_min,,d,, -a valid_max,,d,, S02_1m_00101201_00101231_grid_T.nc 
    (1-2/2)