dem_coregistration.py

Iteratively calculate co-registration parameters for two DEMs, as seen in Nuth and Kääb (2011).

usage: dem_coregistration.py [-h] [-a MASK1] [-b MASK2] [-o OUTDIR] [-i] [-f]
                             [-g ALG]
                             masterdem slavedem

Positional Arguments

masterdem path to master DEM to be used for co-registration
slavedem path to slave DEM to be co-registered

Named Arguments

-a, --mask1 Glacier mask. Areas inside of this shapefile will not be used for coregistration [None]
-b, --mask2 Land mask. Areas outside of this mask (i.e., water) will not be used for coregistration. [None]
-o, --outdir

Directory to output files to (creates if not already present). [.]

Default: “.”

-i, --icesat

Process assuming that master DEM is ICESat data [False].

Default: False

-f, --full_ext

Write full extent of master DEM and shifted slave DEM. [False].

Default: False

-g, --alg

Algorithm to calculate slope, aspect. One of ‘ZevenbergenThorne’ or ‘Horn’. [Horn]

Default: “Horn”