Repository navigation
Mix predictors #1001
dewi-ny-je
started this conversation in
General
Mix predictors
#1001
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
In my fork I have this feature which seems to make sense, to retain good accuracy meteo forecasting as long as harmonie can deliver, and then using gfs only afterwards.
If interested, it has to be adapted to new main, it's starting to get old.
dewi-ny-je#20
Before: without
meteoserver-modelDAO always fetched harmonie, which stops at 40 hours. With price prediction (prices.prediction.extension> 0) the extended horizon then had no weather data and was cut off.After: when no model is configured, DAO fetches harmonie if price prediction is off. With price prediction it fetches both and uses harmonie for the first 40 hours and gfs for the hours after that. A configured model is always used as is, so forcing harmonie keeps the horizon at 40 hours as before.
How:
meteoserver_modelis now optional (defaultNone).Meteo.get_forecast()picks or mixes the models; if one of the two fails in mixed mode, the other is used alone. Schema regenerated, DOCS.md and CHANGELOG updated, anddao/tests/lib/test_meteo_model_choice.pycovers the choices. The 3 failures indao/tests/config(loader/roundtrip) also fail on dev without this change.Summary by Sourcery
Automatically select and combine weather forecasts to provide complete data across extended planning horizons without changing explicitly configured model behavior.
New Features:
Bug Fixes:
Enhancements:
Documentation:
Tests:
All reactions