Help for FILE2TCL

PURPOSE:
file2tcl determines file existance, type, subtype, size,
of a file and stores the information in TAE TCL out parameters.
If the file is a VICAR file, it also returns control block parameters
NL, NS, NB, FORMAT, HOST, ORG, and TYPE.

EXECUTION:

Example:

file2tcl inp=xfoo.bar val=val ftype=ftype fsubtype=fsubtype fsize=fsize
            where val, ftype, fsubtype, fsize are TAE TCL variables of type int
          
TIMING: 

Instantaneous.  

 COGNIZANT PROGRAMMER:   W. Bunch
 ORIGINAL PROGRAMMER:    A. Zobrist      07 Jan 2003
 
 REVISION HISTORY
  2003-01-07 AZ  Initial version
  2004-06-07 WLB Added file type detection.
  2005-03-22 WLB Added support for >2GB file size.
  2005-03-26 WLB Ported to linux.
  2007-12-29 WLB switched to USES_ANSI_C AND LIB_CARTO; misc cleanup.
  2009-11-03 WLB removed 99 char inp name limit.
  2016-09-12 WLB added new output vars:
             NL, NS, NB, FORMAT, ORG, HOST, TYPE.
 

PARAMETERS:


INP

Input file name.

VAL

Variable set to indicate file existence.

FTYPE

Variable set to indicate inp type.

FSUBTYPE

Variable set to indicate inp subtype.

FSIZE

Size of inp in bytes, if it exists, 0 otherwise

NL

Number of input image lines.

NS

Number of input image samples.

NB

Number of input image bands.

FORMAT

Input image format.

HOST

Input image host.

ORG

Input image organization.

TYPE

Input image type.

See Examples:


Cognizant Programmer: