-
Notifications
You must be signed in to change notification settings - Fork 124
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
Meteogalicia source (Galician meteorology agency) #1066
Comments
Another option from the same source is this: https://www.meteogalicia.gal/web/rss-georss-json I also can't help with the kotlin side of things, but otherwise I'd be happy to help. |
Is there a documentation... in English? Isn't there a more automated way to register than writing an email (in galego I guess?)? The rss-georss-json requires an id cancello, is there a web service that can return the nearest cancello from a longitude and latitude? |
The only way to get the key is through the email. And now that you mention it, it is true that it doesn't geocode, there is a table to join the id with the name, so it could work by searching the place but not with location. |
I'm not really sure about the English documentation. Registration emails can be in other languages, I sent mine in Spanish and there were no problems. Which in English would be:
Regarding the translation from coords to concello, I think Nominatim would be fine, using their reverse search endpoint documented here, the concello would be in address>municipality (I think) |
We don't mix up sources. The concello must be provided by the weather source as there is no reason to think that an external source such as Nominatim would be in sync with a meteorological service. Also, Nominatim doesn't provide the mandatory timezone field (although for Spain, it could be hardcoded). I need to take a closer look as the documentation isn't in English but it may be possible to get weather for specific longitude/latitude with the API. |
It looks like the API indeed accepts longitude and latitude, so it's fine.
If you have programming experience in other object-oriented languages, it will be straightforward (and I can complete/help if you struggle in some quirks of the Kotlin language). Most of the work has been abstracted, you can just look at existing sources. It's also documented here: https://github.com/breezy-weather/breezy-weather/blob/main/CONTRIBUTE.md#weather-sources Otherwise, I can put it in "Open to contributions" but there is a high chance no one will pick it up. While variables are written in English in the API, there are point of attentions written in galego that the developer must read, so it restricts the implementation to someone who can read and understand it. Can you also give us the rate-limit of the API per API key? If this information is not public, can you write to them and ask them? Thanks! |
Once May ends I'll take a look at the existing sources and try to adapt one of them following the docs you provided if I have some free time.
I'm pretty sure it isn't rate-limited, it doesn't mention it in the API manual PDF and there isn't any response as "Too many requests" in pages 68 or 69. Edit: Forgot to add, thanks for your help :) |
The Breezy Weather project highly values your report and would love to see it addressed. However, this issue has been left in “Needs more info” mode for the last 7 days and is being automatically marked as “Stale”. If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue. |
This issue has been automatically closed due to inactivity. If you are still experiencing problems, please open a new issue. |
Link to publicly available documentation of the API
https://meteo-estaticos.xunta.gal/datosred/infoweb/meteo/proxectos/meteosix/API_MeteoSIX_v4_gl.pdf
Available and not available data
Available: Sky status, temperature, humidity, wind, precipitation, cloud cover, sea-level pressure and snow cover
Also, on sea spots: wave period, wave bearing, wave height, water temperature, salinity,
Are you going to develop yourself the new source for the app?
No, as I don't know Kotlin
Give a bit more details or context about this source
This source has very accurate data in Galicia, and it's ran by the local administration.
It requires a free API key that has to be requested by sending an email to: administracion-web.meteogalicia@xunta.gal.
The API info homepage is the following: https://www.meteogalicia.gal/web/modelos-numericos/meteosix
The API base URL is: https://servizos.meteogalicia.es/apiv4/
Acknowledgements
The text was updated successfully, but these errors were encountered: