MIT -- TIROS/NOAA Tape to Database Transfer

Transfers image data from an AES TIROS/NOAA (AVHRR) magnetic tape to an image database file. Also creates a text segment containing calibration data.

Progress of this program can be monitored. See MONITOR section.

PARAMETERS

MIT is controlled by the following global parameters:

Name     Prompt                                  Count     Type
FILE     Database File Name                      1-64      Char
MTIC     Mag Tape Input Channel List             1-5       Int
DBOC     Database Output Channel List            1-5       Int
MTIW     Mag Tape Input Window                   0-4       Int
DBOW     Database Output Window                  0-4       Int
MTID     Mag Tape ID                             0-10      Char
ROTA     Rotate Image: ON/OFF                    2-3       Char
CURV     Earth Curvature: ON/OFF                 2-3       Char
STARTFIL Start File on Tape                      1         Int

FILE

FILE is the filename of the PCIDSK image database to receive output imagery from MIT. The image database must exist prior to running MIT and would be created using CIM. The syntax of the filename is system dependent.

 EASI>FILE="...filename..."

MTIC

The PACE parameter MTIC represents a list of image channels that reside on the input magnetic tape:

 EASI>MTIC=i,j,...,m             integers, 1-5

DBOC

The PACE parameter DBOC represents a list of output image channels that reside on a database image file:

 EASI>DBOC=i,j,...,m             integers, 1-5

MTIW

MTIW specifies a rectangular subset of an image on magnetic tape to be used for input to the MIT task:

 EASI>MTIW=Xoffset,Yoffset,Xsize,Ysize
 EASI>MTIW=                     | defaults to entire image

DBOW

DBOW specifies a rectangular subset of the image channels in the output image database file that receives imagery from MIT:

 EASI>DBOW=Xoffset,Yoffset,Xsize,Ysize
 EASI>DBOW=                     | defaults to entire image

MTID

MTID is a string of up to ten characters to identify image data after it is read from a magnetic tape. A common tape ID format consists of an ID string and the date:

 EASI>MTID="strDDMMMYY"

ROTA

The image can be rotated 180 degrees if ROTA is set:

 EASI>ROTA="ON"                         | "OFF" -- no rotation

CURV

If CURV is set to "ON", then MIT takes into account the earth's curvature:

 EASI>CURV="ON"

STARTFIL

Specifies the start file number on tape from which to start reading header and image data. If STARTFIL is greater than one, the program rewinds the tape and advances to the specified file. STARTFIL must be set to the file number required by MSH program to print tape header report.

 EASI>STARTFIL=1              | read first file on tape
 EASI>STARTFIL=n              | read nth file on tape

DETAILS

MIT transfers image data from any set of bands on TIROS or NOAA (AVHRR) tape (MTIC) to any set of image channels on an existing PCIDSK database file (DBOC). Normally, an empty database file is created using CIM before running MIT.

Any arbitrary rectangular window on tape (MTIW) can be transferred to any arbitrary rectangular window on the database (DBOW). Shrinking and/or zooming is automatically performed. By default, the whole tape image is transferred, filling the entire database.

Any file (image) on tape (STARTFIL) can be specified. MIT will rewind and advance to the selected start file number before transferring.

A 10-character magnetic tape ID (MTID) can be saved in the channel descriptors for future reference.

Earth curvature correction (CURV) is performed while transferring the image to the database, if CURV="ON". Correction is done only in the horizontal direction and does not take into account earth rotational velocity nor platform parameters. Earth curvature correction stretches the original image in the horizontal direction. As a result, both the left and right edges of the original image are truncated.

The image can be rotated (ROTA) a full 180 degrees before being saved on the database, if desired. This turns the image upside- down. By default, rotation is OFF.

MIT creates a segment containing the calibration and orbital data that is used by the program SST.

More information on the TIROS magnetic tape format can be found in the documentation for the program IMT.

 A TAPE MUST BE MOUNTED ON THE TAPE DRIVE BEFORE MIT CAN BE RUN.
 CLEANING THE TAPE HEADS IS RECOMMENDED TO MINIMIZE THE CHANCE OF
 TAPE READ ERRORS.

MONITOR

Program progress can be monitored by printing the percentage of completed processing in odometer fashion. A system parameter, MONITOR, controls this activity:

 EASI>MONITOR="ON"           | turn monitor ON  (default)
 EASI>MONITOR="OFF"          | turn monitor OFF (recommended if
                             | running in batch/background mode)

EXAMPLE

 EASI>FILE="AGRIHOT.PIX"
 EASI>MTIC=1,2,3,4,5
 EASI>DBOC=1,2,3,4,5
 EASI>MTIW=\DBOW=                       | both defaulted
 EASI>MTID="ALBERTA1"
 EASI>ROTA="ON"
 EASI>CURV="OFF"
 EASI>STARTFIL=2
 EASI>RUN MIT

About PCI Help Gateway