Convert a line/sample to a lat/long
Convert a line/sample to a lat/long
- IN
- Input image. The Level-0 image under consideration.
- LINE(1)
- Line number. The line number of the image for which a latitude/longitude is to be computed.
- SAMPLE(1)
- Sample number. The sample number of the image for which a latitude/longitude is to be computed.
- INFILE(--)
- Input file. INFILE is an ASCII text file containing LINE/SAMPLE pairs. When INFILE is specified, the values in LINE and SAMPLE are ignored and the contents of the file are used. The file contains the inputs normally found in LINE and SAMPLE. The values in the file must be placed in two columns: the first for the LINE values and the second for the SAMPLE values. The default extension for INFILE is ".txt". For more information on the layout refer to user note 1.
- PRINT(TERM)
- Output destination.
= 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 the user supplied file with the extension ".prt".
The Level-0 AVHRR image header file is read to load the AVHRR model information. Using this information, the specified line/sample is converted to a latitude/longitude value and displayed. Or a file can be specified that holds the line/sample values to convert.
A fatal error was encountered. The error message displayed immediately preceding this message is the specific error encountered.
The possible problems for this error to occur are: file exists for output file, or filename incorrect for infile, or file permissions not set for read/write access.
File data error was encountered. The contents of the data file containing the LINE and SAMPLE data needs to be in pairs of data. The first column for the LINE values, and the second column for the SAMPLE values.
line-1 sample-1 line-2 sample-2 . . . line-n sample-n