LFRic2LFRic - realistic cases, and tidying rose stem#530
Draft
cjohnson-pi wants to merge 8 commits into
Draft
Conversation
29 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Summary
Sci/Tech Reviewer:
Code Reviewer:
Part 1:
Add realistic, large cases e.g. C896 to UKV
Part 2:
Enable the rose tasks to use multiple mesh files. This makes it a little easier to add new tasks, and avoids assumed dependencies on other tasks e.g. at the moment some lfric2lfric tasks are using meshes created by other tasks. This might cause failures if those meshes are not created in time or if the associated tasks are removed.
Single mesh (including multigrid) tasks (as current implementation):
Multiple-mesh (double or more) tasks (new):
To enable this, the following files are changed.
rose-stem/templates/graph/populate_gen_weights_graph.cylc
• Lfric2lfric weight generation needs to use 2 meshes rather than 1.
• This is setup as:
build_mesh => run_mesh1 => run_mesh2 => generate_weightsrose-stem/templates/graph/populate_graph_sections.cylc
• Lfric2lfric regridding needs to use 2 meshes rather than 1.
• This is set up as:
(This assumes that building the application takes longer than building and creating the meshes, as also assumed currently).
rose-stem/templates/runtime/generate_runtime_application.cylc
• Remove adding the mesh .conf file to the lfric2lfric task options (its only needed to generate the meshes)
Part 3:
Reorganise the rose-stem groups.
Plus new tasks oasis_C224_to_Melbourne, oasis_C896_to_Melbourne and oasis_C896_to_ukv added to the weekly group.
The tasks and configs have been reorganised with the aim that the user supplies
Have to be careful that the mesh names of the 2 meshes can not be the same - but most meshes are named dynamics, so some are renamed.
Likely some further organisation will be required. But this is a start!
is blocked-by MetOffice/lfric_core#386
Code Quality Checklist
Testing
trac.log
Security Considerations
Performance Impact
AI Assistance and Attribution
Documentation
PSyclone Approval
Sci/Tech Review
(Please alert the code reviewer via a tag when you have approved the SR)
Code Review