From fa1eb88cfbc4eda39e16782d1cab0c5dc4c552fa Mon Sep 17 00:00:00 2001 From: Casey Webster Date: Tue, 20 Nov 2018 00:05:52 -0600 Subject: [PATCH] Fix bug causing only 00Z uwyo soundings to be plotted. Thanks @bugsuse. Fixes #14 --- pymeteo/uwyo.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pymeteo/uwyo.py b/pymeteo/uwyo.py index 358ee71..c20c926 100644 --- a/pymeteo/uwyo.py +++ b/pymeteo/uwyo.py @@ -88,7 +88,6 @@ def fetch_from_web(date, station): hour = 00 else: hour = 12 - hour = 00 print(year, month, day, hour, station) base_url = "http://weather.uwyo.edu/cgi-bin/sounding" url = "{0}?TYPE=TEXT%3ALIST&YEAR={1}&MONTH={2:02d}&FROM={3:02d}{4:02d}&TO={3:02d}{4:02d}&STNM={5}".format(