Demcompare high level description
Demcompare can be run through Demcompare CLI that uses Demcompare pipeline module.
With an input configuration file, Demcompare pipeline module orchestrates :
functions from Dem Tools modules for DEM manipulation
functions from Coregistration module for DEM coregistration
functions from DEM processing module to handle DEM processing methods computation
functions from Stats module to handle statistics metrics computation
functions from Report module to create the output report (Work in progress)
Demcompare API is also detailed in notebooks and automatic API is generated in API Reference section.
Demcompare architecture combines simple python modules with python classes. To generalize some parts, some of those classes have an abstract architecture.
Demcompare’s abstraction are all implemented with the following structure:
The class factory, which is python file named like the class. It only handles the class object generation.
The abstract class template, which is a python file named like the class + “_template”. This file includes all the abstract functions and attributes.
The subclasses, which are python files implementing the subclasses derived from the abstract class. With the class factory and the abstract class template, different subclasses can be implemented deriving from the abstract class template.