Skip to content

Commit

Permalink
use np.reshape instead of da.reshape incase input is np.ndarray rathe…
Browse files Browse the repository at this point in the history
…r than dask array. this will preserve dask array chunks.
  • Loading branch information
bnb32 committed Nov 20, 2024
1 parent 9e40015 commit 420c229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sup3r/bias/bias_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ def _apply_qdm(
tmp = QDM(tmp, max_workers=max_workers)
# Reorgnize array back from (time, space)
# to (spatial, spatial, temporal)
return da.reshape(tmp.T, subset.shape)
return np.reshape(tmp.T, subset.shape)


def local_qdm_bc(
Expand Down

0 comments on commit 420c229

Please sign in to comment.