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

MoreCast 2.0 - Simulated Indices #3200

Merged
merged 48 commits into from
Nov 9, 2023
Merged

MoreCast 2.0 - Simulated Indices #3200

merged 48 commits into from
Nov 9, 2023

Conversation

brettedw
Copy link
Collaborator

@brettedw brettedw commented Oct 30, 2023

  • Adds endpoint for calculating FWI indices
  • Calculates FWI indices in real time while forecasting
  • Calculates all FWI indices on load, for actuals and forecasts

Test Links:

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

Dependencies

Linked Issues

Copy link

codecov bot commented Oct 31, 2023

Codecov Report

Merging #3200 (5afe044) into main (81d37b2) will decrease coverage by 0.18%.
The diff coverage is 75.11%.

@@            Coverage Diff             @@
##             main    #3200      +/-   ##
==========================================
- Coverage   82.05%   81.88%   -0.18%     
==========================================
  Files         274      275       +1     
  Lines        9301     9489     +188     
  Branches      413      445      +32     
==========================================
+ Hits         7632     7770     +138     
- Misses       1557     1604      +47     
- Partials      112      115       +3     
Files Coverage Δ
api/app/morecast_v2/forecasts.py 93.68% <100.00%> (+3.85%) ⬆️
api/app/routers/morecast_v2.py 90.26% <100.00%> (+1.15%) ⬆️
api/app/schemas/morecast_v2.py 100.00% <100.00%> (ø)
api/app/wildfire_one/schema_parsers.py 94.96% <100.00%> (+0.06%) ⬆️
.../features/moreCast2/components/MoreCast2Column.tsx 93.47% <100.00%> (ø)
web/src/features/moreCast2/saveForecasts.ts 64.70% <ø> (-3.72%) ⬇️
.../features/moreCast2/components/DataGridColumns.tsx 89.65% <0.00%> (ø)
...res/moreCast2/components/GridComponentRenderer.tsx 86.66% <75.00%> (-1.97%) ⬇️
web/src/features/moreCast2/rowFilters.ts 95.65% <95.65%> (ø)
web/src/features/moreCast2/util.ts 95.55% <94.73%> (-0.60%) ⬇️
... and 6 more

... and 1 file with indirect coverage changes

📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

@brettedw brettedw requested a review from conbrad November 7, 2023 18:23
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.

Looking good, almost there I think. Remember to update your branch off main as well.

web/src/features/moreCast2/components/TabbedDataGrid.tsx Outdated Show resolved Hide resolved
web/src/features/moreCast2/rowFilters.ts Outdated Show resolved Hide resolved
Copy link
Collaborator

@dgboss dgboss left a comment

Choose a reason for hiding this comment

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

Strong work!

I think this is really close to being wrapped up!

web/src/features/moreCast2/rowFilters.ts Outdated Show resolved Hide resolved
web/src/features/moreCast2/components/TabbedDataGrid.tsx Outdated Show resolved Hide resolved
web/src/features/moreCast2/components/TabbedDataGrid.tsx Outdated Show resolved Hide resolved
web/src/features/moreCast2/interfaces.ts Show resolved Hide resolved
web/src/features/moreCast2/slices/dataSlice.ts Outdated Show resolved Hide resolved
web/src/features/moreCast2/slices/dataSlice.ts Outdated Show resolved Hide resolved
api/app/morecast_v2/forecasts.py Outdated Show resolved Hide resolved
@brettedw brettedw requested review from conbrad and dgboss November 8, 2023 20:51
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice tests!

Copy link

sonarcloud bot commented Nov 9, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@brettedw brettedw temporarily deployed to production November 9, 2023 23:05 Inactive
@conbrad conbrad merged commit ae101df into main Nov 9, 2023
32 checks passed
@conbrad conbrad deleted the task/simulated-indices branch November 9, 2023 23:39
vanislekahuna pushed a commit to vanislekahuna/wps that referenced this pull request Sep 19, 2024
- Adds endpoint for calculating FWI indices 
- Calculates FWI indices in real time while forecasting
- Calculates all FWI indices on load, for actuals and forecasts
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.

MoreCast 2.0: Implement Simulated Indices
3 participants