Skip to content

Conversation

@gavinevans
Copy link
Contributor

Addresses https://github.com/metoppv/mo-blue-team/issues/980

Description
This PR alters the site filtering used by site EMOS, so that it uses the set of common sites across the forecasts, truths and additional predictors when training site EMOS, when an additional predictor is provided.

Testing:

  • Ran tests and they passed OK
  • Added new tests for the new feature(s)

@codecov
Copy link

codecov bot commented Oct 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.45%. Comparing base (84a8944) to head (e716929).
⚠️ Report is 126 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2201      +/-   ##
==========================================
- Coverage   98.39%   95.45%   -2.95%     
==========================================
  Files         124      147      +23     
  Lines       12212    14753    +2541     
==========================================
+ Hits        12016    14082    +2066     
- Misses        196      671     +475     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@brhooper brhooper left a comment

Choose a reason for hiding this comment

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

Thanks @gavinevans. I think that this code should allow us to filter down the sites used to train EMOS as we want to. I've added some minor comments.

…tering

* upstream/master:
  Minor correction to write the output file from the test_gam_at_sites acceptance test to a temporary location, as usual. (metoppv#2204)
  Adds option for a landmask ancillary to be passed into the CLI (metoppv#2202)
  Mobt775 Add SAMOS apply plugins and all CLIs (metoppv#2153)
  Recursive filter mask zeros modifications (metoppv#2199)
  Correct passing through of variables for QRF application (metoppv#2196)
@gavinevans gavinevans mentioned this pull request Oct 10, 2025
2 tasks
Copy link
Contributor

@brhooper brhooper left a comment

Choose a reason for hiding this comment

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

Thanks for making these changes @gavinevans. I've added one tiny comment.

brhooper
brhooper previously approved these changes Oct 13, 2025
Copy link
Contributor

@brhooper brhooper left a comment

Choose a reason for hiding this comment

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

Thanks @gavinevans.

@gavinevans gavinevans assigned gavinevans and unassigned maxwhitemet Oct 14, 2025
Handle situation where no sites overlap, test it, and test where mult…
@gavinevans gavinevans assigned maxwhitemet and unassigned gavinevans Oct 14, 2025
Copy link
Contributor

@maxwhitemet maxwhitemet left a comment

Choose a reason for hiding this comment

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

Happy with the changes made. Approved 👍

@gavinevans gavinevans merged commit da1fac0 into metoppv:master Oct 14, 2025
7 checks passed
@gavinevans gavinevans deleted the mobt_980_site_filtering branch October 14, 2025 13:08
@gavinevans gavinevans assigned gavinevans and unassigned maxwhitemet Oct 14, 2025
gavinevans added a commit to gavinevans/improver that referenced this pull request Oct 14, 2025
* upstream/master:
  Alter site filtering for site EMOS (metoppv#2201)
  Remove Anzer's name due to git merging behaviour. (metoppv#2212)
  Total Precipitable Water Plugin- EPPT 2571  (metoppv#2190)
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