Skip to content

Loading MODFLOW-6 model with multiple same type packages #614

@kyledavis-usgs

Description

@kyledavis-usgs

I have loaded a MODFLOW-6 model with multiple packages of the same type into flopy. I'm using flopy 3.2.13 (develop). For example I have 21 well packages (broken up by watershed in our model), 3 recharge packages (two list-based recharge packages for irrigation areas and one array-based recharge packages for basin-wide recharge), and 2 drain packages (one for ephemeral streams and one for perennial).

I've created a model instance (MI) for the MF6 model, and the packages appear to load into the instance. But when I try to access them, it doesn't seem to be retaining multiple packages of the same type in flopy for the WEL and DRN packages; however, our multiple recharge packages (2 of type rch and 1 of type rcha) loaded properly. When I access the MI.drn or MI.wel, it only returns one package for each type as opposed to MI.rch[0] or MI.rch[1] allows me to access the various recharge packages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions