Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

open multiple files using mfdataset #5

Open
larsbuntemeyer opened this issue Nov 21, 2024 · 1 comment
Open

open multiple files using mfdataset #5

larsbuntemeyer opened this issue Nov 21, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@larsbuntemeyer
Copy link
Contributor

I think at jsc-cordex, we are running into pydata/xarray#7079, make sure to use:

import dask

dask.config.set(scheduler="single-threaded")

when working with open_mfdataset...

@larsbuntemeyer larsbuntemeyer added the documentation Improvements or additions to documentation label Nov 21, 2024
@larsbuntemeyer larsbuntemeyer transferred this issue from euro-cordex/joint-evaluation Dec 9, 2024
@larsbuntemeyer
Copy link
Contributor Author

also need to set threads_per_worker=1... Opening NetCDF in parallel is not threadsafe...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant