JohnMarzulli / categorical-sectional

Version of the light-up-map that works with "individually addressable" string lights based on the WS2801.
28 stars 17 forks source link

Weather.gov changes seem to have broken feed #48

Closed k6lcm closed 10 months ago

k6lcm commented 10 months ago

I know aviationweather.gov has recently made some changes to their site and it appears that the request in weather.py on line 649 is broken.

request_url = 'http://www.aviationweather.gov/metar/data?ids={}&format=raw&hours=0&taf=off&layout=off&date=0'.format( metar_list)

I tried swapping in a new working URL from the site https://aviationweather.gov/cgi-bin/data/metar.php?ids={}&hours=0&order=id%2C-obs&sep=true

... but I am still getting a blank map and loads of errors in my log for each airport. Example: 2023-10-18 16:29:18,450 - weathermap - WARNING - 2023-10-18 23:29:18.450597 WARN: get_metars():648: get_metars, being set to INVALID EX:'KSBD'

JohnMarzulli commented 10 months ago

Thank you.

I will investigate a fix for this.

JohnMarzulli commented 10 months ago

New address resolves issue. Confirmed with deployment.