Allow bias-correction methods to be called from residuals #606
Labels
architecture
Need to re-organize or re-structure something
enhancement
Feature improvement or request
Brought up by @jbelart: Bias-correction methods are not specific to two DEMs, they work on residuals of two datasets, here elevation differences.
Right now, it is not possible to call a
BiasCorr
method from adDEM
, which could be preferable for users. We could add this possibility.In time, we might think about moving this kind of bias-correction method to GeoUtils, as they are generalizable to other data?
In the meantime, a trick to use xDEM's current
BiasCorr
on elevation differences (or any residuals): provide residuals forref_elev
, and a matrix of zeros fortba_dem
!The text was updated successfully, but these errors were encountered: