The preprocessor mask_landsea is performing poorly with high-res data. When running the following recipe with dask distributed, the task execution basically freezes. Removing the masking preprocessor fixes this issue.
I could trace that to the usage of da instead nphere. In addition, the broadcasting actually never happens since the function's return value is not used.
Describe the bug
The preprocessor
mask_landsea
is performing poorly with high-res data. When running the following recipe with dask distributed, the task execution basically freezes. Removing the masking preprocessor fixes this issue.Example recipe:
I could trace that to the usage of
da
insteadnp
here. In addition, the broadcasting actually never happens since the function's return value is not used.I will provide a fix for that.