-
Notifications
You must be signed in to change notification settings - Fork 4
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
Missing ehv- and hvmv-voronoi #340
Comments
Frankly, I'm not very familiar with @gplssm's code. I just re-ran that task and get the same message like you but nothing gets dropped in my DB. The new MVGD dataset version (#317) was merged on Friday, it might somehow conflict with your existing data? Did u try to clear and re-run? |
I think this was added with the merge on Friday, the voronoi creation separated from the MVGD before.
If you re-run only the task it works. The problem occurs when I trigger the whole DAG again and all tasks run. Then the tables are dropped and created in |
As agreed f2f, I'll move the |
@nailend will take care of this |
I assume, some osmtgmod functions are a dependency for the voronoi-creation and therefore executed afterwards but I am not entirely sure. I do not fully understand if the same tables ( |
In osmtgmod_substation the bus_ids are altered which are then used in create_voronoi ? |
I think it is the easiest option to restore the old dependencies of eGon-data/src/egon/data/airflow/dags/pipeline.py Lines 346 to 350 in 972b3c1
|
Fix missing ehv hvmv voronoi in substation dataset table as a result of a versioning conflict between two datasets. The function ‚create_voronoi‘ is excluded from the mv_grid_district dataset task and implemented as a separate task with the old dependency to osmtg_mod.
When I run the current dev branch I don't see any ehv or hvm-substation voronoi which results in error in several tasks (e.g .
hydro-biomass-powerplants
).The log of
create-voronoi
says:But the voronoi tables are dropped and created in task create-substation-tables. So currently the table gets dropped and recreated but not filled because task
create-voronoi
is skipped.The voronoi creation is part of the MV grid district dataset, was that the intention?
eGon-data/src/egon/data/datasets/mv_grid_districts.py
Lines 773 to 779 in be4c69a
The text was updated successfully, but these errors were encountered: