jdemaeyer / brightsky

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

Call for Feedback #138

Open jdemaeyer opened 1 year ago

jdemaeyer commented 1 year ago

Bright Sky has entered a second round of public funding and will be in much more active development over this summer!

I have some core development targets planned for this time:

But there is plenty of wiggle room for other development! If you have ideas and preferences for missing features and improvements, please create new issues, vote :+1: on existing issues, or reply in this discussion issue! :)

(/cc'ying other feedback issues active in the past year, pardon the spam)

111 #124 #125 #129 #130 #131 #132 #133 #134 #137

poetaster commented 1 year ago

Alerts are an area that I would love to implement as is a Rainradar directly in app. In my basic wrapper of Bright Sky, I added a rainviewer.com WebView to add a radar. Thanks for your efforts and congrats on another round of funding!

poetaster commented 1 year ago

I'm not sure if it's of value for you to know, but I have about 800 users of https://github.com/poetaster/harbour-dwd which is a SailfishOS native (QT/QML) mobile app.

kossaFounderblocks commented 1 year ago

Congrats for the funding. Would love to see the precipitation probability and radar data for the rain radar. That would basically complete my use case

jdemaeyer commented 1 year ago

Thanks @kossaFounderblocks! The precipitation probabilities are already available as of last week as an experimental / undocumented feature. Would love for you to try them out and give feedback over in #95 if you find the time! Radar and alerts are on the roadmap for the coming weeks :)

jdemaeyer commented 1 year ago

Weather radar is now live :) #144

poetaster commented 1 year ago

It does mean I'll have to rebuild the current version :) Thanks!

nils-werner commented 1 year ago
jdemaeyer commented 1 year ago

@nils-werner, thanks a lot for the feedback! Could you elaborate a little on the wind speed sampling issue? Here's a graph with hourly wind speeds from the past (blue) and forecasted (orange):

image

While the forecasted values often change hour-to-hour, they do look a little more stair-like, I guess that's what you're referring to? My guess is that that's a just a result of the impossibility of predicting wind in detail, unfortunately. Even a hyperspecialized site like windfinder.com defaults to showing wind forecasts in three-hour intervals...

nils-werner commented 1 year ago

yes, that's what I mean... it looks more irregular than the other plots so I was wondering if there was something weird going on.

Bragor95 commented 1 year ago

Hey, this is such a cool project. Thank you so much for your work! :) I'm planning to use the API for my Masters' thesis on forecast based Peak Shaving.

My understanding from the docs is that on the weather endpoint if I enter a date that lies in the future I will obtain forecasted data whereas when I enter a past date I will receive actual realized values. Is it somehow possible to obtain the forecasted weather from past dates as well? I'm asking because my ML models will in practice only be used on forecasted data, thus I would like to train the models on this data as well. If this ain't possible I should still be fine.

jdemaeyer commented 1 year ago

Hi @Bragor95, thanks for reaching out and for the kind words :)

My understanding from the docs is that on the weather endpoint if I enter a date that lies in the future I will obtain forecasted data whereas when I enter a past date I will receive actual realized values.

That is correct! Timestamps that are in the very recent (less than ~90 minutes) past will sometimes still contain (obsolete) forecasts, as the DWD takes some time to publish its real-world measurements. You can find out whether a record comes from a forecast or a measurement by checking the observation_type of the associated source.

Is it somehow possible to obtain the forecasted weather from past dates as well?

Unfortunately not through Bright Sky, as that'd be far too much data for our little database (roughly 5 GB of new data per day). You can recover some outdated forecasts by directly parsing the raw data from the DWD open data server (MOSMIX S, MOSMIX L), e.g. using dwdparse, Bright Sky's parsing backend. Even the DWD deletes their forecasts after 48 hours, though.

Good luck with your thesis! Feel free to reach out to me at jakob@brightsky.dev any time if you have any questions regarding Bright Sky :)

demetz commented 1 year ago

Hi @jdemaeyer

thanks for your amazing work.

Maybe as an addition to your list: integration of heating degree days and cooling degree hours