Replies: 1 comment 3 replies
-
Do you have an reproducible example that possible to copy paste? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have netcdf files in multi-dimension:
forecast_initial_time
forecast_hour
latitude
longitude
Variable
forecast_initial_time are 0600 UTC and 1800 UTC forecast_hour are from 1 to 12.
So, if forecast_initial_time = 0600 and forecast_hour = 2, it represent 0800 UTC.
I would like to convert (forecast_initial_time and forecast_hour) into time (0000 UTC to 2300 UTC). (which is normally follow in standard netcdf formate time, lat. lon)
Calculate daily average (which I am doing in xarray but need a deltatime function).
Calculate 12-hours average.
Thanks for any help.
File are https://drive.google.com/drive/folders/1v2oQ3aFOiqlBu7U78om1jQKeIAFXEGXq
Beta Was this translation helpful? Give feedback.
All reactions