summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-08-03 22:54:47 +0200
committerMattias Andrée <maandree@kth.se>2016-08-03 22:54:47 +0200
commitb8c77bff90741243920edc41ce15f0b54d330fad (patch)
tree87631349c6bfe5cbe2845eb5b0aef40c3d9c4b89
parentUpdate dist to dep on argparser-python rather than argparser (diff)
downloadblueshift-1.90.5.tar.gz
blueshift-1.90.5.tar.bz2
blueshift-1.90.5.tar.xz
Update: the metar resources have moved1.90.5
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--src/weather.py3
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