Test Case AvnFPS Wind Rose

for the

AWIPS

Contract

DG133W-05-CQ-1067

Prepared for:

U.S. Department of Commerce

NOAA/NWS Acquisition Management Division

SSMC2, Room 11220

1325 East-West Highway

Silver Spring, MD 20910

Prepared by:

Raytheon Company

STC Office

6825 Pine Street

Omaha, NE 68106

Submitted By:

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
\_\_\_\_\_\_\_\_\_\_\_

Test Engineer Date

Approved By:

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
\_\_\_\_\_\_\_\_\_\_

Program Manager Date

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
\_\_\_\_\_\_\_\_\_\_

Mission Assurance Quality Date

Revision History

  -------------- ---------- --------------- -------------------------------------
  **Revision**   **Date**   **Affected      **Explanation of Change**
                            Pages**         

  1.0            27 June    ALL             Initial Draft
                 2008                       

                                            

                                            
  -------------- ---------- --------------- -------------------------------------

Table of Contents

[1.0 Scope 4](#scope)

[2.0 APPLICABLE DOCUMENTS 5](#applicable-documents)

[2.1 Source Documents 5](#source-documents)

[2.2 Reference Documents 5](#reference-documents)

[3.0 Test Case description 6](#test-case-description)

[3.1 Assumptions, Constraints and Preconditions
6](#assumptions-constraints-and-preconditions)

[3.2 Recommended Hardware 6](#recommended-hardware)

[3.3 Test Inputs 6](#test-inputs)

[3.4 Test Outputs 6](#test-outputs)

[4.0 TEST SCENARIO 7](#test-scenario)

[5.0 requirements verification traceability matrix (RVTM)
11](#requirements-verification-traceability-matrix-rvtm)

# Scope

See Software Test Plan.

# APPLICABLE DOCUMENTS

## Source Documents

-   None

    []{.mark}

## Reference Documents

-   Legacy NWS Test Case: Baseline_AvnFPS\_ WindRose \_OB8.1.

-   Software Test Plan for the Advanced Weather Information Processing
    System Project, Contract #DG133W-05-CQ-1067, August 2008.

-   The Silver Spring NWS AWIPS 1 test bed application.

-   Rational RequisitePro.

# Test Case description

This test case verifies that the climatology tool (Wind Rose), launched
through the AvnFPS function, will produce a Wind Rose for a given month
and hour (or a range of hours) and capability to specify flight category
to further refine the results. Climatology data dependent functionality
will mainly consist of GUI testing.

## Assumptions, Constraints and Preconditions

-   TO9 software has been installed successfully

-   CAVE, EDEX and pgAdmin III are running

-   Data has been ingested

-   Pre-populated sample test data is used (versus actual climatology
    data)

-   Actions, Results, and Requirements highlighted in yellow indicate
    requirements and/or capabilities to be included in the scope of
    future task orders. They are included here for purposes of
    continuity and traceability with the original AWIPS I test case
    documents.

## Recommended Hardware

See Software Test Plan.

## Test Inputs

Section 4.0 below contains the test procedures for this test case.
Sections 2.2 -- 2.9 of the Software Test Plan contain general test
inputs applicable to all TO9 test cases.

## Test Outputs

The Wind Rose dialog is displayed and the results outlined in section
4.0 are met. The AvnFPS GUIs t o be tested include:

-   AvnFPS Menu

-   AvnFPS Climate Menu

-   Wind Rose Plot

-   Config

-   Save As

-   [Print]{.mark}

-   AvnFPS Monitor

# TEST SCENARIO

+---+-----------------------------+----------------------------+------+
| S | Action                      | Result                     | P    |
| t |                             |                            | ass/ |
| e |                             |                            | Fail |
| p |                             |                            |      |
| \ |                             |                            |      |
| # |                             |                            |      |
+===+=============================+============================+======+
| * |                             |                            |      |
| * |                             |                            |      |
| L |                             |                            |      |
| a |                             |                            |      |
| u |                             |                            |      |
| n |                             |                            |      |
| c |                             |                            |      |
| h |                             |                            |      |
| e |                             |                            |      |
| s |                             |                            |      |
| W |                             |                            |      |
| i |                             |                            |      |
| n |                             |                            |      |
| d |                             |                            |      |
| R |                             |                            |      |
| o |                             |                            |      |
| s |                             |                            |      |
| e |                             |                            |      |
| f |                             |                            |      |
| r |                             |                            |      |
| o |                             |                            |      |
| m |                             |                            |      |
| A |                             |                            |      |
| W |                             |                            |      |
| I |                             |                            |      |
| P |                             |                            |      |
| S |                             |                            |      |
| p |                             |                            |      |
| o |                             |                            |      |
| p |                             |                            |      |
| u |                             |                            |      |
| p |                             |                            |      |
| m |                             |                            |      |
| e |                             |                            |      |
| n |                             |                            |      |
| u |                             |                            |      |
| * |                             |                            |      |
| * |                             |                            |      |
+---+-----------------------------+----------------------------+------+
| 1 | Mouse Button (MB) 1 click   | The pop-up menu displays.  |      |
| . | on the workstation (blue    |                            |      |
|   | screen).                    |                            |      |
|   |                             |                            |      |
+---+-----------------------------+----------------------------+------+
| 2 | Select the AWIPS start-up   | The AWIPS pop-up menu      |      |
| . | menu.                       | displays.                  |      |
|   |                             |                            |      |
|   |                             |                            |      |
+---+-----------------------------+----------------------------+------+
| 3 | MB1 click 'Wind Rose'.      | The Wind Rose Plot GUI     |      |
| . |                             | opens.                     |      |
|   |                             |                            |      |
|   |                             |                            |      |
+---+-----------------------------+----------------------------+------+
| 4 | MB1 click on 'File' -\>     | The Wind Rose Plot GUI     |      |
| . | 'Quit'.                     | closes.                    |      |
|   |                             |                            |      |
|   |                             |                            |      |
+---+-----------------------------+----------------------------+------+
| L |                             |                            |      |
| a |                             |                            |      |
| u |                             |                            |      |
| n |                             |                            |      |
| c |                             |                            |      |
| h |                             |                            |      |
| e |                             |                            |      |
| s |                             |                            |      |
| W |                             |                            |      |
| i |                             |                            |      |
| n |                             |                            |      |
| d |                             |                            |      |
| R |                             |                            |      |
| o |                             |                            |      |
| s |                             |                            |      |
| e |                             |                            |      |
| f |                             |                            |      |
| r |                             |                            |      |
| o |                             |                            |      |
| m |                             |                            |      |
| A |                             |                            |      |
| v |                             |                            |      |
| n |                             |                            |      |
| M |                             |                            |      |
| e |                             |                            |      |
| n |                             |                            |      |
| u |                             |                            |      |
+---+-----------------------------+----------------------------+------+
| 5 | In CAVE, MB1 click 'CAVE'   | The AvnFPS Menu window     |      |
| . | -\> 'New' -\> 'Aviation'    | displays.                  |      |
|   | -\> 'AvnFPS Menu...'.       |                            |      |
|   |                             |                            |      |
+---+-----------------------------+----------------------------+------+
| 6 | From the AvnFPS Menu        | The AvnFPS Climate Menu    |      |
| . | window, select a            | window displays.           |      |
|   | forecaster's name and MB1   |                            |      |
|   | click on the 'Climate'      |                            |      |
|   | button.                     |                            |      |
+---+-----------------------------+----------------------------+------+
| 7 | Select the 'Wind Rose'      | The Wind Rose Plot GUI     |      |
| . | button.                     | opens.                     |      |
|   |                             |                            |      |
|   |                             |                            |      |
+---+-----------------------------+----------------------------+------+
| 8 | In the Sites column select  | The site is selected.      |      |
| . | any site.                   |                            |      |
|   |                             |                            |      |
|   |                             |                            |      |
+---+-----------------------------+----------------------------+------+
| 9 | By default the current      | Month and hour text fields |      |
| . | month, hour and 'Auto       | update and the Wind Rose   |      |
|   | Redraw' are selected.       | graphic displays           |      |
|   |                             | accordingly.               |      |
+---+-----------------------------+----------------------------+------+
| 1 | MB1 hold the 'Flight Cat'   | The Wind Rose displays for |      |
| 0 | pull down menu and select   | the selected site [under   |      |
| . | 'IFR'. [Winds for the given | IFR conditions]{.mark}.    |      |
|   | month and hour are selected |                            |      |
|   | only if Instrument Flight   | Note: It contains          |      |
|   | Rules (IFR) conditions      | pre-populated sample data  |      |
|   | exist (low cloud height     | only, not actual           |      |
|   | and/or visibility).]{.mark} | climatology data.          |      |
|   | Then MB1 click the 'Draw'   |                            |      |
|   | button.                     |                            |      |
+---+-----------------------------+----------------------------+------+
| 1 | Uncheck the 'Auto Redraw'   | The graphic is updated     |      |
| 1 | checkbox, and modify the    | accordingly.               |      |
| . | Month, Hour and Num Hours.  |                            |      |
|   | Then MB1 click the 'Draw'   |                            |      |
|   | button.                     |                            |      |
|   |                             |                            |      |
|   | [Note: The Wind Rose data   |                            |      |
|   | are available from 1973 --  |                            |      |
|   | 2004 for most of the        |                            |      |
|   | sites.]{.mark}              |                            |      |
+---+-----------------------------+----------------------------+------+
| 1 | Under the 'File' pull down  | The Config pop-up window   |      |
| 2 | menu, select 'Configure'.   | appears.                   |      |
| . |                             |                            |      |
|   |                             |                            |      |
+---+-----------------------------+----------------------------+------+
| 1 | Select '16' under the       | 16 point is selected and   |      |
| 3 | 'Points' pull down button   | Config pop-up window       |      |
| . | and MB1 click 'OK'.         | closes.                    |      |
|   |                             |                            |      |
+---+-----------------------------+----------------------------+------+
| 1 | MB1 click the 'Draw'        | The Wind Rose Plot         |      |
| 4 | button.                     | displays the wind          |      |
| . |                             | distribution on a 16-point |      |
|   |                             | compass.                   |      |
+---+-----------------------------+----------------------------+------+
| 1 | To save displayed data to a | The Save As popup window   |      |
| 5 | file as text, select 'Save  | displays.                  |      |
| . | Stats' under the 'File'     |                            |      |
|   | pull down menu.             |                            |      |
+---+-----------------------------+----------------------------+------+
| 1 | Enter the file name with    | The file is saved in the   |      |
| 6 | .txt extension (e.g.,       | specified directory and    |      |
| . | TestData16Point.txt). Then  | the save as popup window   |      |
|   | MB1 click the 'Save'        | closes.                    |      |
|   | button.                     |                            |      |
+---+-----------------------------+----------------------------+------+
| S | Action                      | Result                     | P    |
| t |                             |                            | ass/ |
| e |                             |                            | Fail |
| p |                             |                            |      |
| \ |                             |                            |      |
| # |                             |                            |      |
+---+-----------------------------+----------------------------+------+
| 1 | To save displayed data to a | The Save As popup window   |      |
| 7 | file as graphic (image),    | displays.                  |      |
| . | select 'Save Image' under   |                            |      |
|   | the 'File' pull down menu.  |                            |      |
+---+-----------------------------+----------------------------+------+
| 1 | Enter the file name with    | The file is saved in the   |      |
| 8 | one of the extension: .bmp, | specified directory and    |      |
| . | .jpg, .png (e.g.,           | the save as popup window   |      |
|   | TestImage16Point.png). Then | closes.                    |      |
|   | MB1 click the 'Save'        |                            |      |
|   | button.                     |                            |      |
+---+-----------------------------+----------------------------+------+
| 1 | To print a text file or     | The Print pop-up window    |      |
| 9 | image, select 'File' -\>    | opens and contains the     |      |
| . | 'Print'.                    | 'Palette' option of 'gray' |      |
|   |                             | and 'color'.               |      |
+---+-----------------------------+----------------------------+------+
| 2 | Select either the 'gray' or | A text file or image       |      |
| 0 | 'color' radio button. The   | prints on 'lp1' (if 'gray' |      |
| . | MB1 click 'OK'.             | radio button is selected)  |      |
|   |                             | or 'lp2' (if 'color' radio |      |
|   |                             | button is selected).       |      |
+---+-----------------------------+----------------------------+------+
| 2 | Under the 'File' pull down  | The Wind Rose Plot window  |      |
| 1 | menu in the Wind Rose Plot  | closes.                    |      |
| . | window, select 'Quit'.      |                            |      |
|   |                             |                            |      |
+---+-----------------------------+----------------------------+------+
| 2 | In the AvnFPS Climate Menu  | The AvnFPS Climate Menu    |      |
| 2 | window, select 'File' -\>   | window closes.             |      |
| . | 'Quit'.                     |                            |      |
|   |                             |                            |      |
+---+-----------------------------+----------------------------+------+
| 2 | To verify the saved files   | The files saved from steps |      |
| 3 | from steps [16 &]{.mark}    | [16 &]{.mark} 18 display   |      |
| . | 18, open a Terminal and     | on the lists.              |      |
|   | navigate to the specified   |                            |      |
|   | directory in steps [16      |                            |      |
|   | and]{.mark} 18.             |                            |      |
+---+-----------------------------+----------------------------+------+
| 2 | Open the saved files to     | The files contain the      |      |
| 4 | verify that they contain    | correct information.       |      |
| . | the saved information.      |                            |      |
|   |                             |                            |      |
+---+-----------------------------+----------------------------+------+
| 2 | Close all opened windows.   | All opened windows close.  |      |
| 5 |                             |                            |      |
| . |                             |                            |      |
|   |                             |                            |      |
+---+-----------------------------+----------------------------+------+
| L |                             |                            |      |
| a |                             |                            |      |
| u |                             |                            |      |
| n |                             |                            |      |
| c |                             |                            |      |
| h |                             |                            |      |
| e |                             |                            |      |
| s |                             |                            |      |
| W |                             |                            |      |
| i |                             |                            |      |
| n |                             |                            |      |
| d |                             |                            |      |
| R |                             |                            |      |
| o |                             |                            |      |
| s |                             |                            |      |
| e |                             |                            |      |
| f |                             |                            |      |
| r |                             |                            |      |
| o |                             |                            |      |
| m |                             |                            |      |
| A |                             |                            |      |
| v |                             |                            |      |
| n |                             |                            |      |
| W |                             |                            |      |
| a |                             |                            |      |
| t |                             |                            |      |
| c |                             |                            |      |
| h |                             |                            |      |
| G |                             |                            |      |
| U |                             |                            |      |
| I |                             |                            |      |
+---+-----------------------------+----------------------------+------+
| 2 | From the AvnFPS Menu,       | The AvnFPS Monitor         |      |
| 6 | select the forecaster's     | connected to local host    |      |
| . | name and MB1 click on the   | window displays.           |      |
|   | 'TAFs' button.              |                            |      |
+---+-----------------------------+----------------------------+------+
| 2 | MB1 click on the 'Climate'  | The AvnFPS Climate Menu    |      |
| 7 | button.                     | window displays.           |      |
| . |                             |                            |      |
|   |                             |                            |      |
+---+-----------------------------+----------------------------+------+
| 2 | Select the 'Wind Rose'      | The Wind Rose Plot GUI     |      |
| 8 | button.                     | opens.                     |      |
| . |                             |                            |      |
|   |                             |                            |      |
+---+-----------------------------+----------------------------+------+
| 2 | In the Sites column select  | The site is selected.      |      |
| 9 | any site.                   |                            |      |
| . |                             |                            |      |
|   |                             |                            |      |
+---+-----------------------------+----------------------------+------+
| 3 | By default, the current     | The month and hour text    |      |
| 0 | month, hour, and 'Auto      | fields are updated, and    |      |
| . | Redraw' are selected.       | the Wind Rose graphic      |      |
|   |                             | displays accordingly.      |      |
+---+-----------------------------+----------------------------+------+
| 3 | MB1 hold the 'Flight Cat'   | The Wind Rose displays for |      |
| 1 | pull down menu and select   | the selected site [under   |      |
| . | 'MVFR'. Then MB1 click the  | MVFR conditions]{.mark}.   |      |
|   | 'Draw' button.              |                            |      |
+---+-----------------------------+----------------------------+------+

+---+-----------------------------+----------------------------+------+
| S | Action                      | Result                     | P    |
| t |                             |                            | ass/ |
| e |                             |                            | Fail |
| p |                             |                            |      |
| \ |                             |                            |      |
| # |                             |                            |      |
+===+=============================+============================+======+
| 3 | Uncheck the 'Auto Redraw'   | The graphic updates        |      |
| 2 | checkbox and modify the     | accordingly.               |      |
| . | Month, Hour and Num Hours.  |                            |      |
|   | Then MB1 click the 'Draw'   | Note: It contains          |      |
|   | button.                     | pre-populated sample data  |      |
|   |                             | only, not actual           |      |
|   | [Note: The Wind Rose data   | climatology data.          |      |
|   | are available from 1973 --  |                            |      |
|   | 2004 for most of the        |                            |      |
|   | sites.]{.mark}              |                            |      |
+---+-----------------------------+----------------------------+------+
| 3 | MB1 click 'File' -\>        | The Config GUI displays.   |      |
| 3 | 'Configure...'.             |                            |      |
| . |                             |                            |      |
|   |                             |                            |      |
+---+-----------------------------+----------------------------+------+
| 3 | Modify the Config settings  | The settings are modified. |      |
| 4 | (values and colors). Then   |                            |      |
| . | MB1 click the 'OK' button.  | The Config dialog closes.  |      |
|   |                             |                            |      |
+---+-----------------------------+----------------------------+------+
| 3 | In the Wind Rose Plot       | The Wind Rose diagram      |      |
| 5 | dialog, MB1 click the       | modifies accordingly.      |      |
| . | 'Draw' button.              |                            |      |
|   |                             |                            |      |
+---+-----------------------------+----------------------------+------+
| 3 | To save the displayed data  | The Save As popup window   |      |
| 6 | to a file as text, select   | displays.                  |      |
| . | 'Save Stats' under the      |                            |      |
|   | 'File' pull down menu.      |                            |      |
+---+-----------------------------+----------------------------+------+
| 3 | Enter the file name with    | The file is saved in the   |      |
| 7 | .txt extension (e.g.,       | specified directory and    |      |
| . | TestData36Point.txt). Then  | the Save As popup window   |      |
|   | MB1 click the 'Save'        | closes.                    |      |
|   | button.                     |                            |      |
+---+-----------------------------+----------------------------+------+
| 3 | To save the displayed data  | The Save As popup window   |      |
| 8 | to a file as graphic        | displays.                  |      |
| . | (image), select 'Save       |                            |      |
|   | Image' under the 'File'     |                            |      |
|   | pull down menu.             |                            |      |
+---+-----------------------------+----------------------------+------+
| 3 | Enter the file name with    | The file is saved in the   |      |
| 9 | one of the extension: .bmp, | specified directory and    |      |
| . | .jpg, .png (e.g.,           | the save as popup window   |      |
|   | TestImage36Point.png). Then | closes.                    |      |
|   | MB1 click the 'Save'        |                            |      |
|   | button.                     |                            |      |
+---+-----------------------------+----------------------------+------+
| 4 | To print a text file or     | The Print pop-up window    |      |
| 0 | image, select 'File' -\>    | opens and contains the     |      |
| . | 'Print'.                    | 'Palette' option of 'gray' |      |
|   |                             | and 'color'.               |      |
+---+-----------------------------+----------------------------+------+
| 4 | Select either the 'gray' or | A text file or image       |      |
| 1 | 'color' radio button. Then  | prints [on 'lp1' (if       |      |
| . | MB1 click 'OK'.             | 'gray' radio button is     |      |
|   |                             | selected) or 'lp2' (if     |      |
|   |                             | 'color' radio button is    |      |
|   |                             | selected).]{.mark}         |      |
+---+-----------------------------+----------------------------+------+
| 4 | Under the 'File' pull down  | The Wind Rose Plot window  |      |
| 2 | menu in the Wind Rose Plot  | closes.                    |      |
| . | window, select 'Quit'.      |                            |      |
|   |                             |                            |      |
+---+-----------------------------+----------------------------+------+
| 4 | From the Climate Menu       | The AvnFPS Climate Menu    |      |
| 3 | window, select 'File' -\>   | window closes.             |      |
| . | 'Quit'.                     |                            |      |
|   |                             |                            |      |
+---+-----------------------------+----------------------------+------+
| 4 | Close the AvnFPS Monitor    | The AvnFPS Monitor GUI     |      |
| 4 | GUI.                        | closes.                    |      |
| . |                             |                            |      |
|   |                             |                            |      |
+---+-----------------------------+----------------------------+------+
| 4 | To verify the saved files   | The files saved from steps |      |
| 5 | from steps [34 &]{.mark}    | [34 &]{.mark} 36 display   |      |
| . | 36, open a Terminal and     | on the lists.              |      |
|   | navigate to the specified   |                            |      |
|   | directory in steps [34      |                            |      |
|   | and]{.mark} 36.             |                            |      |
+---+-----------------------------+----------------------------+------+
| 4 | MB1 click on the files to   | The files contain the      |      |
| 6 | verify that they contain    | correct information        |      |
| . | the information that was    |                            |      |
|   | saved.                      |                            |      |
+---+-----------------------------+----------------------------+------+

+---+-----------------------------+----------------------------+------+
| S | Action                      | Result                     | P    |
| t |                             |                            | ass/ |
| e |                             |                            | Fail |
| p |                             |                            |      |
| \ |                             |                            |      |
| # |                             |                            |      |
+===+=============================+============================+======+
| 4 | Close all opened AvnFPS     | All opened AvnFPS related  |      |
| 7 | related windows.            | windows close.             |      |
| . |                             |                            |      |
|   |                             |                            |      |
+---+-----------------------------+----------------------------+------+
|   | End of test.                |                            |      |
+---+-----------------------------+----------------------------+------+

# requirements verification traceability matrix (RVTM)

  -------------- ------------------------------------------------- ----------
  Number         Description                                       Test
                                                                   Step(s)

  SYSR2073.102   The Climate Button shall allow the user the       6-7, 27-28
                 capability to start any of three distinct         
                 climatology GUIs: Wind Rose, Ceiling and          
                 Visibility Distribution, and Ceiling and          
                 Visibility Trend.                                 

  SYSR2073.103   The Wind Rose Dialog shall allow the user the     11, 32
                 capability to display a wind rose for a selected  
                 month, hour, and duration (in hours).             

  SYSR2073.104   The Wind Rose Dialog shall allow the user the     10, 31
                 capability to further refine the wind rose by     
                 selecting a flight category.                      

  SYSR2073.105   The Wind Rose Dialog shall allow the user the     8, 29
                 capability to select the location of interest,    
                 e.g.                                              

  SYSR2073.106   The Wind Rose Dialog shall allow the user the     10, 11,
                 capability to draw the wind rose via the Draw     14, 31, 32
                 button on the Wind Rose Dialog.                   

  SYSR2073.107   The Wind Rose Dialog\'s File Menu\'s Save Stats   15-16,
                 selection shall allow the user the capability to  23-24,
                 save statistics to a file.                        36-37,
                                                                   45-46

  SYSR2073.108   The Wind Rose Dialog\'s File Menu\'s Save Image   17-18,
                 selection shall allow the user the capability to  23-24,
                 save an image to a file.                          38-39,
                                                                   45-46

  SYSR2073.109   The Wind Rose Dialog\'s File Menu\'s Print Image  19-20,
                 selection shall allow the user the capability to  40-41
                 print an image.                                   

  SYSR2073.110   The Wind Rose Dialog\'s File Menu\'s Configure    33-35
                 selection shall allow the user the capability to  
                 change wind speed thresholds, corresponding       
                 colors, and to set the number of wind directions  
                 through a Configuration Dialog.                   

  SYSR2073.111   The Wind Rose Dialog\'s File Menu\'s Quit         21, 42
                 selection shall allow the user the capability to  
                 exit the wind rose climatology.                   
  -------------- ------------------------------------------------- ----------