Skip to content

Commit

Permalink
consider surf_rate_specified when building the type list
Browse files Browse the repository at this point in the history
  • Loading branch information
mjreno authored and mjreno committed Jun 17, 2024
1 parent 5da5a36 commit a51e75d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 0 additions & 2 deletions autotest/regression/test_mf6.py
Original file line number Diff line number Diff line change
Expand Up @@ -1528,7 +1528,6 @@ def test005_create_tests_advgw_tidal(function_tmpdir, example_data_path):
50.0,
0.0004,
10.0,
None,
)
evt_package_test = ModflowGwfevt(
model,
Expand All @@ -1554,7 +1553,6 @@ def test005_create_tests_advgw_tidal(function_tmpdir, example_data_path):
0.5,
0.3,
0.1,
None,
)
evt_package = ModflowGwfevt(
model,
Expand Down
8 changes: 7 additions & 1 deletion flopy/mf6/data/mfdatastorage.py
Original file line number Diff line number Diff line change
Expand Up @@ -2710,7 +2710,13 @@ def build_type_list(
self._append_type_lists(
aux_var_name, data_type, False
)

elif data_item.name == "petm0" and resolve_data_shape:
for key in self._simulation_data.mfdata:
if "surf_rate_specified" in key:
if self._simulation_data.mfdata[key].get_data():
self._append_type_lists(
data_item.name, data_type, False
)
elif data_item.type == DatumType.record:
# record within a record, recurse
self.build_type_list(data_item, True, data)
Expand Down

0 comments on commit a51e75d

Please sign in to comment.