Replies: 1 comment
-
Ok, so winning setting combination:
dask='allowed' instead of 'parallelize' got rid of the error. If I used vectorize=True (something I thought might be an issue) it crashed, without it it only almost crashed (got up to ~31.5 of my 32 GB server in the middle of running). If anyone has thoughts on how to improve this code, however, please chime in. I still have to run this with a higher resolution product (1/10 degree rather than 1 degree resolution, many more lats and lons) and I can try on a bigger server, but not 100x bigger :/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm sort of new to xarray, and most of the things I've had to do I've been able to do with built in functions that work easily with dask. Right now, however, I need to use a lowpass filter on a large dataset, dsl (a few decades of daily time steps, lat, lon). Below is code I think works the way I want it to on smaller datasets, but here it crashes my kernel due to the size of dsl. I tried apply_ufunc, but it's new to me and I'm getting an error I'm not sure how to resolve, also below.
If this has been answered before or should be asked somewhere else please let me know. Some google searching and browsing this discussion board hasn't helped me so far, on both the general approach and my specific errors. I did find the xr-scipy package but it's also creating errors I can't figure out how to resolve with its existing documentation.
Beta Was this translation helpful? Give feedback.
All reactions