wps
wps copied to clipboard
Critical Hours
- Critical hours are calculated for each station within a fire zone unit. A representative start and end time is then selected for the fire zone unit.
- Critical hours are saved in a new critical_hours table.
- This is a temporary implementation that will be replaced once we are able to perform critical hours calculations spatially. As this is temporary there are no tests.
- A lot of functionality is borrowed/copied from FireBat.
- Back-end work only. API endpoint and front-end integration coming soon!
Test Links:
Landing Page MoreCast Percentile Calculator C-Haines FireBat FireBat bookmark Auto Spatial Advisory (ASA) HFI Calculator
Codecov Report
Attention: Patch coverage is 70.37037% with 8 lines in your changes missing coverage. Please review.
Project coverage is 79.67%. Comparing base (
30f0c07) to head (cfd4872). Report is 1 commits behind head on main.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| api/app/utils/geospatial.py | 38.46% | 8 Missing :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## main #3849 +/- ##
==========================================
- Coverage 79.70% 79.67% -0.03%
==========================================
Files 293 293
Lines 10863 10888 +25
Branches 517 517
==========================================
+ Hits 8658 8675 +17
- Misses 2063 2071 +8
Partials 142 142
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code