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

Remove hardcoded single-threaded dask scheduler for dataset combine #614

Merged
merged 2 commits into from
Jun 30, 2023

Conversation

dougiesquire
Copy link
Contributor

@dougiesquire dougiesquire commented Jun 30, 2023

Change Summary

With this PR, dataset combine is no longer hardcoded to use a single-threaded dask scheduler. Hardcoding this, leads to regular UserWarnings as many/most users already have an active distributed client. I'm happy to be told that this is a bad idea, or that there's a better way to fix the issue reported in #596, but I'm submitting this now to get the ball rolling.

Related issue number

Closes #596

Checklist

  • Unit tests for the changes exist (not really appropriate here)
  • Tests pass on CI
  • Documentation reflects the changes where applicable

@dougiesquire dougiesquire requested a review from mgrover1 as a code owner June 30, 2023 06:25
@mgrover1
Copy link
Collaborator

This looks great to me @dougiesquire ! Merging!

@mgrover1 mgrover1 merged commit 02571ae into intake:main Jun 30, 2023
@dougiesquire dougiesquire deleted the 596_dask_userwarning branch July 3, 2023 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Frequent dask UserWarning
2 participants