Project

General

Profile

CDO resetting date/time -- changing value of time variable during conversion

Added by Karamjeet Khalsa over 12 years ago

I am converting some data files using CDO remap. During the remapping process, CDO prints the warning:

"Warning (splitTimevalue) : Reset wrong date/time to 0002-15-01 00:00:00!"

And the value of the time variable changes from:

21566.0 (In the original file)

to

21501.0 (In the converted file).

I'm not sure why this is happening.

If I call ncdump on the file, the time variable has several attributes:

time:long_name = "days since start of the run" :
time:beg_date = "00590101"

Why is CDO changing the value of the time variable? Any help is appreciated.


Replies (1)

RE: CDO resetting date/time -- changing value of time variable during conversion - Added by Uwe Schulzweida over 12 years ago

It seems that the time variable of your netCDF file is not interpreted correctly. This can have several reasons. I assume that the time attributes do not follow the CF convention. Maybe the time units is missing in the netCDF file.

    (1-1/1)