I am loading a groundwater model built with MODFLOW-NWT in Santa Rose Plain. The files can be downloaded here. The packages (SFR, HFB ) were not loaded successfully. When I load the package, the model shows the following error. Can anyone help me with this issue? Thanks.
sfr = flopy.modflow.ModflowSfr2.load(f, model = ml)
loading sfr2 package file...
Traceback (most recent call last):
File "", line 1, in
sfr = flopy.modflow.ModflowSfr2.load(f, model = ml)
File "C:\Users\liqia\AppData\Local\Continuum\anaconda3\lib\site-packages\flopy\modflow\mfsfr2.py", line 885, in load
_get_dataset(f.readline(), [0.0] * 8))
File "C:\Users\liqia\AppData\Local\Continuum\anaconda3\lib\site-packages\flopy\modflow\mfsfr2.py", line 2781, in _get_dataset
dataset[i] = n
IndexError: list assignment index out of range
I am loading a groundwater model built with MODFLOW-NWT in Santa Rose Plain. The files can be downloaded here. The packages (SFR, HFB ) were not loaded successfully. When I load the package, the model shows the following error. Can anyone help me with this issue? Thanks.
sfr = flopy.modflow.ModflowSfr2.load(f, model = ml)
loading sfr2 package file...
Traceback (most recent call last):
File "", line 1, in
sfr = flopy.modflow.ModflowSfr2.load(f, model = ml)
File "C:\Users\liqia\AppData\Local\Continuum\anaconda3\lib\site-packages\flopy\modflow\mfsfr2.py", line 885, in load
_get_dataset(f.readline(), [0.0] * 8))
File "C:\Users\liqia\AppData\Local\Continuum\anaconda3\lib\site-packages\flopy\modflow\mfsfr2.py", line 2781, in _get_dataset
dataset[i] = n
IndexError: list assignment index out of range