From 78a51fb6e1426a01f9a4c01367a899106d9fe0f2 Mon Sep 17 00:00:00 2001 From: Alessandro Menti Date: Thu, 4 Aug 2016 21:35:11 +0200 Subject: [PATCH] Make the NOAA METAR URL point to the new address --- create_metar_dat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/create_metar_dat.py b/create_metar_dat.py index e05554d..fd6154c 100755 --- a/create_metar_dat.py +++ b/create_metar_dat.py @@ -2,7 +2,7 @@ # # create_metar_dat.py # -# Script to create metar.dat.gz by checking weather.noaa.gov for stations +# Script to create metar.dat.gz by checking tgftp.nws.noaa.gov for stations # that have reported recently. # # Usage: create_metar_dat.py [OUTPUT_FILENAME] @@ -36,7 +36,7 @@ import urllib.request filename = "metar.dat.gz" if len(sys.argv) <= 1 else sys.argv[1] max_age_days = 7 -url = "http://weather.noaa.gov/pub/data/observations/metar/stations/" +url = "http://tgftp.nws.noaa.gov/data/observations/metar/stations/" now = datetime.datetime.now() script = os.path.basename(__file__)