Progress of this program can be monitored. See MONITOR section.
Name Prompt Count Type FILE Database File Name 1-64 Char DBIW Database Input Window 0-4 Int DBIC Database Input Channel List 1-16 Int RECL Record Length 0-1 Int STRUCTUR File Structure Information 2-4 Int STARTFIL Start File on Tape 1 Int DATATYPE Data Type: 8U/16S/16U/32R 2-3 Char SWAPFL Byte Swap Data Flag:YES/NO 0-3 Char
EASI>FILE="...filename..."
EASI>DBIW=Xoffset,Yoffset,Xsize,Ysize EASI>DBIW= | defaults to entire imageNote: The offset + size must not exceed the image size.
EASI>DBIC=i,...j,k | integer
EASI> RECL=1536If the selected record length is greater than the amount of data in one line, as many lines as possible will be packed on the record, without having any lines split across records. If the selected record length is less that required for one line, the line will be split across as many records as are required to hold the data, with each line of data starting on a new record.
The record length must be less than 65534 and should be greater than 18. The record length should also be a factor or multiple of the number of pixels, to allow convenient packing of data. Many tape systems also require tape record lengths to be a multiple of 2 (even).
EASI> STRUCTUR = pixels,lines,bands,interleaving modeEach value has the following meaning:
Pixels: Number of pixels (width) per line.
Lines: Number of lines in the image.
Bands: Number of bands (channels) of imagery,
default is one.
Interleaving Mode:
0: band sequential (default)
1: line interleaved
2: pixel interleaved
3: band sequential by file, each band has an EOF
marker placed after it.
EASI>STARTFIL=1 | write first file on tape EASI>STARTFIL=n | write nth file on tape
EASI>DATATYPE="8U" | 8-bit unsigned integer EASI>DATATYPE="16S" | 16-bit signed integer EASI>DATATYPE="16U" | 16-bit unsigned integer EASI>DATATYPE="32R" | 32-bit real
EASI>SWAPFL="YES" | Data written LSB first. EASI>SWAPFL="NO" | Data written MSB first.
The file written to tape can positioned on the tape using the STARTFIL parameter. The tape will be positioned to the desired file on tape before writing begins.
IMB is capable of writing tapes with multiple lines of data per record or multiple records per line. Which case (if either) applies is determined by the record length selected (RECL) and the amount of data per line. In no case will a line of data be broken across multiple records unless in can not be contained in one whole record. This is the same technique used by MIB, but in general it is advisable to use a record length that is an exact multiple or factor of the amount of data on one line.
A TAPE MUST BE MOUNTED ON THE TAPE DRIVE BEFORE IMB CAN BE RUN. CLEANING THE TAPE HEADS IS RECOMMENDED TO MINIMIZE THE CHANCE OF TAPE READ ERRORS.
EASI>MONITOR="ON" | turn monitor ON (default)
EASI>MONITOR="OFF" | turn monitor OFF (recommended if
| running in batch/background mode)
EASI>FILE = "irvine.pix EASI>STARTFIL = 1 | Place at start of tape EASI>DBIW = EASI>DBIC = 3,2,1 EASI>STRUCTUR = 512,512,3,0 | 3 bands written BSQ EASI>DATATYPE="8U" EASI>RECL = 512 | Factor of 2048 bytes EASI>run imbThis tape can now be read at the receiving site with a command such as the following, which specifies that a file should be read from device '/dev/rmt0' to file 'irvine.RGB' with an input record length of 512. The output file will be a 1.5 Meg band sequential raw image file on disk.
% dd if=/dev/rmt0 of=irvine.RGB ibs=512