User's Guide

ESAT2CD

Copy EarthSat browse images to CD.

Function:

Create an archive CD containing the data directory specified.

Parameters:

INDIR
Input directory. The directory name from which to read the browse images and directory structure.

WORKDIR
Working directory. Directory where the main working directory structure will be created. The actual working directory will be created inside the main working directory. All directories and files related to the working directory will be removed upon completion.

CDID
CD identification. The CD-R library storage location. This ID is printed on the CD media and should reflect the ID used for the archive case label.

LOGFILE
Log filename. Name of the log file that the processing messages will be appended to.

Examples:

  1. LAS>esat2cd indir="[path.datadir]" workdir="[path.workdir]" cdid="cdtest" logfile=logfilename

    A CD will be created containing the data in [path.datadir]. The CDID will be printed on the CD media and should reflect the ID used for the archive case label.

Description/Algorithm:

The data directory is checked to verify it will fit on one CD. The main working directory structure is created from the WORKDIR parameter. DIR2CD is then called to create a CD. After completion of DIR2CD, the main working directory structure is removed.

Non-Fatal Error Messages:

    None.

Fatal Error Messages:

  1. [esat2cd-size] Error calculating the size of the data

    An error was encountered calculating the size of the data directory. Verify that the size is under the current allowable size for a CD. See usernote No. 2.

  2. [esat2cd-wdir] Error creating the working directory

    An error was encountered creating the main working directory structure in the specified location. Verify the path and file permissions, then re-run the program. If the problem persists, contact the system manager.

  3. [esat2cd-dir2cd] Error calling DIR2CD

    An error was encountered in the module DIR2CD. Re-run the program. If problem persists, contact the system manager.

  4. [esat2cd-remove] Error removing directories

    ESAT2CD was unable to remove the main working directory structure. Remove any created directories. If the problem persists, contact the system manager.

User Note:

  1. Related routines are DIR2CD and MAKECD.

  2. The data directory cannot exceed the limitations of the CD-R. One CD currently holds 650 Megabytes.