Forums » Support »
Averaging by Monthly While Making the Time Axis Exactly on the First Day of the Month
Added by Asyam Mulayyan Dary about 2 months ago
I have this hourly netCDF files that I want to process it into monthly average using:
cdo -O -L monmean -shifttime,-1sec -daymean $input $output
My only problem is, the output will be on the middle of the month. Using setday and settime would do it, but I want to preserve time bounds (time_bnds). How do I solve this problem? Thank you.
If you convert from daily to monthly data the time bounds are changing too.