configureTextProducts User's Guide

February 14, 2012

Table of Contents

Overview

Running the configureTextProducts Program

Example Output


Overview

The configureTextProducts program is a utility that is automatically run during installation and each time EDEX is started. Normally it is not needed to be run manually. The program automatically configures the GFESuite set of formatters based on the afos2awips.txt PIL/WMOID table. There are other options available with configureTextProducts as well. You can run it to delete the templated formatters, list the pil/wmoid information for your site, or list the pil/wmoid information for all sites. The information output is sent to stdout and may be rerouted to a file if desired. The create and delete modes also modify files on disk.

The configureTextProducts program can be used to specify an alternate afos2awips.txt file rather than the official file. This capability is normally only used for testing.

Running the configureTextProducts Program

This program is run from the GFESuite bin directory. The command line syntax is:

configureTextProducts -m MODE [--template=alterateA2AFile] [--help] [--host]

A sample command line is:

configureTextProducts -m CREATE

Option Syntax Description
configureTextProducts -m CREATE Creates the formatter templates based on pil/wmoid information in the afos2awips.txt table.
configureTextProducts -m DELETE Deletes the formatter templates based on pil/wmoid information in the afos2awips.txt table. This is normally used when changing site identifiers (for purposes of service backup) to clean out irrelevant products.
configureTextProducts -m INFO Displays the PIL/WMOID table for each GFE product for the configured site.
configureTextProducts -m ALLINFO Displays the PIL/WMOID table for each GFE product for ALL known sites.
configureTextProducts -m mode --template a2aFile
Performs the "mode" indicated, and uses the alternate afos2awips.txt file identified as "a2aFile".