jdemaeyer / brightsky

JSON API for DWD's open weather data.
https://brightsky.dev/
MIT License
305 stars 18 forks source link

Add information about the UV Index at the given time #119

Open marcusandre opened 3 years ago

marcusandre commented 3 years ago

Hello. Apparently, the DWD can also make statements about the UV index. At least I can see this in their mobile app and website. Are there also data points that could be made accessible via the API? Thanks 👍

jdemaeyer commented 3 years ago

Heyho @marcusandre, apologies for the late reply!

Unfortunately I can't find any UV index data on DWD's open data server, at least not inside the CDC data or the MOSMIX forecast :/ But maybe I'm looking in the wrong places

marcusandre commented 3 years ago

Too bad, but thanks for looking that up!

TurboDuke77 commented 2 years ago

UV-Index des DWD kann als JSON abgerufen werden: https://opendata.dwd.de/climate_environment/health/alerts/

jdemaeyer commented 2 years ago

Thanks for the link @TurboDuke77. The alerts data (including the UV index files you linked) is quite different from the other weather data as it's not hourly, there is no historical data (and only short-term forecasts if any), and it's not pinned at a lat/lon but applies to areas instead.

That's not to say that having them in Bright Sky wouldn't be awesome, it's just quite a bit of work as it doesn't fit our current database / API structure very well. There are some thoughts on a possible roadmap in https://github.com/jdemaeyer/brightsky/issues/106#issuecomment-778102839.

jdemaeyer commented 1 year ago

Reopening via #138 :)

jdemaeyer commented 1 year ago

Since we only get "daily maximum" UV index values from the DWD, this will likely be stored in whatever data structure holds #117 and its related daily data (like 24 h precipitation probability).