Open Whyborn opened 1 week ago
Hello @Whyborn! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:
I wanted to add Claire to the reviewers, but she doesn't appear in the list of reviewers.
I've made a team for ACCESS-NRI and this is rectified
Improvements to
staged_cable
driverI made some improvements to the
staged_cable
driver to hopefully make it more easily understandable, and more easily shareable. Summary of changes:climate_rst.nc
andcable_rst.nc
, which live in{archive}/restart000
. We run stage 2, which created restartscasa_rst.nc
andcable_nc.nc
. We look back at{archive}/restart000
, see that there's no new version ofclimate_rst.nc
, so copy that to the work restart directory. The contents of the work restart directory are then moved to{archive}/restart001
. This makes restarts much more easily shareable.expt.n_runs
instead of the environment variable, which is persistent. Now the configuration log work is only done where necessary insetup()
and archive```, rather than every initialisation.Coming with this is the removal of a fair bit of now-dead code.
Edit: One thing I forgot to mention is the handling of potentially new namelists. I would like it to be possible for people adding new science (or perhaps
cable
configurations I don't know about yet) to be able to use the tool. Unfortunately, I can't know a priori which namelists will be required in these instances. To get around this, I could simply setrather than the predefined list of namelists, but it feels like a bit of an abuse of process. Thoughts?