xdem icon indicating copy to clipboard operation
xdem copied to clipboard

Vectorize `terrain.py` methods

Open rhugonnet opened this issue 1 year ago • 1 comments

This is planned for soon, using the convolutions added in #292 (moved to GeoUtils eventually, #300) Also, to echo a comment in #301, we should define the output dtypes of terrain attributes and use the default nodata of GeoUtils via `raster._default_ndv()'.

rhugonnet avatar Sep 13 '22 09:09 rhugonnet

What exactly do you mean with vectorize? Speed up? The np.vectorize decorator won't work as it's using numba, not numpy for the brunt of the work.

erikmannerfelt avatar Aug 16 '23 10:08 erikmannerfelt