Project

General

Profile

cdo mergetime producing zeros in timestamps in the resulting file

Added by Santiago Botia almost 4 years ago

Hello,

I am merging monthly files with 6hourly timesteps into a yearly file like this:

cdo -b F64 mergetime z_cams_l_tno-sron_v17r1s_ra_ml_6h_ch4_2015* z_cams_l_tno-sron_v17r1s_ra_ml_6h_ch4_2015_temp2.nc

The *temp2.nc file has incorrect timestamps. When inspecting with ncdump -v time *temp2.nc, I get:

time = 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
    0, 0, 0, 0, 0, 0, 0, 0 ..............

The weird thing is that I did the same for other years and this did not happen. So I was wondering if you guys here can help me : ).
Thanks!
Santiago