I've set up phpWeather, but the address where the METAR data is supposed to
be located does not appear to be valid any longer.
function get_metar_file($icao) {
$host = 'weather.noaa.gov';
$location = "pub/data/observations/metar/stations/$icao.TXT";
I see that the data is located on the ftp server at the same address:
ftp://weather.noaa.gov/pub/data/observations/metar/stations/
Is it possible to change the script to access the data there or is there
another address that should be used to obtain the METAR data?
I'm not much of a programmer, but if you let me know the address I could
probably change it in the script. Or, would you make an update available?
Thanks.
Jeff
|