Home
About ISIS
Support
Download

ISIS 3

Documentation
Tutorials
Technical Documents

ISIS 2

Documentation
Tutorials
Technical Documents

Search

USGS

ISIS 3 Application Documentation


cnetdiff

Printer Friendly View | TOC | Home

Compare two control networks

Overview Parameters

Description

This program will compare two control network files. The purpose of this program is for application tests that output a control network formatted file, to be able to compare binary control networks with tolerances in numerical values of keywords. Note: This application only checks the ControlNet keywords Network ID and Target Name, other keywords for the network, such as UserName and Description, are not compared. For points and measures, the DateTime keyword is always ignored.

Categories


History

Steven Lambright2010-10-19 Original version
Christopher Austin2011-01-18 Altered to compile with the new Control redesign.
Jeannie Backer2011-07-27 Added documentation.
Travis Addair2012-04-26 Added REPORT radio button allowing users to select the FULL option and get a complete PVL report of all differences between two networks.

Parameter Groups

Files

Name Description
FROM Input Control Network File 1
FROM2 Input Control Network File 2
DIFF Input tolerance file
TO Differences
REPORTHow verbose the output report should be
X

Files: FROM


Description

Type filename
File Mode input
Filter *.net *.bin
Close Window
X

Files: FROM2


Description

Type filename
File Mode input
Filter *.net *.bin
Close Window
X

Files: DIFF


Description

This is used to specify tolerances between the two input files. If this file is not specified, the two control network files must match exactly except for date/times.

Type filename
File Mode input
Internal Default None
Filter *.net.DIFF
Close Window
X

Files: TO


Description

This will output the differences to a text file.

Type filename
File Mode output
Internal Default None
Filter *.txt *.pvl
Close Window
X

Files: REPORT


Description

By default, this application will report the first difference in encounters between the two network (FIRST). This is primarily used for application testing by developers. Users can make use of this application to report a full listing of differences between two networks (FULL).

Note that, at present, this option will only consider the first value of a keyword. It does not compare lists of values or units.

Type string
Default FIRST
Option List:
Option Brief Description
FIRSTOnly report the first difference Used by automatic application tests to report differences between two networks, only processing to the first difference for performance reasons.
FULLReport the full listing of all differences Users can use this option to get a full list of all the differences between two networks, organized in a PVL structure. Each keyword will have up to three values: the first being the value from the first network, the second the value from the second network, and the third the tolerance that failed (if provided).
Close Window