Simplify network lead to a bug in GADM shapes #382
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Checklist
main
branch or the latest release. Please indicate.pypsa-africa
environment. Update viaconda env update -f envs/environment.yaml
.Describe the Bug
Summary of bugs:
gadm_regions
toonshore_regions
conversionsimplify_network
.I am running PyPSA-Africa for Nigeria with the GADM clustering option which retrieves GADM shapes also known as administrative zones. See the automatic download:
Creating the
regions_onshore
looks still fine. I am not sure yet what the colour change means. Maybe it is indicating an error? One bug is that black hole inside Africa!Nevertheless, the real bug appears when running
simplify_network.py
which then createsnetworks/elec_s{simpl}.nc
. As you can see, hovering over one shape, it seems that some shapes are combined.One needs to debug
simplify_network
and investigate the step where this occurs. We need to find a solution to this issue.The text was updated successfully, but these errors were encountered: