I have tried to use the loading function m1 = flopy.modflow.Modflow.load(fname, version='mfusg',verbose=False) to load a few different MF-USG models from very simples ones (a transient version of the example model in the document) to real-world complex models. With some careful twisting, it can load the data if check=False is applied. However, I have difficulty passing the check function. ALthough the error messages are different for different models, they are related to the code below,
C:\Anaconda\envs\py3\lib\site-packages\flopy\pakbase.py in _check_storage(self, chk, storage_coeff)
417 chk.values(
418 sarrays["sy"],
--> 419 active & (sarrays["sy"] < 0),
420 "zero or negative specific yield values",
421 "Error",
TypeError: ufunc 'bitwise_and' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
I have attached a simple model below for testing. It is the first example model with the latest release. I only changed the steady-state model to a transient model.
01A_nestedgrid_nognc_TR.zip
I have tried to use the loading function
m1 = flopy.modflow.Modflow.load(fname, version='mfusg',verbose=False)to load a few different MF-USG models from very simples ones (a transient version of the example model in the document) to real-world complex models. With some careful twisting, it can load the data ifcheck=Falseis applied. However, I have difficulty passing the check function. ALthough the error messages are different for different models, they are related to the code below,C:\Anaconda\envs\py3\lib\site-packages\flopy\pakbase.py in _check_storage(self, chk, storage_coeff)I have attached a simple model below for testing. It is the first example model with the latest release. I only changed the steady-state model to a transient model.
01A_nestedgrid_nognc_TR.zip