Use this procedure to read AIRSAR and TOPSAR header information used by other AIRSAR procedures. The procedure returns a value of 1 if the specified file is an AIRSAR file. Otherwise, it returns a value of 0. You can view more AIRSAR information by setting optional keywords.

Syntax


ENVI_DOIT, 'AIRSAR_HEADER_DOIT' [, BAND={0 | 1 | 2}], FILENAME=string [, GENFAC=variable], NAME=string [, NL=variable] [, NS=variable] [, OFFSET=variable]

Keywords


BAND (optional)

Use this keyword to specify a named variable that contains the band number for the file specified by FILENAME. Set BAND to 0, 1, or 2 to specify C, L, or P, respectively.

FILENAME

Use this keyword to specify the filename of the AIRSAR file.

GENFAC (optional)

Use this keyword to specify a named variable that contains the COMP SCALE FACTOR for the band.

NAME

Use this keyword to specify an AIRSAR filename.

NL (optional)

Use this keyword to specify a named variable that contains the number of lines in the AIRSAR image.

NS (optional)

Use this keyword to specify a named variable that contains the number of samples per line in the AIRSAR image.

OFFSET (optional)

Use this keyword to specify a named variable that contains the offset for the file specified by FILENAME.

API Version


4.2