STScI Logo

grafcheck stsdas.hst_calib.synphot


NAME · USAGE · DESCRIPTION · PARAMETERS · EXAMPLES · REFERENCES
SEE_ALSO

NAME

grafcheck -- Find bad rows in an instrument graph table.

USAGE

grafcheck grftable

DESCRIPTION

This task reads an instrument graph table, checks it for four types of errors, and displays an error message on the terminal screen (i.e., errors are written to STDOUT).

The following errors are detected by grafcheck:

* Component name, keyword, input node, or output node are undefined.
* Output node number is less than input node number.
* Two or more nodes with the same input node have the same keywords.
Leading blanks and case are ignored in determining uniqueness of keyword names, names that differ only in case are considered to be identical.
* A row cannot be reached from the graph's starting node.

When errors are located, a row will be printed for each type of error detected, along with the offending row. When a row is in error, the component name is displayed, followed by the keyword, the input node, and the output node. Component name and keyword are converted to lower case in the output and are enclosed in quotes. No output is produced if no errors are located.

PARAMETERS

grftable = mtab$*.tmg [file name]
The name of the graph table(s) to be checked. If a filename template is specified, the task will check the most recent graph table matching the template.

EXAMPLES

Check the graph table hstgraph.tab.

  sy> grafcheck hstgraph.tab

REFERENCES

Written by B.Simon

SEE ALSO

graflist, grafpath, grafplot


Package Help · Search Form · STSDAS