Skip to content

Commit

Permalink
log shape of data being pre loaded into mem by sup3rx
Browse files Browse the repository at this point in the history
  • Loading branch information
grantbuster committed Nov 4, 2024
1 parent ba3b226 commit 8085a43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sup3r/preprocessing/accessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ def compute(self, **kwargs):

for f in self._ds.data_vars:
self._ds[f] = self._ds[f].compute(**kwargs)
logger.debug(f'Loaded {f} into memory. {_mem_check()}')
logger.debug(f'Loaded {f} into memory with shape '
f'{self._ds[f].shape}. {_mem_check()}')
logger.debug(f'Loaded dataset into memory: {self._ds}')
logger.debug(f'Post-loading: {_mem_check()}')
return self
Expand Down

0 comments on commit 8085a43

Please sign in to comment.