Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent UM restart files being archived to output #415

Merged
merged 1 commit into from Feb 18, 2024

Conversation

MartinDix
Copy link
Contributor

Fix is to remove the restart files from the work directory after the last one is copied.

Previously in archive/pre-industrial/output000/atmosphere there were 12 monthly restart files aiihca.daa*

% ls ai*
aiihca.daa1210  aiihca.daa1c10  aiihca.paa1may  aiihca.pea1jun  aiihca.pga1jan
aiihca.daa1310  aiihca.daa2110  aiihca.paa1nov  aiihca.pea1mar  aiihca.pga1jul
aiihca.daa1410  aiihca.paa1apr  aiihca.paa1oct  aiihca.pea1may  aiihca.pga1jun
aiihca.daa1510  aiihca.paa1aug  aiihca.paa1sep  aiihca.pea1nov  aiihca.pga1mar
aiihca.daa1610  aiihca.paa1dec  aiihca.pea1apr  aiihca.pea1oct  aiihca.pga1may
aiihca.daa1710  aiihca.paa1feb  aiihca.pea1aug  aiihca.pea1sep  aiihca.pga1nov
aiihca.daa1810  aiihca.paa1jan  aiihca.pea1dec  aiihca.pga1apr  aiihca.pga1oct
aiihca.daa1910  aiihca.paa1jul  aiihca.pea1feb  aiihca.pga1aug  aiihca.pga1sep
aiihca.daa1a10  aiihca.paa1jun  aiihca.pea1jan  aiihca.pga1dec
aiihca.daa1b10  aiihca.paa1mar  aiihca.pea1jul  aiihca.pga1feb

Now

aiihca.paa1apr  aiihca.paa1may  aiihca.pea1jan  aiihca.pga1apr  aiihca.pga1may
aiihca.paa1aug  aiihca.paa1nov  aiihca.pea1jul  aiihca.pga1aug  aiihca.pga1nov
aiihca.paa1dec  aiihca.paa1oct  aiihca.pea1jun  aiihca.pga1dec  aiihca.pga1oct
aiihca.paa1feb  aiihca.paa1sep  aiihca.pea1mar  aiihca.pga1feb  aiihca.pga1sep
aiihca.paa1jan  aiihca.pea1apr  aiihca.pea1may  aiihca.pga1jan
aiihca.paa1jul  aiihca.pea1aug  aiihca.pea1nov  aiihca.pga1jul
aiihca.paa1jun  aiihca.pea1dec  aiihca.pea1oct  aiihca.pga1jun
aiihca.paa1mar  aiihca.pea1feb  aiihca.pea1sep  aiihca.pga1mar

@aidanheerdegen
Copy link
Collaborator

What was the intention of creating monthly restart files? Would this affect someone who only wants to run the model for 6 months?

@MartinDix
Copy link
Contributor Author

The UM has a climate mean facility which we use to generate monthly means. This is tied in with the restart dumps in a complicated way which means creating less than monthly restarts is not practical.

payu copies the last restart file of the run to the restart archive. However since the restarts are in the same work directory as the diagnostics we actually want, they will unncessarily get archived to output unless removed.

Copy link
Collaborator

@aidanheerdegen aidanheerdegen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aidanheerdegen aidanheerdegen merged commit b6db50b into payu-org:master Feb 18, 2024
7 checks passed
@MartinDix MartinDix deleted the esm_restarts branch February 19, 2024 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants