-
Notifications
You must be signed in to change notification settings - Fork 33
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
Kernel restarting #35
Comments
It depends how you manipulate your xarray and what kind of data processing you perform. We can increase resources but before can we look at what you do? Do you want to look at here now? Where are you? |
It happens when I calculate weighted averages by using groupby().sum() on arrays which are large(!). We don't have to fix this tonight - I figured that the code works if I slice the datasets. So if I run into this problem again (and don't figure out what to do), I'll ask again! |
Yes. Slicing is the right approach and actually you can use dask cluster to run your computation in parallel. |
Hi! i'll write an example notebook on using xarray with dask so we can circumvent this problem. |
Hei! Has this been fixed? I cannot plot any of my data as kernel crashes. |
Do you use dask cluster? |
No! @daliagachc earlier in the comments mentioned he will make a notebook for that, can we find it somewhere? |
I put a very simple example at https://nordicesmhub.github.io/NEGI-Abisko-2019/training/CMIP6_dask.html |
Hey, @daliagachc! Maybe you can add the client thing here? https://nordicesmhub.github.io/NEGI-Abisko-2019/training/gridded_model_data_dask_rolling_mean.html |
@sarambl agreed! how? :) |
Are you telling me I should do it, @daliagachc ?! |
lets see.... i forked, modified and pull requested. |
Ahhh, now I get the question! Yes, if you don't already have a fork (in which case u sync it ) |
Is this error also related to dask? Worker exceeded 95% memory budget. Restarting |
@jrieksta can you point to your notebook? |
Hi @jrieksta! |
@siljeci got it work. my visio finishes in few minutes. |
When I try to run a code by using JupyterHub I get the message:
"Kernel restarting:
The kernel for Untitled1.ipynb appears to have died. It will restart automatically."
It seems like this happens when I use large arrays. Is this a "normal" message, such that the only fix is to slice every dataset before using them?
The text was updated successfully, but these errors were encountered: