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

RnR Domain Hotfix #596

Merged
merged 2 commits into from
Dec 12, 2023
Merged

RnR Domain Hotfix #596

merged 2 commits into from
Dec 12, 2023

Conversation

shawncrawley
Copy link
Collaborator

This PR applies various fixes that were underlying the issues discussed in ticket #594. Basically, there were some shortcomings in the RnR processing SQL files that were either leaving sites out or wrongly categorizing them. These issues have been fixed.

Refs #594. On the RnR side, thresholds are prioritized as 1) native,
2) usgs, and 3) nrldb. On the viz-side, however, these were being
prioritized as 1) usgs, 2) nrldb, and 3) native. This was causing
mismatched thresholds between processing and visualizing, and
thus preventing certain sites from being categorized as flooding
and also being mapped for FIM.
Refs #594
Both streamflow and stage forecasts are pulled into RnR by converting
the stage forecasts to flow with a rating curve. Some sites only have
official thresholds defined using stage. On the visualization side,
these stage-threshold-only forecasts were getting labeled with a status
of "All thresholds missing" since only flow thresholds were being
compared against the flows. Thus, this commit adds the fix of converting
the max RnR flow values back to stage using their rating curve, if
available, and then using this converted value to compare to the stage
thresholds if those are what is available. This assigns the correct and
expected status (i.e. Action, Minor, Moderate, Major) to the reaches
and produces FIM for them when necessary.
@shawncrawley shawncrawley changed the base branch from ti to prod December 1, 2023 22:43
@nickchadwick-noaa nickchadwick-noaa merged commit 2b033b8 into prod Dec 12, 2023
1 check passed
@nickchadwick-noaa nickchadwick-noaa deleted the rnr-domain-hotfix branch December 12, 2023 19:17
@nickchadwick-noaa nickchadwick-noaa added this to the V2.1.5 milestone Feb 23, 2024
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.

2 participants