Skip to content

Commit

Permalink
Merge pull request #616 from hollie/fix_metar
Browse files Browse the repository at this point in the history
Fix getting METAR reports
  • Loading branch information
hplato authored Oct 9, 2016
2 parents 4bce107 + b32229a commit 62f0622
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions code/common/weather_metar.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 62f0622

Please sign in to comment.