Describe the bug
The function Mt3dms.load() in Lines 493 to 501 in the file flopy/seawat/swt.py seems to be missing the load_only argument. Currently, loading a Seawat model results in all Mt3dms packages trying to be loaded even if only a subset is specified via load_only.
To Reproduce
Steps to reproduce the behavior:
Create any Seawat model
Delete some Mt3dms input files
Load only defined input files of the model
swt = flopy.seawat.Seawat.load('model.nam', load_only = ['dis', 'bas6', 'oc', 'btn'], verbose = True)
Verbose output will show that advection package is trying to be loaded, even though not specified
Expected behavior
Only Mt3dms packages defined in load_only will be tried to load.
Desktop (please complete the following information):
Describe the bug The function
Mt3dms.load()
in Lines 493 to 501 in the file flopy/seawat/swt.py seems to be missing theload_only
argument. Currently, loading a Seawat model results in all Mt3dms packages trying to be loaded even if only a subset is specified viaload_only
.To Reproduce Steps to reproduce the behavior:
swt = flopy.seawat.Seawat.load('model.nam', load_only = ['dis', 'bas6', 'oc', 'btn'], verbose = True)
Expected behavior Only Mt3dms packages defined in
load_only
will be tried to load.Desktop (please complete the following information):