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

Sub issue 284b query timed belief rather than power/price/weather #287

Conversation

Flix6x
Copy link
Contributor

@Flix6x Flix6x commented Dec 26, 2021

Second sub-issue of #284:

  • Query TimedBelief rather than Power/Price/Weather

This PR moves time series queries to the new data model, and also has forecasting and scheduling jobs directly create TimedBeliefs.

@nhoening If you need me to (for the review), I could still try to split the work into separate PRs. Currently, the last 4 commits deal with creating TimedBeliefs, while the rest deals with querying them.

Requires timely-beliefs>=1.9.0.

Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
…nsor_data

Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
@Flix6x Flix6x self-assigned this Dec 26, 2021
Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
… script

Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
@Flix6x Flix6x marked this pull request as ready for review December 27, 2021 13:53
@Flix6x Flix6x requested a review from nhoening December 27, 2021 13:54
Signed-off-by: F.N. Claessen <felix@seita.nl>
Copy link
Contributor

@nhoening nhoening left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very satisfying to read! I believe my comments are mostly about documentation and more deprecation. Also one actual error I believe, in a test function name.

flexmeasures/data/models/time_series.py Outdated Show resolved Hide resolved
flexmeasures/data/scripts/data_gen.py Outdated Show resolved Hide resolved
flexmeasures/data/tests/test_queries.py Outdated Show resolved Hide resolved
flexmeasures/data/tests/test_queries.py Outdated Show resolved Hide resolved
Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
…en resampling, and by solving a bug in a deprecated optional argument. Also, remove redundant index conversions in test, and move one conversion closer to where it is needed

Signed-off-by: F.N. Claessen <felix@seita.nl>
@Flix6x Flix6x requested a review from nhoening December 29, 2021 09:45
@Flix6x Flix6x merged commit f651eea into Issue-284_Move_sensor_data_from_Power/Price/Weather_to_TimedBelief Dec 29, 2021
@Flix6x Flix6x deleted the Sub-issue-284b_Query_TimedBelief_rather_than_Power/Price/Weather branch December 29, 2021 20:03
@Flix6x Flix6x added this to the 0.8.0 milestone Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants