-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
Allowed using xarray with dask arrays #1512
Conversation
Looks good! I had a prototype line like this once before but supporting dask via xarray makes sense. My main comment is that a few unit tests would be nice (marked optional and dask would need to be available on travis). |
I'm now running all existing Dataset tests against an xarray dataset containing dask arrays. Those 60 unit tests should cover it pretty well. |
I'll merge when the tests go green. |
Hold off on merging, found some issues. |
Okay, now fixed. Ready to merge once tests pass. |
Tests have passed. Merging. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
XArray supports wrapping around dask arrays. Generally this doesn't cause any issues but the
dimension_values
method should always return an in-memory NumPy array so this PR is sufficient for us to have full support for dask arrays via xarray.