avwx-rest / avwx-engine

Aviation Weather parsing engine. METAR & TAF
MIT License
89 stars 30 forks source link

Fix bulk fetch services after aviationweather.gov v3.0 update #59

Closed NickGlauberCirium closed 11 months ago

NickGlauberCirium commented 11 months ago

Description

AviationWeather.gov released v3.0 today, which changed a bunch of their URLs.

This PR fixes both the NOAA_Bulk and NOAA_Intl services.

The path used for the stations.txt data used in avwx.stations.build_stations() no longer exists there, but I was unable to find a new path containing the same format. There's https://aviationweather.gov/api/data/stationinfo but that is a completely different format.

I'm sure the Scrape services also need updating as well, but have not looked myself yet.

Checklist

devdupont commented 11 months ago

Thanks for the quick fix on this. Just started seeing it this morning. I'll switch the NOAA non-bulk to a separate method for the time being to get the tests cleared up.

devdupont commented 11 months ago

Thanks for the help on this. If you email me, I'll send you some stickers :)