User's Guide

DDRCHECK

Validate the contents of a DDR file against the contents of the image.

Function:

Validate the contents of a DDR file against the contents of the image. The results of the verification may be displayed to the terminal, line printer, or to a disk file.

Parameters:

IN
Input image. This is the name of the image for which the DDR information will be displayed. Window or band options are not allowed.

PRINT(TERM)
Output destination. The destination of the output DDR information.

  = TERM:      Terminal.  Output is sent to the user's 
               terminal.
  = LP:        Line printer.  Output is sent to the 
               printer defined by $PRINTER.
  = Filename:  User-supplied filename.  Output is sent 
	       to a disk file named "filename".

Examples:

  1. LAS> ddrcheck in=test print=term

    DDRCHECK will read the contents of the DDR file that is associated with the image TEST;IMG. The data that is associated with the image will be verified and the results printed to the terminal.

  2. LAS> ddrcheck in=test print=(term,lp)

    DDRCHECK will read the contents of the DDR file that is associated with the image TEST;IMG. The data that is associated with the image will be verified and the results printed to the terminal and the line printer specified by the global $PRINTER.

Description/Algorithm:

DDRCHECK retrieves the contents of the DDR file. The fields associated with the image are checked for reasonableness and the results are displayed to the specified device(s). Fields checked include: number of samples, number of lines, number of bands, byte size, zone number, and corner coordinates.

Nonfatal Error Messages:

    None.

Fatal Error Messages:

  1. [ddrcheck-fatal] Fatal error encountered

    A fatal error was encountered during processing. Processing is terminated. The message that is displayed immediately preceeding this error message is the specific error that was encountered.

User Note:

  1. Related modules are DSPDDR, EDITDDR and GETPARM.