MOM6 automated post processing

Is there an elegant way to automatically run a post processing script (say via payu) on running mom6? Quick look at documentation didn’t suggest so but thought I’d ask. Could fork payu and add modify but don’t want to reinvent the wheel!

My specific case: I want 3D hourly outputs totalling 5Tb per year. After post processing this is reduced to more like 200-500gb for my study region

I’ve gotten mom6’s regional diagnostics working before but it is fairly cursed so I would rather output the whole domain every 15 days, process, save, delete and move on

Yes. There are a number of “hooks” where you can run scripts at various points. See the “postprocessing” section:

https://payu.readthedocs.io/en/latest/config.html#postprocessing

If you want to do this after collation then you’ll need to use postscript, which will only accept a script as an argument which will be submitted to the queue.

The COSIMA configs all use postscript to sync data to /g/data (when it is enabled)

Thanks so much Aidan! Sorry that I didn’t see this - in my googling I landed on this page

https://payu.readthedocs.io/en/latest/usage.html#postprocessing

and assumed this was the extent of the postprocessing documentation. This is far more comprehensive

1 Like