pvldiff
Compare two pvl files
Categories
History
Steven Lambright | 2007-08-10 | Original version |
Travis Addair | 2009-07-31 | Added capabilities for unique tolerances and ignore keys for individual array elements within keywords |
Christopher Combs | 2017-06-16 | Added capability to ignore file paths for elements of PvlKeywords |
Parameters
Files
Type | filename |
---|---|
File Mode | input |
Filter | *.pvl *.txt |
Type | filename |
---|---|
File Mode | input |
Filter | *.pvl *.txt |
Type | filename |
---|---|
File Mode | input |
Internal Default | None |
Filter | *.pvl *.txt *.pvl.DIFF |
Type | filename |
---|---|
File Mode | output |
Internal Default | None |
Filter | *.txt |
Example 1
Basic Comparison
Command Line
pvldiff from=pvl1.pvl from2=pvl2.pvl
GUI Screenshot
Running this program with pvl1.pvl and pvl2.pvl
Differencing two filesThis shows how to run this program to compare the two pvl files pvl1.pvl and pvl2.pvl.
Data Files
Links open in a new window.pvl1.pvl | This is the file used in the input parameter FROM. It will be compared with pvl2.pvl. |
---|---|
pvl2.pvl | This is the file used in the input parameter FROM2. It will be compared with pvl1.pvl. |
Output Image
The results from comparing pvl1.pvl and pvl2.pvl
ResultsThis 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
Command Line
pvldiff from=pvl1.pvl from2=pvl2.pvl diff=tolerance.pvl
GUI Screenshot
Running this program with pvl1.pvl and pvl2.pvl with tolerance
Differencing two filesThis shows how to run this program to compare the two pvl files pvl1.pvl and pvl2.pvl using a tolerance file.
Data Files
Links open in a new window.pvl1.pvl | This is the file used in the input parameter FROM. It will be compared with pvl2.pvl. |
---|---|
pvl2.pvl | This is the file used in the input parameter FROM2. It will be compared with pvl1.pvl. |
tolerance.pvl | This is the file used in the input parameter DIFF. It specifies the tolerance for the two files. |