Instead of raising an exception when restart file can't be found, a warning is printed and the restart is ignored from date-based restart pruning.
Also, moved code for restart file parsing for ocean_solo.res to a mixin mom class. This mixin class is then pulled into the mom and mom6 model drivers.
coverage: 45.707% (+0.2%) from 45.539% when pulling ea9cbef8731c81358b67c5f72503c3f8fe3f8997 on jo-basevi:375-date-based-restart-MOM-mixin into a336968a44fc4eddd847a5c7750a40bd00e0d9b0 on payu-org:master.
Fix issue described in #375, Closes #375
Instead of raising an exception when restart file can't be found, a warning is printed and the restart is ignored from date-based restart pruning.
Also, moved code for restart file parsing for
ocean_solo.res
to a mixin mom class. This mixin class is then pulled into themom
andmom6
model drivers.