Skip to content

Rename meshes#386

Draft
cjohnson-pi wants to merge 29 commits into
MetOffice:mainfrom
cjohnson-pi:rename_meshes_core
Draft

Rename meshes#386
cjohnson-pi wants to merge 29 commits into
MetOffice:mainfrom
cjohnson-pi:rename_meshes_core

Conversation

@cjohnson-pi

@cjohnson-pi cjohnson-pi commented Jun 8, 2026

Copy link
Copy Markdown

PR Summary

Sci/Tech Reviewer:
Code Reviewer:

Rename the meshes using an upgrade macro so that global meshes are: cubedsphere_l0, cubedsphere_l1, cubedsphere_l2 and regional meshes are planar_l0, planar_l1, planar_l2. (i.e. the same name as the mesh generator and partitioner) - and with the different levels (removing any reference to primary or dynamics meshes - they are all just meshes of different levels).

This will enable lfric2lfric to regrid from global to regional in the rose-stem test-suite. Currently both the global and regional meshes are named the same thing (dynamics), which causes problems for lfric2lfric - which requires the meshes to have different names.

In addition, as the coarse-level meshes are also not only used for multigrid, it is better to rename them to a more general purpose name.

MetOffice/lfric_apps#551

blocks MetOffice/lfric_apps#530

Code Quality Checklist

  • I have performed a self-review of my own code
  • My code follows the project's style guidelines
  • Comments have been included that aid understanding and enhance the readability of the code
  • My changes generate no new warnings
  • All automated checks in the CI pipeline have completed successfully

Testing

  • I have tested this change locally, using the LFRic Core rose-stem suite
  • If required (e.g. API changes) I have also run the LFRic Apps test suite using this branch
  • If any tests fail (rose-stem or CI) the reason is understood and acceptable (e.g. kgo changes)
  • I have added tests to cover new functionality as appropriate (e.g. system tests, unit tests, etc.)
  • Any new tests have been assigned an appropriate amount of compute resource and have been allocated to an appropriate testing group (i.e. the developer tests are for jobs which use a small amount of compute resource and complete in a matter of minutes)

trac.log

Test Suite Results - lfric_core - rename_meshes_core/run6

Suite Information

Item Value
Suite Name rename_meshes_core/run6
Suite User christine.johnson
Workflow Start 2026-06-15T14:27:47
Groups Run suite_default
Dependency Reference Main Like
lfric_core cjohnson-pi/lfric_core@rename_meshes_core False
SimSys_Scripts MetOffice/SimSys_Scripts@2025.12.1 True

Task Information

❌ failed tasks - 87
Task State
check_mesh_tools_cubedsphere-c1_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_cubedsphere-c1_azspice_gnu_full-debug-64bit failed
check_mesh_tools_cubedsphere-c1_ex1a_gnu_fast-debug-64bit failed
check_mesh_tools_cubedsphere-c2_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_cubedsphere-c2_azspice_gnu_full-debug-64bit failed
check_mesh_tools_cubedsphere-c2_ex1a_cce_full-debug-64bit failed
check_mesh_tools_cubedsphere-c3_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_cubedsphere-c3_azspice_gnu_full-debug-64bit failed
check_mesh_tools_cubedsphere-c3_ex1a_gnu_fast-debug-64bit failed
check_mesh_tools_cubedsphere-maps_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_cubedsphere-maps_azspice_gnu_full-debug-64bit failed
check_mesh_tools_cubedsphere-maps_ex1a_gnu_fast-debug-64bit failed
check_mesh_tools_cubedsphere-op-2panels_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_cubedsphere-op-2panels_azspice_gnu_full-debug-64bit failed
check_mesh_tools_cubedsphere-op-2panels_ex1a_gnu_fast-debug-64bit failed
check_mesh_tools_cubedsphere-op-3panels_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_cubedsphere-op-3panels_azspice_gnu_full-debug-64bit failed
check_mesh_tools_cubedsphere-op-3panels_ex1a_gnu_fast-debug-64bit failed
check_mesh_tools_cubedsphere-op-nonuniform_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_cubedsphere-op-nonuniform_azspice_gnu_full-debug-64bit failed
check_mesh_tools_cubedsphere-op-nonuniform_ex1a_gnu_fast-debug-64bit failed
check_mesh_tools_cubedsphere-op_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_cubedsphere-op_azspice_gnu_full-debug-64bit failed
check_mesh_tools_cubedsphere-op_ex1a_gnu_fast-debug-64bit failed
check_mesh_tools_cubedsphere-rotated_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_cubedsphere-rotated_azspice_gnu_full-debug-64bit failed
check_mesh_tools_cubedsphere-rotated_ex1a_gnu_fast-debug-64bit failed
check_mesh_tools_cubedsphere_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_cubedsphere_azspice_gnu_full-debug-64bit failed
check_mesh_tools_cubedsphere_ex1a_cce_fast-debug-64bit failed
check_mesh_tools_equator-band_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_equator-band_azspice_gnu_full-debug-64bit failed
check_mesh_tools_equator-band_ex1a_cce_fast-debug-64bit failed
check_mesh_tools_equator_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_equator_azspice_gnu_full-debug-64bit failed
check_mesh_tools_equator_ex1a_cce_full-debug-64bit failed
check_mesh_tools_falklands_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_falklands_azspice_gnu_full-debug-64bit failed
check_mesh_tools_falklands_ex1a_cce_fast-debug-64bit failed
check_mesh_tools_lam_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_lam_azspice_gnu_full-debug-64bit failed
check_mesh_tools_lam_ex1a_cce_fast-debug-64bit failed
check_mesh_tools_london-model_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_london-model_azspice_gnu_full-debug-64bit failed
check_mesh_tools_london-model_ex1a_cce_fast-debug-64bit failed
check_mesh_tools_nzlam4_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_nzlam4_azspice_gnu_full-debug-64bit failed
check_mesh_tools_nzlam4_ex1a_cce_fast-debug-64bit failed
check_mesh_tools_planar-bi-periodic_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_planar-bi-periodic_azspice_gnu_full-debug-64bit failed
check_mesh_tools_planar-bi-periodic_ex1a_cce_fast-debug-64bit failed
check_mesh_tools_planar-lbc_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_planar-lbc_azspice_gnu_full-debug-64bit failed
check_mesh_tools_planar-lbc_ex1a_cce_fast-debug-64bit failed
check_mesh_tools_planar-maps_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_planar-maps_azspice_gnu_full-debug-64bit failed
check_mesh_tools_planar-maps_ex1a_cce_fast-debug-64bit failed
check_mesh_tools_planar-non-periodic_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_planar-non-periodic_azspice_gnu_full-debug-64bit failed
check_mesh_tools_planar-non-periodic_ex1a_cce_fast-debug-64bit failed
check_mesh_tools_planar-op-lam_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_planar-op-lam_azspice_gnu_full-debug-64bit failed
check_mesh_tools_planar-op-lam_ex1a_cce_full-debug-64bit failed
check_mesh_tools_planar-stretch-centres_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_planar-stretch-centres_azspice_gnu_full-debug-64bit failed
check_mesh_tools_planar-stretch-centres_ex1a_cce_fast-debug-64bit failed
check_mesh_tools_planar-stretch-nodes_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_planar-stretch-nodes_azspice_gnu_full-debug-64bit failed
check_mesh_tools_planar-stretch-nodes_ex1a_cce_fast-debug-64bit failed
check_mesh_tools_planar-stretch-points_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_planar-stretch-points_azspice_gnu_full-debug-64bit failed
check_mesh_tools_planar-stretch-points_ex1a_gnu_fast-debug-64bit failed
check_mesh_tools_planar-trench-x_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_planar-trench-x_azspice_gnu_full-debug-64bit failed
check_mesh_tools_planar-trench-x_ex1a_cce_fast-debug-64bit failed
check_mesh_tools_planar-trench-y_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_planar-trench-y_azspice_gnu_full-debug-64bit failed
check_mesh_tools_planar-trench-y_ex1a_cce_fast-debug-64bit failed
check_mesh_tools_polar_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_polar_azspice_gnu_full-debug-64bit failed
check_mesh_tools_polar_ex1a_cce_fast-debug-64bit failed
check_mesh_tools_uk_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_uk_azspice_gnu_full-debug-64bit failed
check_mesh_tools_uk_ex1a_cce_fast-debug-64bit failed
check_mesh_tools_var-seuk_azspice_gnu_fast-debug-64bit failed
check_mesh_tools_var-seuk_azspice_gnu_full-debug-64bit failed
check_mesh_tools_var-seuk_ex1a_gnu_fast-debug-64bit failed
✅ succeeded tasks - 295
⌛ waiting tasks - 2
Task State
housekeep_azspice waiting
housekeep_ex1a waiting

Security Considerations

  • I have reviewed my changes for potential security issues
  • Sensitive data is properly handled (if applicable)
  • Authentication and authorisation are properly implemented (if applicable)

Performance Impact

  • Performance of the code has been considered and, if applicable, suitable performance measurements have been conducted

AI Assistance and Attribution

  • Some of the content of this change has been produced with the assistance of Generative AI tool name (e.g., Met Office Github Copilot Enterprise, Github Copilot Personal, ChatGPT GPT-4, etc) and I have followed the Simulation Systems AI policy (including attribution labels)

Documentation

  • Where appropriate I have updated documentation related to this change and confirmed that it builds correctly

PSyclone Approval

  • If you have edited any PSyclone-related code (e.g. PSyKAl-lite, Kernel interface, optimisation scripts, LFRic data structure code) then please contact the TCD Team

Sci/Tech Review

  • I understand this area of code and the changes being added
  • The proposed changes correspond to the pull request description
  • Documentation is sufficient (do documentation papers need updating)
  • Sufficient testing has been completed

(Please alert the code reviewer via a tag when you have approved the SR)

Code Review

  • All dependencies have been resolved
  • Related Issues have been properly linked and addressed
  • CLA compliance has been confirmed
  • Code quality standards have been met
  • Tests are adequate and have passed
  • Documentation is complete and accurate
  • Security considerations have been addressed
  • Performance impact is acceptable

@cjohnson-pi cjohnson-pi added this to the Autumn 2026 milestone Jun 8, 2026
@cjohnson-pi cjohnson-pi self-assigned this Jun 8, 2026
@github-actions github-actions Bot added the cla-required The CLA has not yet been signed by the author of this PR - added by GA label Jun 8, 2026
@cjohnson-pi cjohnson-pi added the Linked Apps This PR is linked to a MetOffice/lfric_apps PR label Jun 11, 2026
@github-actions

Copy link
Copy Markdown

Hello cjohnson-pi! 👋

Thank you for your contribution. Since this is your first time contributing to this repository, we ask that you sign our Contributor Licence Agreement (CLA).

📄 You can read the CLA here.

To agree to the CLA, please add your details (GitHub username, Real Name, Affiliation, and Date) to the CONTRIBUTORS.md file (create one, if required) in the development branch for this PR. After signing the CLA, you won't need to do this again for future PRs.

@cjohnson-pi cjohnson-pi added the KGO This PR contains changes to KGO label Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-required The CLA has not yet been signed by the author of this PR - added by GA KGO This PR contains changes to KGO Linked Apps This PR is linked to a MetOffice/lfric_apps PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants