Skip to content
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 data sources #12

Open
HonestAbe7 opened this issue Dec 1, 2022 · 18 comments
Open

Weather data sources #12

HonestAbe7 opened this issue Dec 1, 2022 · 18 comments
Labels
enhancement New feature or request

Comments

@HonestAbe7
Copy link

Please consider adding more weather data sources like openweather.org, etc . Thanks

@davidtakac
Copy link
Owner

Unfortunately, OpenWeatherMap is not free, so I will not be adding support for it.

I am open to other weather providers as long as they are free, though.

@JoshuaKimsey
Copy link

You could include data from the United States' National Weather Service. Any data released by them is automatically in the public domain according to federal law.

@davidtakac
Copy link
Owner

That's great! I will check it out, thank you.

@HonestAbe7
Copy link
Author

That would be cool if you could include the NWS because they do give out severe weather alerts.

@davidtakac davidtakac added the enhancement New feature or request label Dec 2, 2022
@0-5-0
Copy link

0-5-0 commented Dec 7, 2022

Environment Canada also makes their weather data public for free, all they ask is that you credit Environment and Climate Change Canada like you do for MET Norway.

Here's another repo that might be useful for comparison or to see how the data might be implemented in Android. https://github.com/austinhuang0131/CanadaWeather or https://f-droid.org/en/packages/me.austinhuang.caweather/

Also found this: https://github.com/michaeldavie/env_canada

@davidtakac
Copy link
Owner

Thank you for the suggestion, but unfortunately, the Canada Weather app is also marked with non-free net :/

@0-5-0
Copy link

0-5-0 commented Dec 7, 2022

That seems odd, Environment Canada data is free but they do ask for just a simple acknowledgement: https://climate.weather.gc.ca/prods_servs/attachment1_e.html

This is a broader agreement for all Open Data provided by the Government of Canada with a similar statement: http://open.canada.ca/en/open-government-licence-canada

From F-Droid it says non-free net means in part: "This Anti-Feature is applied to apps that promote or depend entirely on a Non-Free network service which is impossible, or not easy to replace". It does seem like the majority of weather apps (at least all the ones I saw on Fdroid) have the same non-free network tag. Maybe because weather data is not easily replaceable.

This is another weather app on F-Droid but with free NOAA data and it's tagged non-free. https://f-droid.org/en/packages/joshuatee.wx/

F-Droid also says: "This antifeature would not apply, if there is a simple configuration option that allows pointing the app to a running instance of an alternative, publicly available, self-hostable, free software server solution."

I did notice Prognoza isn't searchable on Fdroid and that it doesn't seem to have the same tag on IzzyOnDroid (maybe Izzy is more relaxed).

@davidtakac
Copy link
Owner

MET Norway and Environment Canada seem to have the exact same license terms, and neither have the server source code available, yet one is considered free net and the other is not. Kind of confusing 🤔

What's even more confusing is that NWS Weather Alerts Widget also uses data from NWS but doesn't have the anti-feature.

Either way, Prognoza could be exempt from this anti-feature because it wouldn't "entirely" depend on non-free services. The user can always choose MET Norway which is considered free.

Although I'm not sure NWS and Environment Canada should be considered non-free in the first place! I'll research this some more and maybe open an issue on F-Droid to try and get some more info.

This was referenced Dec 22, 2022
@codeinabox
Copy link

The Met Office in the UK also has weather data licenced under the Open Government Licence - is that appropriate?

https://www.metoffice.gov.uk/services/data/datapoint/terms-and-conditions---datapoint

@davidtakac
Copy link
Owner

davidtakac commented Jan 1, 2023

I added support for Open-Meteo in version 3.3.0. This provider's great because:

  • It's free (freedom and beer)
  • It automatically chooses the best underlying data source for the given coordinates. Some examples:

@davidtakac
Copy link
Owner

davidtakac commented Jan 1, 2023

The Met Office in the UK also has weather data licenced under the Open Government Licence - is that appropriate?

@codeinabox I checked out their API and it requires an API key, so support is not planned in the near future. Please try version 3.3.0 and switch to Open-Meteo, they may provide more accurate data for the UK.

@davidtakac davidtakac pinned this issue Jan 2, 2023
@0-5-0
Copy link

0-5-0 commented Jan 2, 2023

I added support for Open-Meteo in version 3.3.0. ...

Nice find, I haven't seen it used or mentioned anywhere else for Android apps. Looks great.

I also opened a discussion on Open-Meteo's Github page to see if they might add national weather service alerts to their API: open-meteo/open-meteo#183

@ak-42
Copy link

ak-42 commented Jan 16, 2023

@davidtakac Hi. Another source that you might consider implementing is https://pirateweather.net/ (despite the name, there's no piracy involved).

@davidtakac
Copy link
Owner

Hi! I'll check it out, first I heard of it. On first glance, looks to be similar to Open-Meteo :)

@rsssxd
Copy link

rsssxd commented Mar 4, 2023

Open- Meteo supports a wide range of data such as UV, Humidity, Wind direction. Add support for users who choose Open- Meteo.

@davidtakac
Copy link
Owner

@rsssxd Yes, all these are planned. I even have humidity data ready in the current app, but nowhere to put it!

I'm working on a redesign for these features, as well as the inclusion of graphs. The current design would look too crowded with all this extra info, and I want it to look good, so it's taking longer 😄

@brian6932
Copy link

Thoughts on adding https://pirateweather.net/ ?
Demo site: https://merrysky.net/

@davidtakac
Copy link
Owner

I don't think I will add support for PirateWeather because:

  • It requires an API key
  • It uses data from government agencies, which is already fulfilled by Open-Meteo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

8 participants