8000 Make is_iterable changes applicable to percentiles option by mo-philrelton · Pull Request #2090 · metoppv/improver · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Make is_iterable changes applicable to percentiles option #2090

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 30, 2025

Conversation

mo-philrelton
Copy link
Contributor

This adaption to the is_iterable branch allows the percentiles attribute of MetaNeighbourhood to be set by a single value in a similar way to this adaption.

bayliffe and others added 2 commits January 29, 2025 12:47
* Enable retention of scalar coordinates that are produced during percentile generation from coordinate collapse. This change also ensures that any scalar time coordinates that are created in this way adhere to the improver metadata standards.

* style fixes.
@mo-philrelton mo-philrelton added the EPP PR's related to Enhancing Post Processing team label Jan 29, 2025
@mo-philrelton mo-philrelton requested a review from cpelley January 29, 2025 14:31
@mo-philrelton mo-philrelton self-assigned this Jan 29, 2025
Copy link
codecov bot commented Jan 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (is_iterable@f3f5970). Learn more about missing BASE report.

Additional details and impacted files
@@              Coverage Diff               @@
##             is_iterable    #2090   +/-   ##
==============================================
  Coverage               ?   98.39%           
==============================================
  Files                  ?      134           
  Lines                  ?    13265           
  Branches               ?        0           
==============================================
  Hits                   ?    13052           
  Misses                 ?      213           
  Partials               ?        0           

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

@cpelley cpelley merged commit 91ba4f3 into metoppv:is_iterable Jan 30, 2025
10 checks passed
cpelley pushed a commit that referenced this pull request Jan 30, 2025
* MOBT-797: Coordinate retention in percentile generation (#2087)

* Enable retention of scalar coordinates that are produced during percentile generation from coordinate collapse. This change also ensures that any scalar time coordinates that are created in this way adhere to the improver metadata standards.

* style fixes.

* Setting percentiles with as_iterable

---------

Co-authored-by: bayliffe <benjamin.ayliffe@metoffice.gov.uk>
MoseleyS added a commit that referenced this pull request Feb 3, 2025
…ad_time using it (#2088)

* radius_by_lead_time improved input handling

* Make is_iterable changes applicable to percentiles option (#2090)

* MOBT-797: Coordinate retention in percentile generation (#2087)

* Enable retention of scalar coordinates that are produced during percentile generation from coordinate collapse. This change also ensures that any scalar time coordinates that are created in this way adhere to the improver metadata standards.

* style fixes.

* Setting percentiles with as_iterable

---------

Co-authored-by: bayliffe <benjamin.ayliffe@metoffice.gov.uk>

* TEDST: is_iterable

* Update improver/nbhood/__init__.py

Co-authored-by: Stephen Moseley <stephen.moseley@metoffice.gov.uk>

* Update __init__.py

* Update nbhood.py

---------

Co-authored-by: Phil <phil.relton@metoffice.gov.uk>
Co-authored-by: bayliffe <benjamin.ayliffe@metoffice.gov.uk>
Co-authored-by: Stephen Moseley <stephen.moseley@metoffice.gov.uk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EPP PR's related to Enhancing Post Processing team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0