NOAA Fisheries Toolbox Design

 

|  Overview  |  Design Advantages  |

 

Overview

 

Schematic of information flow through the graphic interface

Flow of data and information through an example NFT graphic interface.

 

Software programs in the NOAA Fisheries Toolbox combine a sophisticated graphical interface with an independent calculation engine. The calculation engine forms the core of each program, applying statistical modeling data manipulation functions and outputting the results. The graphical interface's primary job is to make data entry and selection of modeling criteria easier for the user and to present model results in easily accessible charts and tables.

 

The VPA model is a good example of how this design works. VPA's calculation engine, an age structured estimation model, was written entirely in FORTRAN and compiled into a binary executable file format. The graphical interface was developed in Visual Basic with some C language utilities and also compiled into a separate executable program. Communication between the calculation engine and the graphical interface is accomplished through ASCII text input and output files.

 

To use the VPA model you would run VPA's graphic interface. You can add new data by copying data from a spreadsheet and pasting directly into the graphic interface's grids and text input boxes. You can select modeling options from drop down menus, check boxes and buttons. When you save the data VPA does some basic validity checking to make sure all necessary inputs the calculation engine needs are specified, and then writes the ASCII text file that the calculation engine will read.

 

If you have a VPA scenario already constructed, you can have the graphic interface load the data from the existing ASCII text files and edit the data as needed.

 

When you want to run the estimation model, the VPA graphic interface launches the calculation engine as an independent process. The calculation engine, in turn, reads in the saved ASCII text files, executes the necessary mathematical functions, and writes the results to another set of ASCII text files for storage. The graphic interface reads in the output files the calculation just produced and displays the modeling results in tables and plots.

 

Since model results are stored in files after the computations are completed you don't have to re-run the model each time if you want to view the model results at a later time. If so desired, each scenario you construct can be saved for archiving purposes by keeping the ASCII input and output files.

 

Plots in the graphic interface can be easily customized and can also be copied to your computer individually or in batch mode. Tabular output data can also be copied to the clipboard and pasted into other files for further analysis outside of the program. 

 

Back to Top 

 

Design Advantages

 

Having the calculation engine separate from the graphic interface has a number of advantages: 

 

 

 

  

 

Back to Top 

 

NOAA Fisheries Toolbox Version 3.1

website last modified May 16, 2016