Weather for St. Petersburg, Russia use incorrect place
See original GitHub issueHi! I found a problem with an incorrect passing location somewhere in the code. When I use the default format, it detects the correct location (City + Country), but the weather is wrong.
$ curl wttr.in/?0
Weather report: St Petersburg, Russia
\ / Partly cloudy
_ /"".-. 12-13 °C
\_( ). ↙ 19 km/h
/(___(__) 16 km
0.0 mm
Checking the same request with the custom format, we can find the reason: the returning location is the coordinates for Saint Petersburg, Florida, United States
$ curl wttr.in/?format=4
27.7703796,-82.6695085: ⛅️ 🌡️+13⁰C 🌬️↙19 km/h
But when I provide the city explicitly, the weather is correct.
$ curl wttr.in/Saint-Petersburg?format=4
Saint-Petersburg: ☁️ 🌡️-2⁰C 🌬️←19 km/h
I suppose wttr.in use city without country somewhere and that is the cause for the incorrect location
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Saint Petersburg, Russia 10-Day Weather Forecast
Saint Petersburg, Russia 10-Day Weather Forecaststar_ratehome ; Pressure. 29.58 · in ; Visibility. 6 · miles ; Dew Point. 20 · F ;...
Read more >14 Day Weather St Petersburg - Meteoblue
This chart shows the 14 day weather trend for St Petersburg (St.-Petersburg, Russia) with daily weather symbols, minimum and maximum temperatures, ...
Read more >St Petersburg weather guide: best time to visit the city
The average autumn temperature of St. Petersburg ranges from +8.3 to 3 ° C. ... Winter in St. Petersburg begins a little later...
Read more >Autumn in St Petersburg Russia | What to Pack, Do & See
Usually, from September to October the weather in St Petersburg is still warm and dry, with average temperatures over +11 °C/52°F. Also, at...
Read more >OPINION: November in Russia is the worst!
Wrong ! It's total BS. This was the first time in my life someone praised ... And places like Moscow and St. Petersburg...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think we’ve just fixed a nasty bug, that was annoying many people 👍 Thank you for reporting it once again!
I believe I’ve fixed it. Please test