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:
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
EASI>FILE="...filename..."
EASI>MTIC=i,j,...,p | integers, 1-6
EASI>DBOC=i,j,...,p | integers, 1-6
EASI>MTIW=Xoffset,Yoffset,Xsize,Ysize EASI>MTIW= | defaults to enire imageThe offset + size must not exceed the image size.
EASI>DBOW=Xoffset,Yoffset,Xsize,Ysize EASI>DBOW= | defaults to entire imageThe offset + size must not exceed the image size.
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.
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