Skip to content

Drop non-ICAS/IKIEF panden instead of raising#42

Open
bdestombe wants to merge 1 commit into
mainfrom
fix-panden-non-icas-ikief
Open

Drop non-ICAS/IKIEF panden instead of raising#42
bdestombe wants to merge 1 commit into
mainfrom
fix-panden-non-icas-ikief

Conversation

@bdestombe

Copy link
Copy Markdown
Member

Fixes a 09pwnmodel2 CI blocker: get_oppervlakte_pwn_shapes raised when a pand's Naam matched neither 'ICAS' nor 'IKIEF'. The oppervlaktewater_pwn_shapes_panden v1.0.1 dataset has a 'VIJVER' feature (TYPE null) that carries neither name, crashing 01_pwnmodel2.py at the panden step on mockup data. Since the RIV package represents only ICAS/IKIEF infiltration panden, filter to those and drop other features with a warning instead of raising. Real data (all ICAS/IKIEF) is unchanged. This is the remaining CI blocker not covered by the doorsnedes/postprocessing work (fix-09pwnmodel2-doorsnedes-and-postprocessing + add-postprocessing-module #40).

get_oppervlakte_pwn_shapes raised when a pand's Naam matched neither "ICAS" nor
"IKIEF". The oppervlaktewater_pwn_shapes_panden v1.0.1 dataset contains a "VIJVER"
feature (TYPE null) that carries neither name, which made 09pwnmodel2 fail on the
mockup data in CI. Since the RIV package represents only the ICAS/IKIEF infiltration
panden, filter to those and drop any other features with a warning rather than raising.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant