From b32229ab7682b91addbe11c7c3b5ae1820b5f509 Mon Sep 17 00:00:00 2001 From: Lieven Hollevoet Date: Sat, 17 Sep 2016 09:34:19 +0200 Subject: [PATCH] Fix the URL for fetching metar info as NOAA has disabled the service --- code/common/weather_metar.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/common/weather_metar.pl b/code/common/weather_metar.pl index 6b34018c5..efb559808 100644 --- a/code/common/weather_metar.pl +++ b/code/common/weather_metar.pl @@ -35,8 +35,7 @@ . $station; } else { - $url = "http://weather.noaa.gov/cgi-bin/mgetmetar.pl?Submit=SUBMIT&cccc=" - . $station; + $url = "http://aviationweather.gov/adds/metars/?station_ids=$station&chk_metars=on"; } my $weather_metar_file = $config_parms{data_dir} . '/web/weather_metar.html';