pynws icon indicating copy to clipboard operation
pynws copied to clipboard

API.Weather.gov provides slightly stale data without gusts and precipitation, better alternative in mind

Open SCBionicle opened this issue 1 year ago • 1 comments

In the small-large town areas with municipal airports (at least in Texas), api.weather.gov does not provide precipitation data (despite having rain sensor) or gust information. The API for some reason doesn't process that. Furthermore, the data seems to be 30 minutes - 1 hour old consistently as the API seems to provide the 2nd latest report.

I did some curl testing on different NOAA weather API's and found that aviationweather.gov provides more recent and better detailed data. Note: this does not substitute forecasting functionality. In addition, it seems that all weather reports appear to be within 15 minutes old, at least in my area.

See AviationWeather.gov API Docs

I suggest it might be worth building functionality to use aviationweather.gov, instead, for current weather conditions.

SCBionicle avatar Aug 19 '24 01:08 SCBionicle

Are you able to give an example of a station that has mismatches between data in the two APIs for the same observation report? My local station has identical data. I wouldn't be surprised that the other API has more fresh data, so I'm wondering if you are seeing differences only related to differences in which observation is being returned.

MatthewFlamm avatar Aug 19 '24 22:08 MatthewFlamm