ISIS Application Documentation
pvldiff | Standard View | TOC | Home |
Compare two pvl files
Description
Categories
Groups
Examples
History
Name | Description |
---|---|
FROM | Input PVL file 1 |
FROM2 | Input PVL file 2 |
DIFF | Input PVL tolerance file |
TO | Differences |
Type | filename |
---|---|
File Mode | input |
Filter | *.pvl *.txt |
Type | filename |
---|---|
File Mode | input |
Filter | *.pvl *.txt |
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.
Type | filename |
---|---|
File Mode | input |
Internal Default | None |
Filter | *.pvl *.txt *.pvl.DIFF |
This will output the differences to a text file.
Type | filename |
---|---|
File Mode | output |
Internal Default | None |
Filter | *.txt |
Basic Comparison
Running this program with pvl1.pvl and pvl2.pvl This shows how to run this program to compare the two pvl files pvl1.pvl and pvl2.pvl. |
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. |
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. |
Basic Comparison With Tolerance
Running this program with pvl1.pvl and pvl2.pvl with tolerance This shows how to run this program to compare the two pvl files pvl1.pvl and pvl2.pvl using a tolerance file. |
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. |
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. |
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 |