Added by Alexandros Alevizos about 6 years ago
Hi all
I am having a time series of daily mean sst data and I want to create some plots with the time on the x-axis. When I plot the data I get on the time axis integers instead of real dates. The date of 1982-1-1 is represented by the integer 66474. Is it possible to convert these integers with real dates with cdo?
Thank you in advance a lot!
Cheers,
Alex
Hi Alex,
you can use the showtimestamp operator to get the dates for each time step
cdo showtimestamp $infile
Output e.g.
2001-01-01T00:00:00 2001-01-01T06:00:00 2001-01-01T12:00:00 2001-01-01T18:00:00
-Karin