-
Notifications
You must be signed in to change notification settings - Fork 25
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
cookbook
with dask
client gives out _a lot of_ warnings about bad chunking
#335
Comments
Discussion in COSIMA/cosima-recipes#305 might be relevant. |
I think this is the same issue as #333 And per COSIMA/cosima-recipes#305 (comment), the suggestion is to remove the chunking that the cookbook is doing. |
Yup. Xarray v2023.09.0 introduced some changes to the way the As I said in COSIMA/cosima-recipes#305 (comment), the best fix is probably to change the Note that all that's changed is that the warning has been added to xarray. This was always happening in the |
oops, yes this may be a duplicate or related to #333! @dougiesquire yeap thanks for re-iterating. I just wanted this in the cookbook repo. So I understand that the only change we got is that the warnings appeared. But I presume, that the folks at xarray/dask decided to add the warnings for a reason. Therefore, from what I understand, we could either:
|
I think the warnings are doing what they're supposed to here. If you want to, you could ignore the warnings with something like: import warnings
warnings.filterwarnings("ignore", message="The specified chunks separate the stored chunks along dimension") Probably the best option is to change the |
Use the intake-catalogue :) |
cheeky :) |
I've been getting these for a while. I think we shouldn't ignore these.
I managed to pin it down to the warnings appearing only when a dask client is present. See
https://gist.github.com/navidcy/2fd2a4464d8cf06b25e1b2130c3cfbe9
The text was updated successfully, but these errors were encountered: