We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c1d839 commit 3800e9eCopy full SHA for 3800e9e
1 file changed
src/pipt/loop/ensemble.py
@@ -279,7 +279,7 @@ def _org_obs_data(self):
279
data_array = load_data[load_data.files[0]]
280
281
# 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']:
+ if self.sparse_info is not None and self.keys_da['datatype'][0] == self.sparse_info['compress_data']:
283
data_array = self.compress_manager(data_array, vintage, False)
284
vintage = vintage + 1
285
0 commit comments