Load selected images from tape based on input list.
Images listed in the input file are read from tape and placed in the output directory.
- INFILE
- Input file. The name of the list containing the images to load. (See user note 1.)
- OUTDIR
- Output directory. The directory where the loaded images will be placed.
- NTAPES(14)
- Number of tapes. The number of tapes loaded in the automatic tape stacker on DRIVE.
- DRIVE(--)
- Tape drive. The name of the device on which the tape has already been mounted. If NULL, a mount request will be sent to the operator.
- LOGFILE
- Log filename. The name of the file where all log messages are to be written.
Tape drive 4 has been loaded with 5 tapes. The list of scenes and their corresponding tapeids and time stamps are in the file "stitch;list". Scenes listed in the input file will be placed in "[workingdir]". The procedure will look for the stopfile "loadsilo;stop" and will terminate and remove the file if it finds it. All messages will be placed in the file "loadsilo;log".
Since NTAPES has not been specified, it is assumed that 1 tape is to be processed. Since a tape drive has not been specified, a prompt to mount a tape will be issued. Scenes listed in the input file will be placed in "[workingdir]". The procedure will look for the stopfile "loadsilo;stop" and will terminate and remove the file if it finds it. All messages will be placed in the file "loadsilo;log".
If no drive has been specified, a tape mount request is made and number of tapes set to one otherwise tapes are mounted from the stacker one at a time. Once a tape has been mounted the tapeid is determined and the sceneids for that tape are obtained from the input list. READARCH is called with the list of sceneids. The scenes are placed in the working directory.
None.
An error occurred while mounting a tape from GETDRIVE. Contact the system administrator.
An error determining the name of the stop file or the existence of the stop file was encountered. Contact the system administrator.
The stopfile specified by the user was detected. Processing was terminated.
ARCHDR was unable to determine the tapeid. Insure that the tape is a labeled archive tape.
An error occurred fetching scenes from the input file. Make sure the input file exists and is in the proper format.
An error occurred reading from tape, tapeid <XXXXXX>. The message preceding this one indicates the type of problem encountered.
An error was encountered while attempting to rewind and dismount the tape. If the tape was not dismounted properly contact the system administrator.
An error occurred detecting the beginning of tape in CKDRIVE. Contact the system administrator.
A fatal error was encountered. The message displayed preceding this message is the error that was encountered. Processing terminates.
Example:
tape_id scene_id t_stamp N 110262 AH11112392132652 132449 N 132711 AH14052597050000 105252 N 137978 AL14091297082613 050709 N