Skip to content

Parallel regridder with dask distributed #321

Answered by aulemahal
fedecutraro asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @fedecutraro,

Generating the weights in parallel is a recent feature and is still experimental. Due to the difficulties of running ESMF itself (the compiled fortran program) in a multi-thread setting. This means that we can't use the distributed client (which mixes both threads and processes)1 so the current implementation forces dask to use only processes, leading to the warning message you saw.

Once the weights are computed, they are applied according to dask current settings, using your distributed client. Note that parallel generation is only useful if the output grid is very large (i.e. you are upscaling your data).

Footnotes

  1. Or at least, nobody has yet found a clean way to use …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by fedecutraro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants