[netcdfgroup] cdo mergetime issue

Dear All, 

I have 24 hourly files, which I wish to merge to one using CDO. I am doing: 

$ cdo mergetime 2017-07*.nc all.nc 
File all.nc already exists, overwrite? (yes/no): y 
cdf_put_vara_double : ncid = 1638400 varid = 3 val0 = -32489.000000 
cdf_put_vara_double : varname = tp 

Error (cdf_put_vara_double) : NetCDF: Numeric conversion not representable 

But, I ends up with the above errors. The ncdump of all.nc is (it stops at 
#_time=2) : 



$ ncdump -cst all.nc 
netcdf all { 
dimensions: 
longitude = 1200 ; 
latitude = 601 ; 
time = UNLIMITED ; // (2 currently) 
variables: 
float longitude(longitude) ; 
longitude:standard_name = "longitude" ; 
longitude:long_name = "longitude" ; 
longitude:units = "degrees_east" ; 
longitude:axis = "X" ; 
float latitude(latitude) ; 
latitude:standard_name = "latitude" ; 
latitude:long_name = "latitude" ; 
latitude:units = "degrees_north" ; 
latitude:axis = "Y" ; 
double time(time) ; 
time:standard_name = "time" ; 
time:long_name = "time" ; 
time:units = "hours since 1900-01-01 00:00:00" ; 
time:calendar = "standard" ; 
short tp(time, latitude, longitude) ; 
tp:long_name = "Total precipitation" ; 
tp:units = "m" ; 
tp:add_offset = 0.00308586418453152 ; 
tp:scale_factor = 9.41788495553782e-08 ; 
tp:_FillValue = -32767s ; 
tp:missing_value = -32767s ; 

// global attributes: 
:CDI = "Climate Data Interface version 1.6.3 
(http://code.zmaw.de/projects/cdi)" ; 
:Conventions = "CF-1.6" ; 
:history = "Thu Jul 05 17:45:35 2018: cdo mergetime 
2017-07T00_era5_tot_precip_fc_synop_monthly.nc 
2017-07T01_era5_tot_precip_fc_synop_monthly.nc 
2017-07T02_era5_tot_precip_fc_synop_monthly.nc 
2017-07T03_era5_tot_precip_fc_synop_monthly.nc 
2017-07T04_era5_tot_precip_fc_synop_monthly.nc 
2017-07T05_era5_tot_precip_fc_synop_monthly.nc 
2017-07T06_era5_tot_precip_fc_synop_monthly.nc 
2017-07T07_era5_tot_precip_fc_synop_monthly.nc 
2017-07T08_era5_tot_precip_fc_synop_monthly.nc 
2017-07T09_era5_tot_precip_fc_synop_monthly.nc 
2017-07T10_era5_tot_precip_fc_synop_monthly.nc 
2017-07T11_era5_tot_precip_fc_synop_monthly.nc 
2017-07T12_era5_tot_precip_fc_synop_monthly.nc 
2017-07T13_era5_tot_precip_fc_synop_monthly.nc 
2017-07T14_era5_tot_precip_fc_synop_monthly.nc 
2017-07T15_era5_tot_precip_fc_synop_monthly.nc 
2017-07T16_era5_tot_precip_fc_synop_monthly.nc 
2017-07T17_era5_tot_precip_fc_synop_monthly.nc 
2017-07T18_era5_tot_precip_fc_synop_monthly.nc 
2017-07T19_era5_tot_precip_fc_synop_monthly.nc 
2017-07T20_era5_tot_precip_fc_synop_monthly.nc\n", 
"Thu Jul 05 17:37:49 2018: cdo -selhour,23 
era5_tot_precip_18Z_fc_synop_monthly_201707.nc tmp.nc\n", 
"2018-07-02 08:45:37 GMT by grib_to_netcdf-2.8.0: grib_to_netcdf 
/data/data03/scratch/18/42/_mars-atls05-98f536083ae965b31b0d04811be6f4c6-is7yni.grib
 -o 
/data/data03/scratch/fe/1b/_grib2netcdf-atls04-98f536083ae965b31b0d04811be6f4c6-qbcftP.nc
 -utime" ; 
:CDO = "Climate Data Operators version 1.6.3 
(http://code.zmaw.de/projects/cdo)" ; 
:_Format = "64-bit offset" ; 
data: 

longitude = 0, 0.3, 0.6, 0.9, 1.2, 1.5, 1.8, 2.1, 2.4, 2.7, 3, 3.3, 3.6, 
... 
... 
355.5, 355.8, 356.1, 356.4, 356.7, 357, 357.3, 357.6, 357.9, 358.2, 
358.5, 358.8, 359.1, 359.4, 359.7 ; 

latitude = 90, 89.7, 89.4, 89.1, 88.8, 88.5, 88.2, 87.9, 87.6, 87.3, 87, 
... 
... 
-88.2, -88.5, -88.8, -89.1, -89.4, -89.7, -90 ; 

time = "2017-07-01 07", "2017-07-01 08" ; 
} 



Kindly suggest how to overcome the errors. 

With Regards and Thanks, 
Mahakur 

  • 2018 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: