Skip to content
Advertisement

Average a Month’s worth of NetCDF data to one 24hr-day to give the mean diurnal cycle

I hope you’re well —

I have multiple files all having one month of hourly data.

Wind = Jun1.variables['wind'][:,:,:]
Wind = Jun2.variables['winds'][:,:,:]
etc

Below shows the dimensions

I want to average each individual files in a way to calculate the hourly average to get the diurnal cycle for each month with array shape (time, lon, lat) of 24 steps.

Advertisement

Answer

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement