-
Notifications
You must be signed in to change notification settings - Fork 89
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
Alter spot extract cli #1666
Alter spot extract cli #1666
Conversation
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 a simple change and looks fine. There needs to be an associated suite change as well that should be merged at the same time.
Codecov Report
@@ Coverage Diff @@
## master #1666 +/- ##
=======================================
Coverage 98.18% 98.18%
=======================================
Files 110 110
Lines 10110 10110
=======================================
Hits 9927 9927
Misses 183 183 Continue to review full report at Codecov.
|
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.
Changes here are all OK from BOM perspective. We'll have to update some internal usage of spot-extract, but changes are expected to be straightforward and quick to make.
elif apply_lapse_rate_correction and not lapse_rate: | ||
if not suppress_warnings: | ||
if apply_lapse_rate_correction: | ||
if len(cubes) == 3: |
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.
Was a constrained load based on metadata not possible in identifying lapse_rate
etc. rather than relying on cube ordering?
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.
Possibly, but it wouldn't fit the pattern for other CLIs. It is something we should look at in the future though
* master: MOBT127 tiny tweak to filter_realizations (metoppv#1682) Mobt 160 ecc masked data (metoppv#1662) Convert test_ManipulateReliabilityTable to pytest (metoppv#1678) Alter spot extract cli (metoppv#1666) Enable site cube input to ConstructReliabilityCalibrationTables (metoppv#1667) Corrects example of a CLI in the Read the Doc documentation (metoppv#1673) MOBT-211: mosg__model_run attribute handling in weather symbols (metoppv#1670) # Conflicts: # improver_tests/wxcode/wxcode/test_WeatherSymbols.py
* master: Remove flawed interpretation of the blend_time coordinate. (#1690) DOC: Removal of unnecessary exclusions in sphinx apidoc build (#1689) MOBT127 tiny tweak to filter_realizations (#1682) Mobt 160 ecc masked data (#1662) Convert test_ManipulateReliabilityTable to pytest (#1678) Alter spot extract cli (#1666) Enable site cube input to ConstructReliabilityCalibrationTables (#1667) Corrects example of a CLI in the Read the Doc documentation (#1673) MOBT-211: mosg__model_run attribute handling in weather symbols (#1670)
* Altered interface of spot extract * updated dosctring
Altering the spot extract CLI to be more consistent with the rest of improver, closes #1659.