Tim Baltzer
Computer Services Branch
Software Engineering Department
June 2000
Prepared by: | Tim Baltzer |
---|---|
Software Engineer, | |
Raytheon, ITSS | |
Concurred by: | Dave Lloyd |
Software Engineer, | |
Raytheon, ITSS | |
Approved by: | Jeff Eidenshink |
DSB, USGS | |
Raytheon, ITSS |
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] |
( 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
2 The ascii text file $ADAPSTABLES/select.noa will define which CEOS id's are to be archived for NOAA.
3.2 All error messages will be logged.
4.2 copy it to ADAPSARC/noa/sfl if the CEOS id of the image is listed in 'select.noa'.
4.3 copy it to ADAPSARC/sfl/sfl unconditionally.
4.4 move it to ADAPSARC/prodgen unconditionally.
The image files must be copied data file first, and header file second (to keep the stacker from grabbing it while it is being copied).
6. A daemon ARCHIVE_DAEMON must iteratively call ARCHIVE at some pre-determined time interval.
7. The ability to gracefully stop ARCHIVE_DAEMON must be available.
10. ARCHIVE must be callable from the ADAPS menu system.
12. ADAPSMENUS must be modified to call:
12.2 Initiate the daemon ARCHIVE_DAEMON in batch mode:
12.2.2 An instance of the ARCHIVE_DAEMON only.
14. AUTOESA must be modified to delete the image upon stacking instead of moving it.
15. AUTOSFL must be modified to delete the image upon stacking instead of moving it.
16. AUTONOA must be written to stack and then delete an image.
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. |
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 |
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 |