Replies: 2 comments 12 replies
-
|
Noting that one of the options is to move to TimescaleDB. It probably can help here. But in the maintainer team of FlexMeasures, we have no experience with it. We have an issue for that topic here, but have not researched issues there like querying inexact data, or aggregation suuport. |
Beta Was this translation helpful? Give feedback.
-
|
Not sure about the best and most streamlined solution, but I can describe the context of my problem: In particular, for time-series with gaps, scheduling still seems to work, while forecasting (at least with the current production code and the old forecasting module) fails: Internally, pandas tries to infer frequency and fails: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
During the last TSC, we found that one stepping stone for FlexMeasures to be considered mature (-> v1.0) could be more robustness against imperfect input data.
The best point to deal with this might be when we accept data from the outside (via the API usually), here & here, which both use
data/utils/save_to_db().In particular:
Happy to hear more details about each of these problems, or if I missed one. And of course suggestions how to treat them.
P.S. The more we do when accepting data, the better it would be to move accepting data into a job - the API endpoints need to return swiftly.
api_utils.save_and_enqueue()could be doing that (create a data-entry job) instead of callingsave_to_db()right away. Also, note that no call to this function currently passes forecasting jobs.Beta Was this translation helpful? Give feedback.
All reactions