Akylas / oss-weather

An OSS weather app for iOS/Android
MIT License
220 stars 14 forks source link

Norwegian Meteorological Institute source #17

Closed julianfairfax closed 1 year ago

julianfairfax commented 1 year ago

It would be nice if data from the Norwegian Meteorological Institute was available. Their data is open (https://www.met.no/en/free-meteorological-data) and seems to support the whole world. GNOME Weather uses it as its sole provider of weather data. It would be nice to be able to have the same source for GNOME and OSS Weather.

farfromrefug commented 1 year ago

@julianfairfax thanks I can look at it

julianfairfax commented 1 year ago

Awesome!

julianfairfax commented 1 year ago

@julianfairfax thanks I can look at it

I think I closed this issue too soon. Is this still something you have time to look into? This would solve #30 I'd say. For reference, this is how Geometric Weather added support for it: https://github.com/papjul/GeometricWeather/commit/09c5d13d377dfecafc89b3a310fd68182061db65

farfromrefug commented 1 year ago

@julianfairfax dont have much time no sorry. But either someone can contribute or you can wait. Yes we need an alternative to own as it is now failing for newly created accounts. I am not sure what source to use though. Already existing meteo France source should work anywhere. I am also very interested by open meteo.

julianfairfax commented 1 year ago

Already existing meteo France source should work anywhere. I am also very interested by open meteo.

Oh yeah, it does! (Although when viewing weather for Berlin, Warsaw etc., it doesn't work, and shows an error every time: "Cannot read properties of null (reading 'slice')". Maybe it only works in French-speaking countries?)

Is Météo-France's data also open, like the Norwegian Meteorological Institute's is (https://www.met.no/en/free-meteorological-data)?

farfromrefug commented 1 year ago

@julianfairfax that must be a bug that i will fix! I think meteo france data is open as open-meteo seems to be using it. But i am not 100% sure!

julianfairfax commented 1 year ago

@julianfairfax that must be a bug that i will fix! I think meteo france data is open as open-meteo seems to be using it. But i am not 100% sure!

Let me know when that bug is fixed, and I'll test! It seems the data is open: https://www.etalab.gouv.fr/licence-ouverte-open-licence/, so, maybe this issue and #30 can be ignored for now, since an open data source is already available.

PS: Take a look at https://gitlab.com/fdroid/rfp/-/issues/2263, so we can hopefully get your app on F-Droid!

farfromrefug commented 1 year ago

@julianfairfax thanks for pointing to.the gitlab issue for fdroid. I replied there but to be honest I am still questioning if wether I want my app on f-droid. From an ecological point of view f-droid is really bad.

julianfairfax commented 1 year ago

Météo-France fulfils the criteria cited as the basis for met.no's inclusion as a source, so this is not needed.