Skip to content

[FEATURE] - HFB support for iMOD5 models with linearrings #1757

@JoerivanEngelen

Description

@JoerivanEngelen

@FransRoelofsen ran into this for MORIA and after discussion with @Huite:

iMOD5 supported providing HFBs as linearrings as well in the GEN file. There are models which rely on GEN files containing both linestrings as wells as linearrings in a single file. We now automatically convert linearrings in GEN files to polygons. I think this is what most users expect. In addition, MODFLOW6 HFBs now only expect linestrings. Sometimes users may want to provide a linearring which could be a building pit or something. I think this should be a linearring, as polygons would lead to headaches: What to do with polygons with interior rings?

We should therefore do the following to support these:

  • In GEN file reader: Split up linestrings and polygons in different lists, separately convert to shapely objects, then merge together into single GeoDataframe
  • in iMOD5 HFB converter: Convert polygon to linearring
  • in MODFLOW6 : Add support for providing HFBs as linearrings, to simulate things like building pits.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    📯 New

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions