You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_origin_gdf is segment-based (len = N) while benefit_gdf is link-based (len = p <N)
Therefore, when setting the geometry, things go terribly wrong and the geometry are assigned incorrectly to the links.
cost_gdf is also currently segment-based (len =N)
Desired behaviour
The geometry should be correctly assigned, just like it is done in the result wrapper of damage.
Additional context
No response
The text was updated successfully, but these errors were encountered:
@MatthiasHauthDeltares currently all gdfs used are link-based. The problem is some rows get lost during the losses analysis (#666), and apparently the order of not preserved.
I'll look into this.
Ra2ce version checks
master
here.Reproducible example
See Jupyter example on adaptation
Current behaviour
analysis/adaptation/adaptation.py
_origin_gdf is segment-based (len = N) while benefit_gdf is link-based (len = p <N)
Therefore, when setting the geometry, things go terribly wrong and the geometry are assigned incorrectly to the links.
cost_gdf is also currently segment-based (len =N)
Desired behaviour
The geometry should be correctly assigned, just like it is done in the result wrapper of damage.
Additional context
No response
The text was updated successfully, but these errors were encountered: