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

Add util for culling MPAS-Ocean and -Seaice restart files #794

Merged
merged 3 commits into from
Mar 24, 2024

Conversation

xylar
Copy link
Collaborator

@xylar xylar commented Mar 14, 2024

This needs a new version of MPAS-Tools (not yet released) with MPAS-Dev/MPAS-Tools#557

Checklist

  • User's Guide has been updated
  • Developer's Guide has been updated
  • API documentation in the Developer's Guide (api.rst) has any new or modified class, method and/or functions listed
  • Documentation has been built locally and changes look as expected
  • Document (in a comment titled Testing in this PR) any testing that was used to verify the changes

@xylar xylar added ocean in progress This PR is not ready for review or merging utility Utility script(s) outside of the compass package sea ice labels Mar 14, 2024
@xylar xylar requested a review from cbegeman March 14, 2024 13:58
@xylar xylar self-assigned this Mar 14, 2024
@xylar
Copy link
Collaborator Author

xylar commented Mar 14, 2024

Testing

I ran this in:

/lcrc/group/e3sm/ac.xylar/compass_1.2/chrysalis/e3smv3-meshes/icosxisc30e3r7/ocean/utility/cull_restarts/cull

using the following restart files:

/lcrc/group/e3sm2/ac.wlin/E3SMv3/20231209.v3.LR.piControl-spinup.chrysalis/archive/rest/2001-01-01-00000/20231209.v3.LR.piControl-spinup.chrysalis.mpaso.rst.2001-01-01_00000.nc
/lcrc/group/e3sm2/ac.wlin/E3SMv3/20231209.v3.LR.piControl-spinup.chrysalis/archive/rest/2001-01-01-00000/20231209.v3.LR.piControl-spinup.chrysalis.mpassi.rst.2001-01-01_00000.nc

@xylar xylar force-pushed the cull-restarts-in-files-for-e3sm branch from 9647f27 to 08589d6 Compare March 15, 2024 11:08
@xylar xylar removed the in progress This PR is not ready for review or merging label Mar 15, 2024
@xylar xylar marked this pull request as ready for review March 15, 2024 12:45
Copy link
Collaborator

@cbegeman cbegeman left a comment

Choose a reason for hiding this comment

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

I didn't run this myself, but the code changes and the restart files you linked to look good by visual inspection. I am comfortable with you merging this when you like and we can push fixes if any issues are revealed in the upcoming IcosX runs. Thanks for your work on this!

@xylar
Copy link
Collaborator Author

xylar commented Mar 24, 2024

@cbegeman, I agree. Let's get this merged and we can tweak if necessary.

@xylar xylar force-pushed the cull-restarts-in-files-for-e3sm branch from d2eb7f0 to 3b8952d Compare March 24, 2024 10:31
@xylar xylar merged commit 93138eb into MPAS-Dev:main Mar 24, 2024
4 checks passed
@xylar xylar deleted the cull-restarts-in-files-for-e3sm branch March 24, 2024 13:45
@xylar
Copy link
Collaborator Author

xylar commented Mar 24, 2024

@cbegeman thanks so much for the review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ocean sea ice utility Utility script(s) outside of the compass package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants