Skip to content

Modify METPlus apps to facilitate using at multiple sites#1906

Open
JorgeBornemann wants to merge 1 commit intomainfrom
971-MET-configs-multiple-sites
Open

Modify METPlus apps to facilitate using at multiple sites#1906
JorgeBornemann wants to merge 1 commit intomainfrom
971-MET-configs-multiple-sites

Conversation

@JorgeBornemann
Copy link
Collaborator

@JorgeBornemann JorgeBornemann commented Feb 11, 2026

Implements #971. This PR restores MET functionality at NIWA after migration to new HPC and changes in the bake tasks schedulling, it also sets the infrastructure to start adding other site-specific METPlus configurations,

Contribution checklist

Aim to have all relevant checks ticked off before merging. See the developer's guide for more detail.

  • Documentation has been updated to reflect change. No, this PR is a stepping stone on larger development. A later ticket will deal with the metadata and documentation.
  • New code has tests, and affected old tests have been updated. N/A, this change affects only workflow and configuration files.
  • All tests and CI checks pass.
  • Ensured the pull request title is descriptive.
  • Conda lock files have been updated if dependencies have changed. N/A
  • Attributed any Generative AI, such as GitHub Copilot, used in this PR. N/A. no generative AI has been used.
  • Marked the PR as ready to review.

@github-actions
Copy link
Contributor

Coverage

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Gone to restricted files repo

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Gone to restricted files repo

@JorgeBornemann JorgeBornemann changed the title fix typo in comment modify METPlus apps to facilitate using at multiple sites. Feb 11, 2026
@JorgeBornemann
Copy link
Collaborator Author

must be merged concurrently with https://github.com/MetOffice/CSET-restricted-files/pull/216

Copy link
Member

@Sylviabohnenstengel Sylviabohnenstengel left a comment

Choose a reason for hiding this comment

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

happy to approve though suggest that @jfrost-mo has a further technical look through

@jfrost-mo jfrost-mo changed the title modify METPlus apps to facilitate using at multiple sites. Modify METPlus apps to facilitate using at multiple sites Feb 12, 2026
Copy link
Member

@jfrost-mo jfrost-mo left a comment

Choose a reason for hiding this comment

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

A few minor suggestions; the main one is to use isodatetime for parsing the forecast duration into hours. Otherwise looks good and happy to merge.

Copy link
Member

Choose a reason for hiding this comment

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

With these files now under a site-specific directory, we don't need the site in the filename.

While we are at it, do we want to update any of these references to NIWA to ESNZ before it goes in? I'll leave it up-to-you.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Agreed. I am still awaiting a bit of clarification on the site. maybe ESNZ will not be suitable, as I think our domain name will be NZIES (New Zealand Institute for Earth Sciences). So we can change names and remove the redundant info in a later ticket?

Comment on lines +119 to +122
METPLUS_ANA_DIR = {{METPLUS_ANA_DIR}}
METPLUS_FCST_DIR = {{METPLUS_FCST_DIR}}
METPLUS_OBS_DIR = {{METPLUS_OBS_DIR}}
ROSE_APP_OPT_CONF_KEYS = {{METPLUS_OPT_CONFIG_KEYS}}
Copy link
Member

Choose a reason for hiding this comment

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

Are these settings defined (even if to "") when METplus is not enabled in the rose-suite.conf? Or are they trigger ignored?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks, good point, they are used by point_stat and grid_stat. I don't know why they were coded only for grid_stat, and that is why I removed the check, but I can see it can break things outside NIWA.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I put them in a includes/metplus_common.cylc file with the relevant logicals.

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.

Catch-up MET tasks configurations after change to bake tasks scheduling and prepare infrastructure for MET tasks in different sites

3 participants