GFE/ifpIMAGE Configuration File
Discrete Color Algorithm Configuration

The discrete color algorithm is very simple in the case of non-overlapping discrete configuration.  It simply uses a color table in much the same way as SCALAR and VECTOR use color tables.  The algorithm becomes more complicated when the discrete element contains overlapping information.
 
GFE Configuration Item
Applicable to GFE
Applicable to ifpIMAGE
Notes
Discrete Overlap Patterns YES YES
Discrete Complex Color YES YES
Discrete Complex Pattern YES YES

Discrete Color Algorithm  

Number of Discrete Keys at a Grid Point Fill Pattern Color
1 No fill pattern As specified by the Color Table that is assigned to the discrete weather element.
2 The 1st element (priority-order) is drawn as a solid.  The 2nd element is drawn using the first entry in Discrete Overlap Patterns. Each element is drawn as specified in the Color Table that is assigned to the discrete weather element.  For example, if the discrete key is "A^B" and A is assigned red and B is assigned blue, then there will be a solid red area with a patterned blue.
3...n+1 (where n is the number of patterns identified in the Discrete Overlap Patterns) The 1st element is drawn as a solid.  The remaining elements are drawn with each of the entries in the Discrete Overlap Patterns. Each element is drawn as specified in the Color Table that is assigned to the discrete weather element. 
n+2...   (where n is the number of patterns identified in the Discrete Overlap Patterns) The pattern for all elements is as shown in the Discrete Complex Pattern entry. The color for all elements is as shown in the Discrete Complex Color entry.


Discrete Overlap Pattern

The Discrete Overlap Pattern entry defines the set of patterns to use for overlapping discrete fields where an overlap occurs.   The number of patterns indicate the number of overlaps that will be made visually before the Discrete Complex Pattern and Discrete Overlap Pattern is used.

DiscreteOverlapPatterns = ['TRANS_25PC_45DEG', 'TRANS_25PC_135DEG', 'CROSS']

The available fill patterns are:

  • WHOLE
  • WIDE
  • SCATTERED
  • WIDE_SCATTERED
  • ISOLATED
  • TRANS_25PC_45DEG
  • TRANS_25PC_135DEG
  • SELECTED_AREA
  • DUALCURVE
  • CURVE
  • VERTICAL
  • CROSS
  • HORIZONTAL
  • You can view examples of these fill patterns here.
     
     

    Discrete Complex Color

    The Discrete Complex Color is used when there are many overlapping discrete values at a grid point and the list of Discrete Overlap Patterns has been exhausted.

    DiscreteComplexColor = 'red'
     
     

    Discrete Complex Pattern

    The Discrete Complex Pattern is used when there are many overlapping discrete values at a grid point and the list of Discrete Overlap Patterns has been exhausted.

    DiscreteComplexPattern = 'DUALCURVE'

    The available fill patterns are:

  • WHOLE
  • WIDE
  • SCATTERED
  • WIDE_SCATTERED
  • ISOLATED
  • TRANS_25PC_45DEG
  • TRANS_25PC_135DEG
  • SELECTED_AREA
  • DUALCURVE
  • CURVE
  • VERTICAL
  • CROSS
  • HORIZONTAL
  • You can view examples of these fill patterns here.



    Return to TOC