Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replacement for discontinued NOAA metar site #39

Open
BoatrightTBC opened this issue Jan 26, 2017 · 0 comments
Open

Replacement for discontinued NOAA metar site #39

BoatrightTBC opened this issue Jan 26, 2017 · 0 comments

Comments

@BoatrightTBC
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant