-
Notifications
You must be signed in to change notification settings - Fork 42
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
Unhandled numba exception #440
Comments
Hi @RomillyClose, Thanks for reporting the issue. I'm not familiar with such error, but maybe @rhugonnet will be. A few questions/suggestions to move forward:
In the meantime, an easy fix is to use the richdem implementation, with the argument |
Not familiar with it unfortunately. For a 2 m DEM, I'd say it is simply too big. @RomillyClose Maybe your current REMA strip is the same size on-disk as the other one you mention, but larger in-memory due to more NaNs? (nodata are compressed on disk but loaded as float in memory). Probably of interest to you: After a lot of discussions this summer with other Python packages, we intend to implement out-of-memory operations through an Xarray accessor in xDEM during the next year. It'll take a little while to get there, but that will solve your scaling problems for sure 😉 |
This should get easier when adding Xarray accessor, see #392, by doing out-of-memory operations. |
I'm working on XDEM version 0.0.14. I received the following error when trying to get the terrain attributes for a 2m resolution REMA strip:
The code takes a long time to generate the attribute, and then fails. The error is consistent with aspect/slope/etc, so it seems to be universal to all terrain attributes.
I've tested on 30m ASTER strip and a heavily cropped version of the REMA strip, and it works without issue, although it is a little slower. Before the latest update, I've previously generated terrain attributes on REMA strips of this size without issue, so this error is a surprise.
If you need any more information from me to help with this, please let me know. Do you know if there is a simple fix I'm missing?
The text was updated successfully, but these errors were encountered: