Skip to content
Unverified Commit 1a9b9cdc authored by kledmundson's avatar kledmundson Committed by GitHub
Browse files

Mosrange Error Handling Improved to Not Abort on Bad Images (#5292)

* Add detailed error handling for mosrange.

*ONERROR, ERRORLOG, and ERRORLIST parameters added for error handling.
*ONERROR dictates whether mosrange will abort or continue when an error
occurs.
*If ONERROR=FAIL (default behavior), mosrange aborts upon error
without generating a map file.
*If ONERROR=CONTINUE, mosrange produces an output map file with data
collected from all successfully processed images.
*A detailed list of files that fail and their associated errors are
written to ERRORLOG if provided.
*A simple list of failed files is written to ERRORLIST if provided.

* Add old style ISIS tests for mosrange error handling.

*Add test for ONERROR=CONTINUE.
*Add test for ONERROR=FAIL.

* Updates to mosrange error handling; converted mosrange to callable app; added gtests; removed old makefile tests

* Added note to CHANGELOG.md describing changes to mosrange error handling behavior.

* Moved cubeFileList size check from Pvl mosrange(UserInterface &ui) to Pvl mosrange(FileList &cubeFileList, UserInterface &ui) on PR review suggestion.
parent 0761d7e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment