-
Notifications
You must be signed in to change notification settings - Fork 1
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
Make thresholds configurable #13
Conversation
Signed-off-by: Adam.Dybbroe <a000680@c21856.ad.smhi.se>
Signed-off-by: Adam.Dybbroe <a000680@c21856.ad.smhi.se>
Codecov Report
@@ Coverage Diff @@
## main #13 +/- ##
==========================================
+ Coverage 73.91% 75.49% +1.58%
==========================================
Files 18 20 +2
Lines 1775 1914 +139
Branches 191 188 -3
==========================================
+ Hits 1312 1445 +133
- Misses 439 443 +4
- Partials 24 26 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
Good with the gathering of the thresholds in one variable! some styling suggestions inline.
Fix spelling error / typo Co-authored-by: Martin Raspaud <martin.raspaud@smhi.se>
Co-authored-by: Martin Raspaud <martin.raspaud@smhi.se>
Signed-off-by: Adam.Dybbroe <a000680@c21856.ad.smhi.se>
…tivefires-pp into make_thresholds_configurable # Conflicts: # activefires_pp/spatiotemporal_alarm_filtering.py
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.
LGTM, just some commented lines to remove
Remove unused code Co-authored-by: Martin Raspaud <martin.raspaud@smhi.se>
This PR makes the three space-time thresholds configurable via a yaml config file:
pytest
flake8