Also, ard.py can break if --src-file is used the data dirs are moved somewhere else. The stack expects old dirs, and even though new dirs are identical data, the code assumes dates are removed because the paths don't match.
A fix includes:
Add the paths to the error message/debug printout
Consider adding some troubleshooting questions "somewhere" to guide users.
The
insar/workflow/luigi/ard.py
module can break in certain circumstances when adding support for new sensors.If the metadata/the file paths don't match, such as the file paths,
ard.py
breaks here: https://github.com/GeoscienceAustralia/gamma_insar/blob/pygamma_workflow/insar/workflow/luigi/ard.py#L203Also,
ard.py
can break if--src-file
is used the data dirs are moved somewhere else. The stack expects old dirs, and even though new dirs are identical data, the code assumes dates are removed because the paths don't match.A fix includes: