Project

General

Profile

How to change the UTC time in .nc file to time of another time zone

Added by hongyi yan almost 4 years ago

As the description in the title...
Now I got ERA5 and some other .nc reanalyses files, the time in the .nc file was the UTC time.
I need to do some analyses, which needs to change the UTC time to time of another time zone. For example, I'm in Japan, so I need to change every 00:00 to 09:00. If it's 16:00, time should be converted to 01:00, and the day+1.
What I want to ask is, which operator in cdo can help me to do this conversion?
I want to do this at first and calculate the mean value after this conversion