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

Remove high_water_threshold filter from RFC FIM processing #761

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@ SELECT
max_forecast.streamflow AS discharge_cfs,
'Pending' AS prc_status
FROM publish.rfc_based_5day_max_streamflow max_forecast
JOIN derived.recurrence_flows_conus rf ON rf.feature_id=max_forecast.feature_id
JOIN derived.fim4_featureid_crosswalk AS crosswalk ON max_forecast.feature_id = crosswalk.feature_id
WHERE
max_forecast.streamflow >= rf.high_water_threshold AND
rf.high_water_threshold > 0::double precision AND
crosswalk.huc8 IS NOT NULL AND
crosswalk.lake_id = -999 AND
max_forecast.is_waterbody = 'no' AND
Expand Down