Skip to content

Add MET pointstat configuration for the Met Office#1079

Closed
JorgeBornemann wants to merge 11 commits intomainfrom
653-add-pointstat-met-office-configuration
Closed

Add MET pointstat configuration for the Met Office#1079
JorgeBornemann wants to merge 11 commits intomainfrom
653-add-pointstat-met-office-configuration

Conversation

@JorgeBornemann
Copy link
Collaborator

@JorgeBornemann JorgeBornemann commented Jan 27, 2025

Fixes #653

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.
  • New code has tests, and affected old tests have been updated.
  • All tests and CI checks pass.
  • Ensured the pull request title is descriptive.
  • Conda lock files have been updated if dependencies have changed.
  • Attributed any Generative AI, such as GitHub Copilot, used in this PR.
  • Marked the PR as ready to review.

@JorgeBornemann JorgeBornemann linked an issue Jan 27, 2025 that may be closed by this pull request
@JorgeBornemann JorgeBornemann marked this pull request as draft January 27, 2025 09:10
@github-actions
Copy link
Contributor

Coverage

@JorgeBornemann
Copy link
Collaborator Author

Initial implementation of NG-VER METPlus PointStat configurations for the Met Office.

@jfrost-mo jfrost-mo marked this pull request as ready for review January 27, 2025 09:17
@jfrost-mo jfrost-mo marked this pull request as draft January 27, 2025 09:19
@jfrost-mo
Copy link
Member

Thanks Jorge, its great to see this!

I'll probably have a chance to review towards the end of the week, so let me know if there is anything to pay particular attention to.

@JorgeBornemann
Copy link
Collaborator Author

At the moment is just sanity check of the workflow structure and the apps/wrappers. If you think it is sound, it will need someone from the Met Office who has access to the observations and forecasts files to take it over, finish the coding and test thoroughly. Any change beyond the Met Office specific files, I need to be aware of it, as it will impact other sites.

@JorgeBornemann
Copy link
Collaborator Author

One thing to pay special attention to is whether there is in this branch information that should go in the restricted repo.

@jfrost-mo jfrost-mo changed the title 653 add pointstat met office configuration Add MET pointstat configuration for the Met Office Jul 24, 2025
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.

Per our discussion today, I've only reviewed the non .conf files, as the .conf files were copied from elsewhere.

Similarly, we should check with Rachel whether there is a more up-to-date branch that we should be using instead.

But otherwise this change looks sensible, and aside from a few things noted in the comments below, it should be fine to merge eventually.

{% elif CSET_CYCLING_MODE == "trial" %}
# Analyse from each forecast.
{{CSET_TRIAL_CYCLE_PERIOD}} = """
metplus_grid_stat => housekeeping_full
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
metplus_grid_stat => housekeeping_full
metplus_grid_stat => housekeeping

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Same as above

Copy link
Member

Choose a reason for hiding this comment

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

These tasks should all depend on setup_complete[^], which ensures all the cold_start stuff is complete (environment creation, etc.)

They should probably also depend on fetch_complete which is a per-cycle marker indicating that all the needed data has been retrieved.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Noted. We are still developing the METPlus side of the workflow without connection to the rest of the workflow, using our own canned data to minimise disruptions, but we will soon plug it into the main workflow and we will add the dependencies then.


#no set -xeu as check errors in next task

#no set -xeu as check errors in next task
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
#no set -xeu as check errors in next task

Remove duplicate line.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This was a direct copy from the NG-VER config files. The current implementation does not use the wrapper script, it will instead use parametrized tasks.

#no set -xeu as check errors in next task

#no set -xeu as check errors in next task
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/data/users/cfrd/MET_requirements/MET9/lib/:/usr/lib64/:/net/project/ukmo/scitools/opt_scitools/conda/deployments/default-current/lib
Copy link
Member

Choose a reason for hiding this comment

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

While this is the Met Office specific file, could we abstract these paths out into the configuration? Especially as these paths are out of date.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No longer relevant with the new implementation.

Copy link
Member

Choose a reason for hiding this comment

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

CYLC_SUITE_DEF_PATH is a cylc 7ism. It should be replaced with CYLC_WORKFLOW_RUN_DIR.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yep. Our reference NG-VER workflow is still cylc 7, but we won't be using the wrapper anyway.

@SGallagherMet SGallagherMet added the R2O Trials Items of significance to the Met Office Research to Operations Team. label Feb 16, 2026
@jfrost-mo
Copy link
Member

@JorgeBornemann with #1906 being merged does this PR need updating and merging? Or are we still waiting on updated MET configurations?

@JorgeBornemann
Copy link
Collaborator Author

@JorgeBornemann with #1906 being merged does this PR need updating and merging? Or are we still waiting on updated MET configurations?

@jfrost-mo , I have to check with @RachelNorth. We have a sprint of sorts planned for the 23rd and 24th of February. We may be able to get the PR before then, but it will be done first thing on the 23rd at the latest.

@jfrost-mo
Copy link
Member

jfrost-mo commented Feb 18, 2026 via email

@JorgeBornemann
Copy link
Collaborator Author

We’re planning on cutting a release on the UK afternoon of the 23rd, so if it goes in before then it will be included.

No big deal if it doesn't go in the release, as it will not have the full functionality.

@JorgeBornemann
Copy link
Collaborator Author

JorgeBornemann commented Feb 25, 2026

This functionality has already been implemented in #1918 and #1930. But some of the comments are still relevant. I will address them one by one, move the ones still relevant to a separate issue and close this one.

@JorgeBornemann
Copy link
Collaborator Author

These (an others) are now recorded on #1932, so I will close this pull request now as duplicated. @jfrost-mo do you want to be assigned to #1932 so you get notifications as we progress on it?

@JorgeBornemann
Copy link
Collaborator Author

Branch https://github.com/MetOffice/CSET/tree/653-add-pointstat-met-office-configuration deleted as is no longer relevant.

@JorgeBornemann JorgeBornemann deleted the 653-add-pointstat-met-office-configuration branch February 26, 2026 01:47
@JorgeBornemann JorgeBornemann added the duplicate This issue or pull request already exists label Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

duplicate This issue or pull request already exists R2O Trials Items of significance to the Met Office Research to Operations Team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add PointStat Met Office configuration

3 participants