From df3175bd0afa0f7a4333626b0e9081af735c63a5 Mon Sep 17 00:00:00 2001 From: wwieder Date: Wed, 18 Apr 2018 10:31:53 -0600 Subject: [PATCH] I added Lyons to the list of cities addresses #5, because we need more cities --- cities/lyons.json | 17 +++++++++++++++++ wxgen.py | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 cities/lyons.json diff --git a/cities/lyons.json b/cities/lyons.json new file mode 100644 index 0000000..024bd7c --- /dev/null +++ b/cities/lyons.json @@ -0,0 +1,17 @@ +{ + "name": "Lyons" , + "state": "CO", + "high": { + "avg": 17.5, + "std": 4.0 + }, + "low": { + "avg": 3.0, + "std": 4.0 + }, + "precip": { + "yamt": 550.0, + "std": 15.0, + "days": 60.0 + } +} diff --git a/wxgen.py b/wxgen.py index 619d5a6..ba0f387 100755 --- a/wxgen.py +++ b/wxgen.py @@ -13,7 +13,7 @@ from datetime import datetime # User settings -city_list = ["boulder","philadelphia"] +city_list = ["boulder","lyons","philadelphia"] fcst_path = "forecasts/{}.txt" num_days = 7