MIG -- GOES Tape to Database Transfer
Transfers image data from a GOES/VISSR magnetic tape to an image
database file.
Progress of this program can be monitored. See MONITOR section.
PARAMETERS
MIG 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-2 Int
DBOC Database Output Channel List 1-2 Int
MTIW Mag Tape Input Window 0-4 Int
DBOW Database Output Window 0-4 Int
MTID Mag Tape Identification 0-10 Char
STARTFIL Start File on Tape 1 Int
FILE
FILE is the filename of the PCIDSK image database to receive output
imagery from MIG. The image database must exist prior to running MIG
and would be created using CIM. The syntax of the filename is system
dependent.
EASI>FILE="...filename..."
MTIC
MTIC represents a list of image channels that exist on the input
magnetic tape:
EASI>MTIC=i,p | integers, 1-2
- Ranges of channels can be specified with negative values. For
example, {1,-4,10} is internally expanded to {1,2,3,4,10}.
DBOC
DBOC represents the list of output image channels that reside in the
database image file:
EASI>DBOC=i,p | integers, 1-2
- Output channels may be of any type (8, 16 or 32 bit).
- Ranges of channels can be specified with negative values. For
example, {1,-4,10} is internally expanded to {1,2,3,4,10}.
MTIW
MTIW specifies a rectangular subset of an image on magnetic tape to
be used for input to the MIG task:
EASI>MTIW=Xoffset,Yoffset,Xsize,Ysize
EASI>MTIW= | defaults to entire image
- The offset + size must not exceed the image size.
DBOW
DBOW specifies a rectangular subset of the image channels in the
output image database file that receives imagery from MIG:
EASI>DBOW=Xoffset,Yoffset,Xsize,Ysize
EASI>DBOW= | defaults to entire image
- The offset + size must not exceed the image size.
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"
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
MIG transfers image data from any set of bands on GOES/VISSHR 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 MIG.
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. MIG will
rewind and then advance to the selected start file number before
transferring.
A 10-character mag tape ID (MTID) can be saved in the source header
for future reference.
A TAPE MUST BE MOUNTED ON THE TAPE DRIVE BEFORE MIG 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
EASI>DBOC=1,2
EASI>MTIW=\DBOW= | both defaulted
EASI>MTID="ALBERTA1"
EASI>STARTFIL=2
EASI>RUN MIG
About PCI Help Gateway