GFESuite/ifpIMAGE Configuration File
Mutable Database and Viewable Database Configuration


This section of the configuration file defines entries that affect the mutable database and viewable database configurations.
 
GFE Configuration Item
Applicable to GFE
Applicable to ifpIMAGE
Notes
Mutable Database YES NO Doesn't affect output PNGs
Viewable Database Types YES YES Affect overall available set of types
Filtered Data Mask YES YES Normally only used for ifpIMAGE


Mutable Database Name

The mutable database name is in a "type_model_time" format.  There are several permutations of this format:
  • _model
  • type_model
  • _model_time
  • type_model_time
  • Normally the mutable database name is set to "_Fcst" for the forecast database.  It is unusual, except for testing, to set this field to a different value.

    The "_model" format is used when the database does not have a specified type and a specific model time does not matter.  Be sure to include the underscore character for this format. The "type_model" format is used when the database to be edited has a specified type (e.g., D2D for D2D models). The formats with the time are not normally used but are useful when you want to edit a specific database that is not a singleton.  The format for the time string is yyyymmdd_hhmm.  An example of the time string for November 8, 1999 at 1200z is 19991108_1200.

    mutableModel = "_Fcst"
     

    Viewable Database Types

    The "dbTypes"  entry defines the database types that will be viewable by the GFE.  Database types are defined in serverConfig.py for each database.  Typically the databases derived from models, the forecast database, and the official database all share the same database type.  Other databases, such as the D2D viewable models, are assigned different types.

    The standard databases have a database type of '' (no value).  This value must be included in the list of "dbTypes".  D2D model databases have a type of "D2D".  Virtual databases, such as those used for the Virtual ISC weather elements, have a type of "V".

     You may want to adjust this list to always exclude certain categories of databases from being displayed on the GFE. 

    dbTypes = ['', 'D2D', 'V']
     

    Filtered Data Mask

    The GFE supports filtering of the displayed data by site identifier or site plus weather element name.  The main purpose of this to to produce clipped graphical products (i.e., ifpIMAGE).  For normal GFE operations, the entry should be commented out or non-existant. The displayed data is clipped by specifying an edit area, such as BOU_CWA.  The GFE will access the edit area and then clip all spatially displayed data to this area.  There are four formats of the entry, and the entries are searched for in this order:

    BOU_Wind_mask = "BOU"
    BOU_mask = "CWA"
    Wind_mask = "CWA"
    mask = "CWA"


    Back To TOC