From 099bbee7bd207845a62f0f26b5899b39d4b5c673 Mon Sep 17 00:00:00 2001 From: jlarsen Date: Tue, 5 Nov 2024 16:29:31 -0800 Subject: [PATCH] test update to MFScalarTranient remapping --- flopy/mf6/utils/model_splitter.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flopy/mf6/utils/model_splitter.py b/flopy/mf6/utils/model_splitter.py index cd8346265..8031f1a03 100644 --- a/flopy/mf6/utils/model_splitter.py +++ b/flopy/mf6/utils/model_splitter.py @@ -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