Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion autotest/regression/test_mf6.py
Original file line number Diff line number Diff line change
Expand Up @@ -948,9 +948,14 @@ def test_np002(function_tmpdir, example_data_path):
oc_package.printrecord.set_data([("HEAD", "ALL"), ("BUDGET", "ALL")], 1)

sto_package = ModflowGwfsto(
model, save_flows=True, iconvert=1, ss=0.000001, sy=0.15
model, save_flows=True, iconvert=0, ss=0.000001, sy=None, pname="sto_t"
)
sto_package.check()

model.remove_package("sto_t")
sto_package = ModflowGwfsto(
model, save_flows=True, iconvert=1, ss=0.000001, sy=0.15
)
hfb_package = ModflowGwfhfb(
model,
print_input=True,
Expand Down
9 changes: 9 additions & 0 deletions flopy/pakbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,15 @@ def _check_storage(self, chk, storage_coeff):
skip_sy_check = True
else:
iconvert = self.iconvert.array
inds = np.array(
[
True if l > 0 or l < 0 else False
for l in iconvert.flatten()
]
)
if not inds.any():
skip_sy_check = True

for ishape in np.ndindex(active.shape):
if active[ishape]:
active[ishape] = (
Expand Down