problem with shifttime and dayavg
Added by Puri Am about 4 years ago
I am using hourly data ERA5 to calculate daily data. After merging the files, I would like to shift time to my study region as UTC +8, then calculate the daily data by daymean. So, how could I have the corrected timeshift by cdo?
All the best,
Replies (3)
RE: problem with shifttime and dayavg - Added by Ralf Mueller about 4 years ago
cdo -shifttimeis your friend, Puri ;-)
RE: problem with shifttime and dayavg - Added by Puri Am about 4 years ago
hi, yes, definitely that function!! I am using cdo -shifttime,-1hour i.nc o.nc
but how about +8UTC?
I downloaded ERA5 Land hours (the conversion here: https://confluence.ecmwf.int/pages/viewpage.action?pageId=197702790#footnote-marker1-0) and then I would like to calculate daily average.
RE: problem with shifttime and dayavg - Added by Karin Meier-Fleischer about 4 years ago
Hi Puri,
if I understand this correctly from the http://cfconventions.org/Data/cf-conventions/cf-conventions-1.7/cf-conventions.html#time-coordinate page, the time only needs to be shifted by +8hours.
cdo -shifttime,8hours infile outfile
Have a nice weekend