Removes the use of footprints from the DemCreator functionality of EVHR. See #21 for more details.
Previously, the method for finding pairs (a series of WV scenes that will be used to calcuate a DEM) was through the use of the footprints database. This PR removes the functionality and now requires the user to provide the pairs explicitly (checked with Maggie who said this is what they do now anyways so it is ideal).
DemCreatorCLV.py
Removed arg options for users to run the process with an envelope, catalog ID, or a single scene.
Added a single option for users to supply a CSV there each row represents a pair for processing
col1 is reserved for the pair name, subsequent cols are reserved for scenes which make up the pair.
Note: CSV was chosen due to EvhrToaCLV using the CSV format as it's input file format.
DemCreator.py
Removed all code which uses footprints for querying (env, catID, single scene)
The process goes directly to processing the pair (given as a dict from the view)
Additional edits:
Edited to where the cog generation process would continue even if a DEM has been created previously. This allows for the edge-case where a the DEM is already created but the COG is not. Previously, the process would stop even if the COG flag is provided but no COG for the existing DEM has been created.
Description
Removes the use of footprints from the DemCreator functionality of EVHR. See #21 for more details.
Previously, the method for finding pairs (a series of WV scenes that will be used to calcuate a DEM) was through the use of the footprints database. This PR removes the functionality and now requires the user to provide the pairs explicitly (checked with Maggie who said this is what they do now anyways so it is ideal).
DemCreatorCLV.py
See here for an example csv.
Note: CSV was chosen due to EvhrToaCLV using the CSV format as it's input file format.
DemCreator.py
Additional edits: