Memory allocation error when exporting sliced xarray data array to a numpy array #5771
Unanswered
lassiterdc
asked this question in
Q&A
Replies: 1 comment 7 replies
-
It could be the Dask issue - please take a look at my other reported issue. Downgrading Dask took care of the problem for me. |
Beta Was this translation helpful? Give feedback.
7 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.
Uh oh!
There was an error while loading. Please reload this page.
-
The sliced data array is 0.002 megabytes but when I try to export it to a numpy array, xarray tries to load the entire unsliced data array into memory which causes a memory allocation error (which is in itself odd since the dataset is only 318MB).
MRMS precipitation data in grib2 format (318MB): https://www.dropbox.com/s/xq0vvamcydu3qn2/PrecipRate_20210524.grib2?dl=0
Beta Was this translation helpful? Give feedback.
All reactions