-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weather and cities #59
Comments
@reno-a - do you have examples of cities that fail for you? The data in this library is actually hard-coded based on airport codes. We can easily add new cities to the list, as long as we have airport codes to match, but we don't (yet) have a way of live-querying other cities... |
Hello @vkareh, |
Open Weather (https://www.openweathermap.org/) lists more than cities. |
@vkareh Their website doesn't make it easy to figure out where they are, so you might find this useful. The marker is at 52.1158, -4.5609. I had a dig around but couldn't find any data file listing locations and where/how they get weather data (but I could easily have missed it). Is it something I could add in myself if I knew where the file was or do I have to wait for you to update the app (assuming you can get a weather feed for it.? |
linux mint provide a weather applet for panel which is supported by yahoo weather. is it possible to do like that, i.e yahoo or open weather support? my city has no airport. |
Most cities have no weather station. Even cities with airports often don't report their weather data upstream. The result is that pretty much all weather services do geolocation based on the entered city, and give you the weather data from the nearest weather station, which is usually the closest large city with an airport (but not always). Other desktop environments take advantage of this and do the following:
We could do the same on our side. It would remove the burden of maintaining the huge list of weather station codes manually. However, the @mate-desktop/core-team need to be all in agreement of which services we use, and the licensing terms of such services need to match the values of the project. Then there are the code changes necessary to support this, which would be quite large. I'd love to have some time to do this. |
We are waiting for the change in mate weather applet. Openweather map integration or yahoo weather would be great choice. |
Openweather seems a better choice (more Open) |
OpenWeatherMap is a subscription service. Each user would need to subscribe and enter an API key to get weather data... |
Is migrating to |
There was already an old PR for mate-panel to switch to libgweather. |
Thanks for reference @raveit65, there appears to be some good reasons to keep |
I think as a rule we should not include anything by default that depends on a subscription to anything |
Well, personal i can live that berlin has only one weather station with using |
@vkareh wrong! My supposedly small city, Muncie, Indiana, has an airport. KMIE. https://forecast.weather.gov/MapClick.php?lat=40.19561500000003&lon=-85.37890999999996 Please let us use Weather.gov data if we have to. |
Hi. With this weather service you can set the coordinates, if you build that possibility into the application like XFCE4 Weather Plugin. Gnome Weather doesn't have that possibility. It has only names of places. But you can tweak it's places file with the coordinates and names as you wish. You don't need to build a airport to get weather reports or forecasts. :-) I hope Mate Weather will go in this direction. |
I do. Actually I previously submitted a similar request before: mate-desktop/mate-panel#1285 |
For city of Tbilisi Georgia (country). The default airport code sets to TBS, which is IATA code of Tbilisi International Airport. And the weather can't be obtained. Manually revising dconf and setting code to UGTB, which is ICAO code of TIA solves the problem. |
Many cities are not repertoried (test for french cities).
If big cities are found, other (yet important) not. Howeve, towns easy to find for others desktop-environment (like Xfce, GNOME).
To read other remarks on the Net, it seems that even indicating geographical coordinates it does not work (but I don't try it).
MATE general version
1.16 & 1.20
Linux Distribution
Debian Stable & Sid
Fedora 28
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: