MIS -- SEASAT JSC Tape to Database Transfer

Transfers 16-bit SAR image data from a CCRS SEASAT magnetic tape to a PCIDSK image database file.

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

PARAMETERS

MIS is controlled by the following global parameters:

Name     Prompt                                  Count     Type
FILE     Database File Name                      1-64      Char
DBOC     Database Output Channel List            1-1       Int
MTIW     Mag Tape Input Window                   0-4       Int
DBOW     Database Output Window                  0-4       Int
MTID     Mag Tape ID                             0-10      Char
MTCH     Magtape Characteristics                 0-7       Int

FILE

Specify the filename of the PCIDSK database image file to write the SEASAT mag tape imagery to.

 EASI>FILE="filename"

DBOC

Specify one output image channels for SEASAT (SAR) data.

 EASI>DBOC=i               | for 16-bit output data

MTIW

Specify input image window to read from magnetic tape.

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

DBOW

Specify output image window to write to image database.

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

MTID

Specify a string of up to ten characters to identify image data. MTID is intended as a quick reference for the image data source, and is stored in the channel descriptors of the output database channels.

 EASI>MTID="..string.."

MTCH

Specify user specified mag tape characteristics parameter. It contains up to seven entries:

        MTCH(1) = number of pixels per line 
        MTCH(2) = number of lines per image
        MTCH(3) = number of channels
        MTCH(4) = record size in bytes
        MTCH(5) = number of ancillary bytes 
        MTCH(6) = number of files to skip to image data 
        MTCH(7) = number of bits per pixel value
If any of the entries are specified, then these values override the header values that are read from the tape header.

DETAILS

MIS transfers 16-bit synthetic aperture radar (SAR) image data from CCRS SEASAT tape to one image channel (DBOC) on an existing PCIDSK image database file (FILE). Normally, an empty database file is created using CIM before running MIS.

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.

SEASAT imagery has 16 bits per pixel. Therefore, the output channel should be either 16-bit unsigned integer or 32-bit real.

If output channel is 8-bit integer, then 16-bit grey-level values (from 0 to 65535) are divided by 256, to scale data to fit into 8-bit channel (dropping eight least significant bits). If output channel is 16-bit signed integer, then unsigned 16-bit grey-level values are divided by 2, to scale data to fit into 15 unsigned bits (dropping least significant bit). A warning message is printed when data are scaled.

Tape source headers are sometimes filled with erroneous data. In order to avoid problems associated with this situation, the user can employ the values stored in the parameter MTCH to override source header values. However, the values in MTCH must be greater than zero, if the user wants to override the header value. Otherwise, the header value is used. To ensure that header values are used, MTCH must be defaulted (MTCH=).

The following values of MTCH can be used to override header values:

        MTCH(1)  : number of pixels per line
        MTCH(2)  : number of lines on tape
        MTCH(3)  : number of channels on tape
        MTCH(4)  : record length in bytes
        MTCH(5)  : number of ancillary bytes 
        MTCH(6)  : number of files to skip to image data 
        MTCH(7)  : number of bits per pixel value
For example, if MTCH(1) = 1, MTCH(2) = 0 and MTCH(3) = 0, and the corresponding header values are 0, 1, and 0 respectively:

(i) MTCH(1) overrides the header, since its value is greater than zero.

(ii) Header value is used, since MTCH(2) is NOT greater than zero AND header value is legal (greater than zero).

(iii) Error message is given, since both values of MTCH(3) AND header are equal to zero.

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

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

Read 16-bit SAR data into 16-bit unsigned output channel:

 EASI>FILE="SEASAT.PIX"
 EASI>DBOC=1
 EASI>MTIW=
 EASI>DBOW=
 EASI>MTID="test data"
 EASI>MTCH=
 EASI>RUN MIS

About PCI Help Gateway