-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Dask.array deepcopy does not preserve masking since 0.18.2 #3848
Labels
Comments
This is causing us to pin dask in iris 😢 I suspect the change here, but I don't know really enough to suggest a fix ... |
cc @jcrist
…On Fri, Aug 3, 2018 at 11:32 AM, Patrick Peglar ***@***.***> wrote:
This has caused us to pin dask in iris <https://github.com/SciTools/iris>
😢
as it breaks various unit tests for us.
I suspect the change here
<https://github.com/dask/dask/pull/3754/files#r207583443>, but I don't
know really enough to suggest a fix ... but surely this did not respect the
comment anyway ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3848 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AASszOdhXSMxZJ5q2rlYeXCsOgYehTD9ks5uNG0lgaJpZM4VuMMc>
.
|
Looks like the |
TAdeJong
added a commit
to TAdeJong/dask
that referenced
this issue
Aug 5, 2018
This to preserve masking upon deepcopy refs dask#3848
mrocklin
pushed a commit
that referenced
this issue
Aug 21, 2018
* Use the copy method of the object instead of np.copy This to preserve masking upon deepcopy refs #3848 * Add test for the copy machinery for da.ma * Fix flake8 compliance
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
If 'a' is a dask array wrapped around a numpy masked array (with "from _array(..., asarray=False)",
then the result of "copy.deepcopy(a).compute()" is now (wrongly) not a masked array,
Though the original "a.compute()", and even "copy.copy(a)" are correct.
Example code to show :
For example, in dask 0.18.1
But in 0.18.2 ...
The text was updated successfully, but these errors were encountered: