technologiestiftung / giessdenkiez-de-dwd-harvester

Gather precipitation data from DWD's radolan data set, for the region of Berlin and connect to the trees DB
https://www.giessdenkiez.de
MIT License
4 stars 9 forks source link

feat: fetch daily weather data via BrightSky API #132

Closed Jaszkowic closed 5 months ago

Jaszkowic commented 5 months ago

needs https://github.com/technologiestiftung/giessdenkiez-de-postgres-api/pull/268

Jaszkowic commented 5 months ago

@ff6347 The script fetches hourly weather data from the BrightSky API, aggregates it to daily weather data and stores it in the database. It can then be used by the GdK frontend to show nice weather data for the last 12 months. I store all available weather data instead of only rain and temperature, because it is nice to have and we might need it in the future. Although we have no clear use case yet except for temperature and rain, I see no downside storing it, the data is very very small, even storing it for hundreds of years would be no issue at all.