AUTHOR: Tim Baltzer
Acquire AVHRR images from Compact Disk
The simplicity of this module's design hardly merits design documentation, but is being done mostly for familiarization to the design documentation process.
With the advent of Compact Disk (CD) usage on the rise, the need to have a module to read CD's in a production environment has become necessary. CDACQUIRE is useful much like TPACQUIRE is useful for reading tapes.
1. Must prompt the operator to mount a CD (only one CD per session). 2. Copy the files from the CD writing it's progress to a log file. 3. Must have a means of specifying specific files or the entire CD. 4. Must dismount the CD once done processing.
1. Can process only 1 CD per session. 2. Cannot cross-mount CD's onto another system.
Error check parameters/ initialize variables. Mount the CD onto a CD reader. Copy all of the specified files on the CD onto disk. Dismount the CD.
CDACQUIRE is the "main" module, the only module in this application.
- CDID
- CD Identifier.
- DRIVE
- CD drive name
- CEOSID
- CEOS ID.
- YEAR
- Acquisition year.
- FILENAME
- File name specification.
- DSTSYS
- Destination system.
- DSTDIR
- Destination directory.
See algorithm above....
Success Failure
1. Test by copying files to local host system and to a remote disk. 2. Make sure any drive specification that implies cross-mounting causes an error to occur in the up-front error checking. 3. Copy all files on the CD as well as selected ones.