diff --git a/cgi-bin/request/coop.py b/cgi-bin/request/coop.py index 5e2f976234..3f4980c812 100644 --- a/cgi-bin/request/coop.py +++ b/cgi-bin/request/coop.py @@ -697,8 +697,8 @@ def do_swat(ctx): f""" WITH scenario as ( SELECT - ('{thisyear}-'||month||'-'||extract(day from day))::date as day, - high, low, precip, station from {table} + ('{thisyear}-'||month||'-'||extract(day from day))::date + as day, high, low, precip, station from {table} WHERE station = ANY(:sids) and day >= :asts and year = :scenario_year), obs as ( diff --git a/htdocs/plotting/auto/index.py b/htdocs/plotting/auto/index.py index 1eb8228927..a17c0a3604 100644 --- a/htdocs/plotting/auto/index.py +++ b/htdocs/plotting/auto/index.py @@ -138,7 +138,8 @@ def map_select_widget(network, name): return f"""   -