Skip to content

bug: FloPy load throws error reading .nam file for a USG model #1701

Description

@SamanTavakoli

Describe the bug
FloPy throws an error attemping to load a USG model. The USG model has LPF package for model properties.

To Reproduce
ml = flopy.modflow.Modflow.load("SV_SWI_uni_01j.nam" ,version = "mfusg", verbose = True, check = False)

File D:\Software\Anaconda3\lib\site-packages\flopy\modflow\mf.py:811 in load
dis = disnamdata.package.load(

AttributeError: 'NoneType' object has no attribute 'load'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions