ARCHIVE
Software Requirements Specification

Tim Baltzer
Computer Services Branch
Software Engineering Department

June 2000

Signatures




Prepared by: Tim Baltzer
  Software Engineer,
  Raytheon, ITSS
Concurred by: Dave Lloyd
  Software Engineer,
  Raytheon, ITSS
Approved by: Jeff Eidenshink
  DSB, USGS
  Raytheon, ITSS

Document History




Number Date and Sections Notes
1 06/2000 Initial Development
2 07/2000 Update RTM with design elements
3 [Info] [Notes]
4 [Info] [Notes]
5 [Info] [Notes]
6 [Info] [Notes]


Contents

INTRODUCTION

Identification

NOAA has recently requested to receive a copy of all the AVHRR scenes that we process at EDC. The current archiving system has evolved over time, and has become difficult to enhance and maintain. An ADAPS system archive manager needs to be written to coordinate the tape stacking activities.

System Overview

ARCHIVE is an application that will oversee the archiving activities necessary for ADAPS processing. ARCHIVE_DAEMON is an application that will iteratively call ARCHIVE at some predefined interval.

Document Overview

The purpose of this document is to record the requirements that have been established for ARCHIVE and ARCHIVE_DAEMON.

REFERENCE INFORMATION

( Current processing flow )

INPUT directory MODULE OUTPUT directory ---------------- ------------ ----------------- -- CKTRANS acquire (ADAPSACQ) NOAAFTP CDACQUIRE TPACQUIRE ACQUMAN etc. acquire (ADAPSACQ) INGEST ingest (ADAPSING) ingest (ADAPSING) REFAID archive/XXX/sfl (ADAPSARC) (calls DBSETUP) esa (if in 'select.esa') sfl (otherwise 'sfl' ) archive/esa/sfl AUTOESA archive/sfl/sfl archive/sfl/sfl AUTOSFL archive/prodgen archive/prodgen PRODGEN delete scene

( New proposed processing flow )

INPUT directory MODULE OUTPUT directory ---------------- ------------ ----------------- CKTRANS acquire (ADAPSACQ) NOAAFTP CDACQUIRE TPACQUIRE ACQUMAN etc. acquire (ADAPSACQ) INGEST ingest (ADAPSING) ingest (ADAPSING) REFAID archive (ADAPSARC) archive (ADAPSARC) ARCHIVE archive/esa/sfl (possibly) archive/sfl/sfl (always) archive/noa/sfl (possibly) archive/prodgen (always) archive/esa/sfl AUTOESA delete scene archive/sfl/sfl AUTOSFL delete scene archive/noa/sfl AUTONOA delete scene archive/prodgen PRODGEN delete scene

Applicable Documents

None.

Reference Documents

None.

   
REQUIREMENTS

Interface Requirements

Input Parameters

Output Parameters

Global Parameters

None.

   
Functional Requirements

Performance Requirements

   
Operational Requirements

   
Other Requirements

TEST CASES

Test Number Requirement Number Description
1a 1, 3, 4.1, 4.3, 4.4 Place images with various CEOS id's in the ADAPSARC directory. Use 'test' ADAPSARC directory so that production processing is not interupted. Ensure that only images with CEOS id's specified in ADAPSTABLES/select.esa get copied into the ADAPSARC/esa/sfl directory. Ensure that images always get copied to ADAPSARC/sfl/sfl and always get moved to ADAPSARC/prodgen. Check to ensure that messages are logged appropriately.
1b 2, 3, 4.2, 4.3, 4.4 Place images with various CEOS id's in the ADAPSARC directory. Use 'test' ADAPSARC directory so that production processing is not interupted. Ensure that only images with CEOS id's specified in ADAPSTABLES/select.noa get copied into the ADAPSARC/noa/sfl directory. Ensure that images always get copied to ADAPSARC/sfl/sfl and always get moved to ADAPSARC/prodgen. Check to ensure that messages are logged appropriately.
2 5 Initiate more than one instance of the ARCHIVE_DAEMON. Place an image in the ADAPSARC directory and ensure that only one of the daemons processes the image, the other daemon(s) must ignore it.
2a 6 Initiate one instance of the ARCHIVE_DAEMON. Monitor the daemon to ensure that it 'wakes up' at the predefined iteration and processes all images found in ADAPSARC.
3 7, 13 Run the modified ADAPSTOP application to ensure that all instances of ARCHIVE_DAEMON will stop when at a logical breaking point.
4 8, 9, 12.2 Initiate an instance of the ARCHIVE_DAEMON through the ADAPS menus system (as part of the entire ADAPS configuration as well as a single instance of ARCHIVE_DAEMON). Monitor the batch queue to ensure that it runs in batch and writes a batch session file as well as a log file.
5 10, 12.1 Initiate an interactive (not batch) instance of ARCHIVE from the ADAPS menus, and monitor it to ensure that it successfully processes all the available images before terminating.
6 11 Run REFAID to ensure that, once processed, it moves the images to ADAPSARC.
7 14 Run the modified AUTOESA to ensure that it stacks the image to a tape and then deletes the image instead of moving it.
8 15 Run the modified AUTOSFL to ensure that it stacks the image to a tape and then deletes the image instead of moving it.
9 16 Run AUTONOA (new procedure) to ensure that it stacks images to tape and then deletes them.
     

REQUIREMENTS TRACEABILITY

SW Requirement Number Test Number Design Code
1 1a D2.1  
2 1b D2.2  
3 1a, 1b D8.0  
4.1 1a D2.1  
4.2 1b D2.2  
4.3 1a, 1b D2.3  
4.4 1a, 1b D2.4  
5 2 D2.0  
6 2a D7.0  
7 3 D7.0  
8 4 D9.0  
9 4 D10.0  
10 5 D10.0  
11 6 D10.0  
12.1 5 D10.0  
12.2 4 D10.0  
13 7 D11.0  
14 7 D3.0  
15 8 D5.0  
16 9 D4.0  

NOTES

None.

ACRONYMS




ADAPS AVHRR Data Acquisition and Production System
ADAPSLOG System environment variable that points to ADAPS specific log files
ADAPSTABLES System environment variable that points to ADAPS specific tables and files
AVHRR Advanced Very High Resolution Radiometer
CEOS Committe on Earth Observation Satellites
EDC EROS Data Center
ESA European Space Agency
NOAA National Oceanic and Atmospheric Administration