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

Excludes branch 0 from AK FIM to subvert memory issue #999

Open
wants to merge 1 commit into
base: ti
Choose a base branch
from
Open
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 @@ -15,7 +15,11 @@ FROM {max_flows_table} max_forecast
JOIN derived.recurrence_flows_{domain} 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.discharge_cfs >= rf.high_water_threshold AND
(max_forecast.discharge_cfs >= rf.high_water_threshold AND
rf.high_water_threshold > 0::double precision AND
crosswalk.huc8 IS NOT NULL AND
crosswalk.lake_id = -999;
crosswalk.lake_id = -999)
AND (
('{max_flows_table}' LIKE '%ak%' AND crosswalk.branch_id != 0)
OR '{max_flows_table}' NOT LIKE '%ak%'
);
Loading