timeclock icon indicating copy to clipboard operation
timeclock copied to clipboard

Replacement for discontinued NOAA metar site

Open BoatrightTBC opened this issue 9 years ago • 0 comments

The phpweather.php downloads its metar data from

http://weather.noaa.gov/pub/data/observations/metar/stations/$station.TXT

where $station is the 4 character ICAO code for a location.

This service is discontinued as explained at http://www.nws.noaa.gov/om/notification/scn16-16wngccb.htm

In fact, the entire weather.noaa.gov site was dropped in favor of weather.gov for most purposes. However, the METAR data is still available at

http://tgftp.nws.noaa.gov/data/observations/metar/stations/$station.TXT

where $station is an upper case 4 character ICAO code. The change goes on line 141 and 142 of phpweather.php, or you can replace phpweather with a different weather display library as in the fork at https://github.com/BoatrightTBC/timeclock

BoatrightTBC avatar Jan 26 '17 18:01 BoatrightTBC