payu-org / payu

A workflow management tool for numerical models on the NCI computing systems
Apache License 2.0
21 stars 27 forks source link

Support for date-based restart pruning in OM3 #506

Open anton-seaice opened 2 months ago

anton-seaice commented 2 months ago

We should add support for date based restart pruning when running ACCESS-OM3

@jo-basevi says this:

_To setup date-based pruning for OM3, just need a method to parse out a date from the restart files - other model drivers use the oceansolo.res files from the mom model.

Chances are we can do the same thing (and maybe a shared function with the MOM6 driver makes sense).

There's a bit of refactoring and test addition going on in #496, which may provide some relevant changes to also implementing this.