Design Document for CDACQUIRE

CDACQUIRE

AUTHOR: Tim Baltzer

Functional Summary:

Acquire AVHRR images from Compact Disk

Comments:

The simplicity of this module's design hardly merits design documentation, but is being done mostly for familiarization to the design documentation process.

Background:

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.

Requirements:

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.

Scope/Limitations:

1. Can process only 1 CD per session.
2. Cannot cross-mount CD's onto another system.

Overall design:

Flow diagram:


Algorithm:


Module Design(s):

CDACQUIRE:

CDACQUIRE is the "main" module, the only module in this application.

PARAMETERS:

CDID
CD Identifier.

DRIVE
CD drive name

CEOSID
CEOS ID.

YEAR
Acquisition year.

FILENAME
File name specification.

DSTSYS
Destination system.

DSTDIR
Destination directory.

ALGORITHM:

See algorithm above....

RETURN VALUE(S):

Success
Failure

Testing criteria:

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.