User's Guide

INSCOUNT

Inserts a count into an IBIS graphics file

Function:

Inserts a number at the beginning of an image based information system (IBIS) graphics file. This number is usually the count of the values in the file.

Parameters:

INFILE
Input file. Input IBIS graphics file.

OUTFILE
Output file. Output IBIS graphics file.

INSTVAL(--)
Insert value. Number to insert at the beginning of OUTFILE. The default value indicates that the count of the number of values in the entire input graphics file is to be used.

Examples:

  1. LAS> inscount infile=in outfile=out

    The number of values in the entire input graphics file is written at the beginning of the output graphics file. The count is followed by the values from the input file.

  2. LAS> inscount infile=in outfile=out instval=10

    A value of 10 is placed at the beginning of the output graphics file. The values from the input file are copied to the output file after the count.

Description/Algorithm:

The program begins with the standard initialization and retrieval of user-specified parameters. The input graphics file is read in. The appropriate count is written to the output graphics file, followed by the values from the input file.

Nonfatal Error Message:

  1. [inscount-close] Error closing <XXXXX> file

    An error was encountered while closing the <XXXXX> file. The data may still be valid.

Fatal Error Messages:

  1. [inscount-fatal] Fatal error encountered

    A fatal error was encountered during processing. The output IBIS graphics file may or may not be valid. The message that is displayed immediately preceding this message is the specific error that was encountered.

  2. [inscount-open] Error opening <XXX> file

    An error was encountered while trying to open the specified file.

  3. [inscount-read] Error reading input file

    An error was encountered while trying to read from the input IBIS graphics file.

  4. [inscount-write] Error writing output file

    An error was encountered while trying to write to the output IBIS graphics file.

User Notes:

    None.