Skip to content
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

Fix critical hours when O1A/O1B present #3947

Merged
merged 4 commits into from
Sep 18, 2024
Merged

Conversation

dgboss
Copy link
Collaborator

@dgboss dgboss commented Sep 17, 2024

The fuel grid raster doesn't differentiate between O1A and O1B fuel types, it combines them as O1A/O1B. This joint fuel type doesn't exist in our FuelTypeEnum. Being unsure of the ramifications with cffdrs, after discussion with the PO we are treating O1A/O1B as O1B for the sake of calculating critical hours.

This PR also adds the ability to re-run critical hours processing by supplying a RunParameters.id.

Test Links:

Landing Page
MoreCast
Percentile Calculator
C-Haines
FireBat
FireBat bookmark
Auto Spatial Advisory (ASA)
HFI Calculator

Copy link

codecov bot commented Sep 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.35%. Comparing base (7b3f345) to head (7e0d90c).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3947   +/-   ##
=======================================
  Coverage   81.35%   81.35%           
=======================================
  Files         298      298           
  Lines       11421    11421           
  Branches      546      546           
=======================================
  Hits         9292     9292           
  Misses       2094     2094           
  Partials       35       35           

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

Copy link
Collaborator

@conbrad conbrad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, I totally didn't realize that the fuel layer didn't treat grass types separately.

Copy link
Collaborator

@brettedw brettedw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice find!

Copy link

sonarcloud bot commented Sep 18, 2024

@dgboss dgboss temporarily deployed to production September 18, 2024 15:42 Inactive
@dgboss dgboss merged commit 24ec554 into main Sep 18, 2024
25 checks passed
@dgboss dgboss deleted the bug/critical-hours-grass branch September 18, 2024 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants