Skip to content

Commit

Permalink
test update to MFScalarTranient remapping
Browse files Browse the repository at this point in the history
  • Loading branch information
jlarsen-usgs committed Nov 6, 2024
1 parent 0e00b81 commit 099bbee
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion flopy/mf6/utils/model_splitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3015,7 +3015,10 @@ def _remap_package(self, package, ismvr=False):

elif isinstance(value, mfdatascalar.MFScalarTransient):
for mkey in self._model_dict.keys():
mapped_data[mkey][item] = value._data_storage
val_dict = {}
for perkey, data_storage in value._data_storage.items():
val_dict[perkey] = data_storage.get_data()
mapped_data[mkey][item] = val_dict
elif isinstance(value, mfdatascalar.MFScalar):
for mkey in self._model_dict.keys():
mapped_data[mkey][item] = value.data
Expand Down

0 comments on commit 099bbee

Please sign in to comment.