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

Additions for Tuzist'ol T'ah WCRP #578

Merged
merged 1 commit into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
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
8 changes: 7 additions & 1 deletion data/wcrp_watersheds.csv
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,10 @@ LNIC,t,,t,,,t,,
NECL,t,,t,,t,,,
QUES,t,,t,,t,,,
SHUL,t,,t,,t,,,
USHU,t,,t,,t,,,
USHU,t,,t,,t,,,
TAKL,t,,,,t,,,
MIDR,t,,,,t,,,
UTRE,t,,,,t,,,
LTRE,t,,,,t,,,
STUL,t,,,,t,,,
STUR,t,,,,t,,,
7 changes: 6 additions & 1 deletion jobs/auto_rank.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ def makeParser():
"eagle",
"bessette",
"bela_atna_necl",
"bowr_ques_carr"
"bowr_ques_carr",
"tuzitol_tah"
],
nargs=1,
type=str,
Expand Down Expand Up @@ -155,6 +156,10 @@ def buildCondition(wcrp):
c."watershed_group_code" IN ('BOWR', 'QUES', 'CARR')
"""
wcrp_schema = "bowr_ques_carr"
elif wcrp == "tuzitol_tah":
condition = """
c."watershed_group_code" IN ('TAKL', 'MIDR', 'UTRE', 'LTRE', 'STUL', 'STUR')
"""
else:
# In all other cases, just the watershed group code
condition = f"""
Expand Down
Loading