Skip to content

Commit

Permalink
Merge pull request #31 from Jena-Earth-Observation-School/dask/rechun…
Browse files Browse the repository at this point in the history
…k_method

Use `p2p` as default rechunk method
  • Loading branch information
maawoo authored Dec 11, 2023
2 parents 3714dde + 8b93ad6 commit 8c3382a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sdc/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import dask
import xarray as xr
from sdc.cluster import start_slurm_cluster

dask.config.set({"array.rechunk.method": "p2p"})
xr.set_options(keep_attrs=True)

dask_client, cluster = start_slurm_cluster()

0 comments on commit 8c3382a

Please sign in to comment.