xdem
xdem copied to clipboard
Analysis of digital elevation models (DEMs)
The output of `scipy.optimize.basinhopping` varies between operating systems, added TODOs in the tests in #304. It does not look like it's due to the random `seed` that seems correctly passed,...
The error is `TypeError: 'module' object is not callable` when calling `xdem.examples.get_path()` in different modules of `sphinx-gallery`. It's hard to trace back. Maybe @adehecq can look at this locally on...
``` import xdem refdem = xdem.DEM(xdem.examples.get_path("longyearbyen_ref_dem")) %time test = xdem.terrain._get_terrainattr_richdem(refdem, "profile_curvature") %time test = xdem.terrain.profile_curvature(dem=refdem, use_richdem=True) %time test = xdem.terrain.get_terrain_attribute(dem=refdem, attribute="profile_curvature", use_richdem=True) ``` The first option takes 67 ms while...
Currently, in the `volume` module we have tools to interpolate gappy ddems, but we don't provide any tool to directly calculate the mean elevation change or volume change of all...
This is more a glaciological issue than a code-related issue. The normalized regional hypsometric interpolation is great for filling large gaps. However, for dramatically retreating glaciers, interpolating the elevation change...
Wow, I was just browsing through the DEMCollection and found this f-string which is not an f-string. Also, the `{dh=}` syntax is not compatible with python=3.7, so it should be...
See issues that arose in #245, for now only covered by new doctests
Issue brought up in #240. Some methods of subclasses that are inherited from Raster have arguments that need to be copied to the child class (e.g. the argument `new_array` in...
For speed up, this line should not be called on the last iteration, since tba_dem_mod is not used afterwards. https://github.com/GlacioHack/xdem/blob/2564f5f1c4654f1b153a88193851f40a55f09226/xdem/coreg.py#L1140
A nice suggestion by Simon Gascoin (@sgascoin). An example of a very simple algorithm that finds a horizontal shift between two DEMs by minimizing the NMAD. A good alternative to...