Read AVHRR browse images from archive tape
Read AVHRR browse images from archive tape
- TAPEID
- Tape identifier. The identification label number of the tape to be mounted.
- OUTDIR
- Output directory. The directory in which to place the AVHRR browse images and directory structure.
- CDDIR
- CD directory. The directory in which to place the AVHRR browse images and directory structure to make the CD.
- LOGFILE
- Log file. The file to which processing messages will be written. LOGFILE will have a ";log" extension.
A request is sent to the operators to locally mount the tape km1234. The directory structure and AVHRR browse images are extracted from tape into the directory "[dir1.dir2]". The files and directory structure are moved to CDDIR to remove the upper-case naming in the path name. Messages are logged in LOGFILE.
A tape containing AVHRR browse images is mounted on a tape drive. BRWREAD goes into the directory specified by OUTDIR. The images are extracted from the tape using the UNIX "tar" utility. The entire directory structure below OUTDIR is moved to CDDIR to remove the upper-case names from the directory path. BRWREAD returns to the original working directory and the tape is dismounted. Messages are logged in LOGFILE.
A fatal error was encountered. The message displayed prior to this is the actual error encountered.
An error was encountered while attempting to determine the destination directory. Ensure that the environment variable ADAPSMIC has been defined.
An error changing directories was encountered. Ensure that the directory specified by OUTDIR exists with the proper permissions.
An error occurred while allocating a tape drive. Retry executing the program.
An error occurred extracting the information from the tape. Ensure that the tape is a "tar" format tape.
An error occurred releasing the tape drive. Examine the data extracted from the tape to ensure that it is complete.
./diskpack/year/month/day/sourcelink.1KM where diskpack is the disk pack year is the year of acquisition month is the month of acquisition day is the day of acquisition sourcelink is the data base source link for example: ./HD02/1996/04/08/00140228.1KM
The "diskpack" portion of the pathname is eliminated since upper-case names are not handled well by TAE.