He all,
I have a puzzle that I couldn't quite solve yet.
We're restarting the a computationally expensive run every 5 days, but want to write out monthly averages (our 1 month = 365/12 days). Apparently when ROMS writes out averages after roughly 5 restarts it just considers timesteps from the current run (here run 5.) and sets all values from previous runs (here run 1. - 4.) to zero.
The result is an average between actual values for the last few days of the month and a lot of zeros filling most of the months timesteps.
I thought about a smart way of writing out avg_files every 5 days and then average over these files with nco tools, but but since avg-write-out (30.41666 days) is not a multiple of my restart cycle, I couldn't find an exact solution.
Any ideas how to approach this?
Many thanks,
ole
puzzle: write long time averages over many restarts
Re: puzzle: write long time averages over many restarts
It’s true that ROMS won’t do what you want unless you restart at some fraction of your month and average the files. I save daily and make monthly averages from them with 28 to 31 days.