Home

User Documentation

Getting Started
Learn More
Explore in Detail
Get Inspired

Contributor Documentation

Getting Started
Learn More
Explore in Detail
Get Inspired

Quick Links

Software Manual
AstroDiscuss
GitHub
API Reference

Documentation Versions

Public Release
8.2.0
8.1.0
8.0.0
7.2.0
7.1.0
7.0.0
6.0.0
3.9.0
3.5.0

ISIS 2

Documentation
Tutorials
Technical Documents
USGS

ISIS Application Documentation


cnetdiff

Standard View | TOC | Home

Compare two control networks

Description
Categories
Groups
History


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


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

Files: FROM

Description

Type filename
File Mode input
Filter *.net *.bin

Files: FROM2

Description

Type filename
File Mode input
Filter *.net *.bin

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

Files: TO

Description

This will output the differences to a text file.

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

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).

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.
Jesse Mapel2016-03-29 Added missing "]" in results message. Error messages are now complete sentences. Fixes #3871.