cdo -r copy does not convert from absolute time to relative time
Added by e ddc about 12 years ago
Hello
I am surely doing something wrong and count on you to tell me what :)
The time variable in my netcdf file is given in absolute time format. I need the same file but with time in relative units. So I tried:
cdo -r copy net1.nc net2.nc
and got
data:
time = -Infinity, -Infinity, -Infinity, -Infinity, -Infinity, -Infinity,
do you know why?
Thanks a lot in advance for your help.
Best,
e.
Replies (2)
RE: cdo -r copy does not convert from absolute time to relative time - Added by e ddc about 12 years ago
Sorry I forgot the input file. Here it is.
RE: cdo -r copy does not convert from absolute time to relative time - Added by Jaison-Thomas Ambadan about 12 years ago
Hi,
try
cdo -r -copy -settaxis,1850-12-16,00:00:00,1years net1.nc ofile.nc
Cheers,
J