question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WWO reporting wrong weather

See original GitHub issue

When 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:open
  • Created 3 years ago
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
chubincommented, Oct 14, 2020

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

1reaction
chubincommented, Mar 27, 2022

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Weather map goes crazy live on the air - YouTube
Weather map goes crazy live on the air. 20M views · 7 years ago ...more. FOX 10 Phoenix. 188K. Subscribe. 490K. Share. Save....
Read more >
My phone's weather widget is showing the wrong location - HTC
Press and hold the weather widget on your Home screen, and then drag it to Remove. · Go to Settings > Apps. ·...
Read more >
chubin/wttr.in: The right way to check the weather - GitHub
wttr.in is a console-oriented weather forecast service that supports various ... Here is an actual weather report for your location (it's live!):
Read more >
Yahoo Weather on the App Store
Read reviews, compare customer ratings, see screenshots, and learn more about Yahoo Weather. Download Yahoo Weather and enjoy it on your iPhone, iPad, ......
Read more >
Weather & Widget - Weawow - Apps on Google Play
Weawow is a free (and ad-free) weather app enhanced by beautiful weather-related photos taken by photographers around the world.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found