From b8c77bff90741243920edc41ce15f0b54d330fad Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 3 Aug 2016 22:54:47 +0200 Subject: Update: the metar resources have moved MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/weather.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/weather.py b/src/weather.py index fba6ffc..268dcbf 100644 --- a/src/weather.py +++ b/src/weather.py @@ -44,7 +44,8 @@ def weather(station, downloader = None): is return if observation data cannot be downloaded. ''' ## URI of METAR - url = 'http://weather.noaa.gov/pub/data/observations/metar/decoded/%s.TXT' + #url = 'http://weather.noaa.gov/pub/data/observations/metar/decoded/%s.TXT' + url = 'http://tgftp.nws.noaa.gov/data/observations/metar/decoded/%s.TXT' url %= station.upper() ## Download METAR # Use wget if not specified -- cgit v1.2.3-70-g09d2