MIMET -- NRSA METSAT Tape to Database Transfer

Transfers image data from METSAT AVHRR magnetic tape to image database.

This program was specially written to read tapes generated by the National Remote Sensing Agency (NRSA) located at Balanagar, Hyderabad, India. It makes the following assumptions about the tape format:

Tape headers are NOT read, and no error checking is performed to see if, indeed, a METSAT format tape is being read. It is up to the user to ensure that input parameters are correct before running.

PARAMETERS

MIMET 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-6       Int
DBOC     Database Ouput Channel list             1-6       Int
MTIW     Mag Tape Input Window                   4         Int
DBOW     Database Output Window                  0-4       Int

FILE

FILE is the filename of the PCIDSK image database to receive output imagery from MIMET. The image database must exist prior to running MIMET 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,j,...,p            | integers, 1-6

DBOC

DBOC represents a list of image channels that reside in the output image database file:

 EASI>DBOC=i,j,...,p            | integers, 1-6

MTIW

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

 EASI>MTIW=Xoffset,Yoffset,Xsize,Ysize
 EASI>MTIW=                     | defaults to enire 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 MIMET:

 EASI>DBOW=Xoffset,Yoffset,Xsize,Ysize
 EASI>DBOW=                     | defaults to entire image
The offset + size must not exceed the image size.

DETAILS

MIMET reads 16-bit image data from Band Interleaved by Line (BIL) METSAT AVHRR format tapes, generated at NRSA, India.

Image data is transferred from any set of image channels on tape (MTIC) to any set of image channels on the database (DBOC).

Any arbitrary rectangular window on tape (MTIW) can be transferred to any arbitrary window on the file (DBOW). Shrinking and/or zooming is performed if the input window size does not equal the output window size. If the database output window is not specified, it defaults to the entire file.

METSAT imagery has 2 bytes per pixel, but PCIDSK database files store only 1-byte pixels. If you are uncertain of the range of values on tape, run MIMET using default values for PVAL, then run MIMET again using the values output by the program. MIMET prints the minimum and maximum grey-level values found on tape.

If output channel is 8-bit integer, then 10-bit grey-level values (from 0 to 1023) are divided by 4, to scale 10-bit data to fit into 8-bit channel (dropping two least significant bits). A warning message is printed when data are scaled.

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

EXAMPLE

Read 5-band full METSAT AVHRR image with 2048 lines from tape to display-sized database, then transfer to video display:

 EASI>FILE="METSAT"
 EASI>DBSZ=512,512
 EASI>DBNC=5
 EASI>RUN CIM                    | create database file
 EASI>MTIC=1,2,3,4,5
 EASI>DBOC=1,2,3,4,5
 EASI>MTIW=0,0,2048,2048
 EASI>DBOW=
 EASI>RUN MIMET                  | read tape
 EASI>RUN DCP "ID1,2,3:LZ"       | show images 1,2,3. Zero LUTs
 EASI>DBIC=1,2,3
 EASI>VDOC=1,2,3
 EASI>MTIW=
 EASI>VDOW=
 EASI>RUN IVI                    | display the image overview

About PCI Help Gateway