Please read the manual on the difference between ncea and ncra. That command returned every fourth timestep, not the average of each four timesteps. Try, e.g., ncra --mro -d time,,,4,4 in.nc out.nc
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have a total column water dataset (kg/m2) at every 6 hours (00Z, 06Z, 12Z, 18Z) for June-September [JJAS] 1979-2004 (for a total of 18544 datasets)
I am trying to convert the 6 hourly data to a daily average which I have done using:
ncea -d time,0,,4 in.nc out.nc
The above command returned when i assume is a daily average (with a total of 4636 data) dataset.
However I am not entirely convinced that this step above would give me an accurate total column water daily average (kg/m2/s1)
I would like to know if the step i've taken is accurate or if there is a better way of doing this.
Thank you for any help you can provide.
Regards,
Karl
Please read the manual on the difference between ncea and ncra. That command returned every fourth timestep, not the average of each four timesteps. Try, e.g.,
ncra --mro -d time,,,4,4 in.nc out.nc
Hi Charlie,
Thanks for the prompt reply, I have tried using the command you have provided but have been receiving a Memoty fault error.