GlacioHack / xdem

Analysis of digital elevation models (DEMs)
https://xdem.readthedocs.io/
MIT License
123 stars 37 forks source link

ICP slow for large DEMs no matter `subsample` #455

Open rhugonnet opened 7 months ago

rhugonnet commented 7 months ago

Something is probably slowing things before the subsampling when manipulating the arrays: almost 2 min on a 5000x5000 DEM with 5e4 subsample size VS 5s for a 1000x1000 with the same subsample.

rhugonnet commented 4 months ago

Now that I've tested this a bit, it was probably the to_points() function!