-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Couldn't change values for on-disk datasets opened by open_mfdataset() (xarray > 0.8.2) #1805
Comments
Can you share full information for how you created this dataset? I cannot reproduce this:
|
I use this dataset:
Also
|
OK, I can reproduce this. The problem is assigning to specific elements of It's not entirely obvious how to fix this. Probably the simplest fix is to make |
It's works correct for xarray 0.8.2... |
So old code is broken now. |
Hm, I tested with "cache=True" but it still doesn't work. |
I meant
Yes, this is an unfortunate/unintended consequence of #1024 ("Disable automatic cache with dask"). |
Is it possible to fix the "cache" option for open_mfdataset()? And raise error in other case. |
And in-memory dataarray couldn't be modified too:
But why? |
@mobigroup |
In order to maintain a list of currently relevant issues, we mark issues as stale after a period of inactivity If this issue remains relevant, please comment here or remove the |
It doesn't work:
But it works:
The text was updated successfully, but these errors were encountered: