The issue is caused by the user-defined package name pname="storm", which raises this error:
gwf.modeltime
# AttributeError: modeltime
note that modeltime is a property that is expected to be available.
Changing pname to other values, like pname="strm" allows normal operation. The package name should not influence the behavior of flopy. It seems that flopy might have confused "storm" with an unrelated and unused "sto" package.
Observed with Windows and Linux. Flopy version 3.7.0.dev0 (current development), and with several other older releases back to flopy-3.4.3 (i.e. this isn't new). This not an issue with the mf6 executable.
A short version of the bug is demonstrated with:
showing the output before and after adding a troubling package name:
The issue is caused by the user-defined package name
pname="storm"
, which raises this error:note that
modeltime
is a property that is expected to be available.Changing
pname
to other values, likepname="strm"
allows normal operation. The package name should not influence the behavior of flopy. It seems that flopy might have confused "storm" with an unrelated and unused "sto" package.Observed with Windows and Linux. Flopy version 3.7.0.dev0 (current development), and with several other older releases back to flopy-3.4.3 (i.e. this isn't new). This not an issue with the mf6 executable.