From c8273f22a46f66f7150878cace7848923a0d1384 Mon Sep 17 00:00:00 2001 From: Bin Peng Date: Wed, 18 Apr 2018 11:31:54 -0500 Subject: [PATCH] Add Urbana, IL to city list Bin Peng added Urbana, IL into city list --- cities/urbana.json | 17 +++++++++++++++++ wxgen.py | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 cities/urbana.json diff --git a/cities/urbana.json b/cities/urbana.json new file mode 100644 index 0000000..352eccf --- /dev/null +++ b/cities/urbana.json @@ -0,0 +1,17 @@ +{ + "name": "Urbana", + "state": "IL", + "high": { + "avg": 38.5, + "std": 4.5 + }, + "low": { + "avg": -10.3, + "std": 4.5 + }, + "precip": { + "yamt": 825.0, + "std": 10.0, + "days": 65.0 + } +} diff --git a/wxgen.py b/wxgen.py index 619d5a6..4f53d30 100755 --- a/wxgen.py +++ b/wxgen.py @@ -13,7 +13,7 @@ from datetime import datetime # User settings -city_list = ["boulder","philadelphia"] +city_list = ["boulder","urbana", "philadelphia"] fcst_path = "forecasts/{}.txt" num_days = 7