Skip to content

HFB Package loading issue #675

@John1205

Description

@John1205

Hello I am loading the USGS groundwater built by a GSFLOW, of which MODFLOW is used. In this model, HFB package cannot be successfully loaded by using NAM file. I tried to load using the Load function (hfb = flopy.modflow.ModflowHfb.load('SRPgsf_AddAdjHFBcorr_041513_Copy.hfb', ml)). The error messages are below. Please see the attached files for the details.

HFB files.txt

hfb = flopy.modflow.ModflowHfb.load('SRPgsf_AddAdjHFBcorr_041513_Copy.hfb', ml)
loading hfb6 package file...
loading parameter "sebas_win1"...
Traceback (most recent call last):

File "", line 1, in
hfb = flopy.modflow.ModflowHfb.load('SRPgsf_AddAdjHFBcorr_041513_Copy.hfb', ml)

File "C:\Users\liqia\AppData\Local\Continuum\anaconda3\lib\site-packages\flopy\modflow\mfhfb.py", line 296, in load
pak_parms = mfparbc.load(f, nphfb, dt, model.verbose)

File "C:\Users\liqia\AppData\Local\Continuum\anaconda3\lib\site-packages\flopy\modflow\mfparbc.py", line 114, in load
bnd.append(float(t[jdx]))

IndexError: list index out of range

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