Creates a Geometric Mapping Grid file for systematicly corrected MSS scenes
Creates a Geometric Mapping Grid file mapping from systematicly corrected MSS 4/5 data to the UTM map projection at 57 meter pixels.
- INFILE
- Input file. The input LANDSAT header file that contains the scene center and the path number. This file is created when running JSCIN. The default extension is ";lhdr".
- OUTGRID
- Output grid file. Output geometric mapping grid file containing the geometric mapping grid, as well as projection and framing information of the output space.
- PRINT(TERM)
- Output destination. The destination of the projection information and resulting corner coordinates.
= --: No Report = 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 LANDSAT header file SCENE1;LHDR is opened and the lat/long centers of the scene and the path number are read. All information printed is written to both the terminal and a printer. The resulting geometric mapping grid is calculated and written to GEOGRID;GRID.
The input parameters are retrieved from TAE. The LANDSAT header file is opened and the center latitude and longitude of the scene are read along with the path number of the scene. JSCGRID first calculates the corner coordinates of the systematically corrected input image. Since the Space Oblique Mercator (SOM) projection is very close to the geometry of a systematically corrected scene, SOM coordinates are calculated for each corner. These SOM corners are based on the input pixel size, center lat/long, inclination angle and the rotation at the latitude of scene center. Next, the output space in the UTM projection, but still along track (i.e, not rotated north-up), is calculated. Then a first-order polynomial transformation between each projection space and the corresponding line/sample coordinates are calculated. A geometric mapping grid is then created by mapping from output line/sample to UTM coordinates to lat/long to SOM coordinates to input image line/sample coordinates. Projection information is written to the geometric mapping grid. RESAMPLE uses the grid to perform the image warping and writes projection information to the resulting image's DDR.
The error message that is displayed immediately preceding this message is the specific error that was encountered. Processing is terminated.
An error occurred allocating memory. Rerun JSCGRID, and if the error persists, contact the system manager.
An error was encountered in attempting to open a temporary file. Check the protections on the directory.