-
Notifications
You must be signed in to change notification settings - Fork 284
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
Use the correct chunktype
for Dask arrays
#5801
Conversation
Hi @bouweandela However, I am also concerned that ideally we should also be addressing #5800 if possible (!) From my reading of dask docs, I think it may also be better to pass a zero-shaped instance instead of a class, since the from_array docs don't actually mandate that usage. So I think something like Does this make sense to you ? |
3752b42
to
0d1fc27
Compare
chunktype
for Dask arrays
356288b
to
be91f69
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5801 +/- ##
==========================================
+ Coverage 89.76% 89.78% +0.01%
==========================================
Files 93 93
Lines 22982 23004 +22
Branches 5006 5015 +9
==========================================
+ Hits 20630 20654 +24
+ Misses 1622 1620 -2
Partials 730 730 ☔ View full report in Codecov by Sentry. |
Yes, puzzling. We are looking into it... |
Ok I think we know what this is now -- fix coming soon. UPDATE: see #5925 -- we think this fixes it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think everything here is basically good, and it's a really nice touch to provide a fix for concatenate as well as stack.
However, I think we need to rethink the merge, since some changes from #5588 seem to have got lost.
I guess that means that merging back into this will cause problems
( I expect at least some tests ought then to fail, otherwise where is the testing of those new keywords ?? )
So I haven't updated with main, as you may want to resolve this in your own way.
From a quick search I also think that, unlike 'stack', there are multiple uses of 'concatenate' elsewhere in the Iris code that would benefit from using the new routine.
However, given how involved this is getting, it would make good sense to get this working + merged in first : then I can follow up with another to expand the use of _lazy.data.concatenate
.
Co-authored-by: Patrick Peglar <[email protected]>
for more information, see https://pre-commit.ci
Thank you for reviewing @pp-mo! I just merged the latest
I refactored the |
Thanks no, I just hadn't understood fully what you were doing. It's good ! |
🚀 Pull Request
Description
Use the correct
chunktype
for Dask arrays. Closes #5800.Consult Iris pull request check list
Add any of the below labels to trigger actions on this PR: