diff options
author | Mattias Andrée <maandree@kth.se> | 2016-08-03 22:54:47 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-08-03 22:54:47 +0200 |
commit | b8c77bff90741243920edc41ce15f0b54d330fad (patch) | |
tree | 87631349c6bfe5cbe2845eb5b0aef40c3d9c4b89 /src | |
parent | Update dist to dep on argparser-python rather than argparser (diff) | |
download | blueshift-b8c77bff90741243920edc41ce15f0b54d330fad.tar.gz blueshift-b8c77bff90741243920edc41ce15f0b54d330fad.tar.bz2 blueshift-b8c77bff90741243920edc41ce15f0b54d330fad.tar.xz |
Update: the metar resources have moved1.90.5
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src')
-rw-r--r-- | src/weather.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 |