bias_correct_tiles.py

Run MMASTER post-processing bias corrections, given external elevation data.

usage: bias_correct_tiles.py [-h] [-s SLAVEDEM] [-a EXC_MASK] [-b INC_MASK]
                             [-n NPROC] [-t TMPDIR] [-o OUTDIR] [-p] [-l] [-z]
                             master_tiles indir [indir ...]

Positional Arguments

master_tiles Shapefile of master DEM footprints to be used for bias correction
indir directory/directories where final, georeferenced images are located.

Named Arguments

-s, --slavedem (optional) name of DEM to correct. By default, mmaster_bias_correction.py looks for MMASTER DEMs of the form AST_L1A_003…_Z.tif
-a, --exc_mask exclusion mask. Areas inside of this shapefile (i.e., glaciers) will not be used for coregistration [None]
-b, --inc_mask inclusion mask. Areas outside of this mask (i.e., water) will not be used for coregistration. [None]
-n, --nproc

number of processors to use [1].

Default: 1

-t, --tmpdir tmp directory to process files to [None]
-o, --outdir

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

Default: “biasrem”

-p, --points

process assuming that master DEM is point elevations [False].

Default: False

-l, --log

write output to a log file rather than printing to the screen [False].

Default: False

-z, --zip

extract from zip archive, keep a minimum of output files (logs and pdfs only) [False].

Default: False