puzzle: write long time averages over many restarts

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
konsole
Posts: 11
Joined: Wed May 04, 2016 12:51 pm
Location: Institute for Marine and Antarctic Science UTAS

puzzle: write long time averages over many restarts

#1 Unread post by konsole »

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

User avatar
kate
Posts: 4088
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: puzzle: write long time averages over many restarts

#2 Unread post by kate »

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.

Post Reply