This program will compare two PVL files with or without a tolerance.
The purpose of this program is for application tests, that output a Pvl formatted file, to be able
to specify tolerances in numerical values of keywords.
This is used to specify tolerances between the two input file. If this file is not specified, the two Pvl files must match exactly.
See Isis Application and Category Test How-to for information about the tolerance file.
This is the file used in the input parameter FROM2. It will be compared with pvl1.pvl.
Output Image
Results
The results from comparing pvl1.pvl and pvl2.pvl
This is the output after running this program on pvl1.pvl and pvl2.pvl. Since the input pvl files differed, it shows the first difference encountered.
Notice it also says exactly where the difference was found and, if numerical, the tolerance.
Example 2
Basic Comparison With Tolerance
Description
This example will cover doing a basic difference between two pvl files with a tolerance file.
This is the file used in the input parameter DIFF. It specifies the tolerance for the two files.
Output Image
Results
The results from comparing pvl1.pvl and pvl2.pvl
This is the output after running this program on pvl1.pvl and pvl2.pvl. The input pvl files differed,
but not more than specified by the tolerance so the results came back identicle.