-
Notifications
You must be signed in to change notification settings - Fork 100
EPPT-2590: Fire Severity Index: Add a FireSeverityIndex class to IMPROVER #2255
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
base: EPPT_2411_fire_severity_index_workflow_development
Are you sure you want to change the base?
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## EPPT_2411_fire_severity_index_workflow_development #2255 +/- ##
=====================================================================================
Coverage ? 95.25%
=====================================================================================
Files ? 152
Lines ? 15360
Branches ? 0
=====================================================================================
Hits ? 14631
Misses ? 729
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
14a9476 to
64b16f1
Compare
RDP-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.
Looks good as per our teams chat I'll do some checks on the method this afternoon
ryan-cocking-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.
Tests pass, only one comment relating to a docstring. Approved.
| From Van Wagner and Pickett (1985), Page 8: Equation 31. | ||
|
|
||
| Returns: | ||
| np.ndarray: The calculated DSR values. |
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.
| np.ndarray: The calculated DSR values. | |
| The calculated DSR values. |
Return type in docstring not required. Sphinx/Read the Docs infers from return type hint.
EPPT-2590
In order to calculate the daily Fire Severity Index, we require a Fire Severity Index calculation. In the original algorithm this is referred to as Daily Severity Rating (DSR), but we call this class
FireSeverityIndexto align with the requested output name.This class, and associated tests, partially reproduce the Canadian Forest Fire Weather Index from van Wagner and Pickett's 1985 FORTRAN implementation
Testing: