FelixdelasPozas / TrayWeather

Tray Weather is a simple application to retrieve and show weather information for a given geographic location in a small dialog and in the Windows OS system tray.
GNU General Public License v3.0
192 stars 22 forks source link

[Suggestion] Report different weather #35

Open adem4ik opened 3 years ago

adem4ik commented 3 years ago

Since the end of the spring TrayWeather shows me incorrect weather sometimes, and I usually report it via https://openweathermap.org/ site. image

I think that would be quite useful to have a menu entry like «Report different weather» in TW. That entry should redirect to the weather provider site - https://openweathermap.org/ image

FelixdelasPozas commented 3 years ago

Hi.

Since the end of the spring TrayWeather shows me incorrect weather sometimes (...)

If the weather is incorrect or just different to what the web shows its because a miss in geo-location. OpenWeatherMap uses latitude and longitude in the data request and if the geo-location is incorrect it will show the weather from an incorrect location. I added the "Use DNS" option in the configuration dialog because one time the geo-location was reporting that I was in another city (about 400 km away) maybe because my ISP was re-routing all traffic and giving IPs from that other city. Using the DNS IP for geo-location may correct that.

Another option is to locate where you are (in maps.google.es for example, using "show my location") and get the longitude and latitude (appears in the web address after you use "show my location") and use that information in the configuration dialog (and not use automatic geo-location). OpenWeatherMap should return the weather data from the closest weather station.

In the screenshot you show I get that TrayWeather and OpenWeatherMap are reporting 23º, but the correct temperature is 27º? Is that correct?

Try the "Use DNS" option or use the longitude and latitude from Google maps.

I think that would be quite useful to have a menu entry like «Report different weather» in TW. That entry should redirect to the weather provider site - https://openweathermap.org/

About adding a link to OpenWeatherMap, that would be easy but I think that will invalidate the purpose of the application, as the reason I made TrayWeather is precisely to have that weather information and forecast one-click-away instead of going to the web. If TrayWeather is correctly configured and the geo-location reports your location accurately you shouldn't need to do it.

I will leave the issue open if someone wants to discuss it, but for now I think a link to the weather provider is not necessary, only in the "About" and "Configuration" dialogs, but not in the menu.

Regards, Félix.

adem4ik commented 3 years ago

I don't think it was a miss in geolocation. As screenshot shows both TrayWeather and OpenWeather had the same temperature value - 23º. But other weather provider (actually many of them) had different value - about 27º. So the problem comes from OpenWeather data, not from TrayWeather configuration nor anything alse. And that's why I suggest such feature.

FelixdelasPozas commented 3 years ago

Recently I've seen this, a list of public weather api. Maybe with a little time I can implement an alternative to OpenWeatherMap, also free. I must look at it. If the failure is in OpenWeatherMap data, that is something I cannot correct.

Regards, Félix.