WWO reporting wrong weather
See original GitHub issueWhen trying to get the weather for Trento Italy, WWO seems to return the weather at the top of the mountain (Paganella), not the weather in the city/valley. Wttr.in then shows current temperatures that are much too low and windy:
curl wttr.in/Trento?format4
Trento: ☀️ 🌡️-2°C 🌬️↓44km/h
The WWO page shows the same: https://www.worldweatheronline.com/trento-weather/trentino-alto-adige/it.aspx The key thing here is that drop down menu that says ‘Paganella’: that’s the ~2000m high peak to the west, not the city itself. The other items in the menu are other peaks/passes, none are the city.
Is there any way I can query wttr.in to get city temperatures? I’ve tried the airport code (lidt) but it has the same problem: the current weather is wrong. I appreciate this is probably mostly a WWO issue but I’d like to find a workaround.
NB the weather in the forecast looks more correct for the town/valley (both v1 and v2) - the issue is with the current weather.
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (6 by maintainers)
Top GitHub Comments
I think we need a list of supported weather APIs, and slowly add support for each of them, because no API seems to be perfect
wttr.in does not really use wego internally; it uses some modified version of it, which diverged from the upstream 5 or more years ago. This modified version does not communicate with the data-source directly, but access a caching server instead. In any case it is not a big problem to parse the data source format; a bigger problem is to buy the data, because wttr.in processes a lot of queries daily, and on such scale the data is not free.