-
Notifications
You must be signed in to change notification settings - Fork 298
Adding monthly and yearly arguments to guess_bounds
#6090
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
Conversation
guess_bounds
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6090 +/- ##
==========================================
+ Coverage 89.75% 89.77% +0.01%
==========================================
Files 88 88
Lines 22976 23011 +35
Branches 5022 5032 +10
==========================================
+ Hits 20621 20657 +36
+ Misses 1624 1623 -1
Partials 731 731 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Monthly looks good.
I checked the coverage + it is complete ✔️
Do you want to try for yearly too ?!?
pp-mo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is cool, one slight improvement suggested.
But .. I think we need to error if both monthly + yearly are True.
And maybe a mention of that in the docstring too.
pp-mo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, I think this nails it all.
Good to have fixed on pytest now, I think -- a mixture of pytest + unittest is not so good !
* main: Adding monthly and yearly arguments to `guess_bounds` (SciTools#6090)
* upstream/main: Load performance improvement (ignoring UGRID) (SciTools#6088) Adding monthly and yearly arguments to `guess_bounds` (SciTools#6090) Mesh nonexperimental extra (SciTools#6077) Mesh nonexperimental (SciTools#6061) Bump scitools/workflows from 2024.07.4 to 2024.07.5 (SciTools#6076) Updated environment lockfiles (SciTools#6068) Enable UGRID loading always; deprecate PARSE_UGRID_ON_LOAD. (SciTools#6054) Bump scitools/workflows from 2024.07.3 to 2024.07.4 (SciTools#6071)
🚀 Pull Request
Description
Closes #4864
This adds the
monthlyandyearlyoptions toguess_bounds.Add any of the below labels to trigger actions on this PR: