User's Guide

ARCHBRW

Transfer browse images to archive tape

Function:

Archives browse images onto an ANSI-initialized tape using "tar" and "dd".

Parameters:

INDIR(--)
Input directory. Directory specification wherein the browse images reside. If defaulted, the ADAPSBRW directory is used. The browse image file names are always assumed to match "ao*;brw".

MAXBYTES
Maximum megabytes. The maximum number of megabytes that can be written to a tape.

Examples:

  1. LAS> archbrw indir=[ops.subdir] maxbytes=5000

    The browse images matching "ao*.brw" within the "[ops.subdir]" directory will be considered for archive. Only those images which will fit within 5000 megabytes will be processed. The log messages will be written to ARCHBRW;LOG in the ADAPSLOG directory.

Description/Algorithm:

The specified directory (INDIR) is searched to determine which browse image files (ao*;brw) are to be archived. All of the browse images that will fit on one tape are identified for processing. These images are copied to the DAAC system and then written to archive tape. A label is generated for the tape created. Once an archive tape has been successfully created, a summary listing is generated in the "archive" subdirectory within ADAPSBRW. The name of the summary listing is "summaryTAPEID;list" where TAPEID is tape ID generated. All browse images successfully processed will be deleted from disk. The log messages are written to ARCHBRW;LOG in the ADAPSLOG directory.

Nonfatal Error messages:

    None.

Fatal Error messages:

  1. [archbrw-fatal] Fatal error encountered

    A fatal error was encountered. The message displayed preceding this message is the error that was encountered. Processing terminates.

User Notes:

  1. If an error occurs during processing, the browse images will remain in the original directory. Browse images are not removed from disk until an entire tape has been successfully generated.

  2. ARCHBRW uses "tar" and "dd" to write a group of browse image files to a single tape.

  3. The maximum number of browse images that will be put on one tape is limited to 350 due to a Unix size constraint.