Skip to content

Cddso 414 cp4a mappings tweaks#245

Merged
matthew-mizielinski merged 13 commits intov2.5_releasefrom
CDDSO-414_CP4a-mappings-tweaks
Apr 12, 2024
Merged

Cddso 414 cp4a mappings tweaks#245
matthew-mizielinski merged 13 commits intov2.5_releasefrom
CDDSO-414_CP4a-mappings-tweaks

Conversation

@matthew-mizielinski
Copy link
Collaborator

@matthew-mizielinski matthew-mizielinski commented Feb 29, 2024

Tweaks to memory and sizing information for the HadREM-CP4a model

Clarification of the priority order of the mappings files:

  • common_mappings.cfg (lowest)
  • <mip_table>_mappings.cfg
  • <model_family>_mappings.cfg
  • <model_family>_<mip_table>_mappings.cfg
  • <model>_mappings.cfg
  • <model>_<mip_table>_mappings.cfg (highest)

I've updated the tests to include the full order, but to filter out non-existent files from this list.

@matthew-mizielinski matthew-mizielinski marked this pull request as ready for review April 11, 2024 14:36
Copy link
Collaborator

@mo-kerstinschmatzer mo-kerstinschmatzer left a comment

Choose a reason for hiding this comment

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

Code lgtm, but unit tests are failing

@matthew-mizielinski
Copy link
Collaborator Author

Doh! focussed on fixing one set of tests and failed to run the full test suite 🤦

Tests now fixed and all pass. Note that I've made a minor tweak to the GC3hrPt mappings file introduced in this issue as a minor tidy up (moving common entry to default section)

Copy link
Collaborator

@mo-kerstinschmatzer mo-kerstinschmatzer left a comment

Choose a reason for hiding this comment

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

lgtm

@matthew-mizielinski matthew-mizielinski merged commit 3e0d7ea into v2.5_release Apr 12, 2024
@matthew-mizielinski matthew-mizielinski deleted the CDDSO-414_CP4a-mappings-tweaks branch April 12, 2024 08:27
matthew-mizielinski added a commit that referenced this pull request Apr 12, 2024
Cherry pick from v2.5_release, with minor changes following refactoring
in CDDSO-387

CDDSO-414: Changes to support use of HadREM3-CP4a model:
* Increased memory limits
* reduced chunk sizes for all sub-daily frequencies
* Added mappings
* Extended sequence used for the hierarchy of mappings files and updated associated testsl
---------

Co-authored-by: JoshMacholl <joshua.macholl@metoffice.gov.uk>
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.

3 participants