Skip to content

Commit 3800e9e

Browse files
KriFos1Copilot
andcommitted
Update src/pipt/loop/ensemble.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 3c1d839 commit 3800e9e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pipt/loop/ensemble.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ def _org_obs_data(self):
279279
data_array = load_data[load_data.files[0]]
280280

281281
# Perform compression for the data type specified in self.sparse_info['compress_data'] if required
282-
if self.sparse_info is not None and datatype == self.sparse_info['compress_data']:
282+
if self.sparse_info is not None and self.keys_da['datatype'][0] == self.sparse_info['compress_data']:
283283
data_array = self.compress_manager(data_array, vintage, False)
284284
vintage = vintage + 1
285285

0 commit comments

Comments
 (0)