#------*-python-*------------------------------------------------------------- # Config file for the GFE (Graphical Forecast Editor). # # $Id$ #----------------------------------------------------------------------------- import siteConfig GFESUITE_HOME = siteConfig.GFESUITE_HOME GFESUITE_SERVER = siteConfig.GFESUITE_SERVER GFESUITE_PORT = siteConfig.GFESUITE_PORT GFESUITE_DATDIR = siteConfig.GFESUITE_DATDIR GFESUITE_DOCDIR = siteConfig.GFESUITE_DOCDIR GFESUITE_PRDDIR = siteConfig.GFESUITE_PRDDIR GFESUITE_ETCDIR = siteConfig.GFESUITE_ETCDIR yes = 1 no = 0 #------------------------------------------------------------------------ # General Network Configurations #------------------------------------------------------------------------ # The ifpServer accepts requests on a Remote Procedure Connection (RPC). # The standard port number is 98000000. serverPort = int(GFESUITE_PORT) # The ifpServer host is specified either as an IP address, or as a named # machine. serverName = GFESUITE_SERVER # The network timeout for connecting to the ifpServer and for waiting for # requests is specified in seconds. networkTimeout = 600 #------------------------------------------------------------------------ # Mutable Parameter and Viewable Database Configurations #------------------------------------------------------------------------ # mutableModel indicates the one database that can be modified. Format # is "type_model_time". If time isn't important (for a singleton db), # then the format is "type_model". If there isn't a type, then the # format is "_model". mutableModel = "_Fcst" # dbTypes is a list of database types which the gfe should "see". dbTypes = ['', 'D2D'] # The GFE supports filtering of the displayed data by site ID. # If a config entry of the form SITEID_mask is set (to a named edit area), # then the gfe will use the area as a mask in displaying data in the # spatial editor. The user also can set masks for individual weather # elements by adding config entries of the form SITEID_PARMNAME_mask. # The software first looks for a specific site/parmName entry, then # for the site entry. If you want all of the weather elements clipped # except one, then specify an empty name ("") of the edit area # associated with that weather element. #BOU_Wind_mask = "BOU" #BOU_mask = "CWA" #------------------------------------------------------------------------ # Initial GFE Startup Weather Elements, Samples, and Edit Action List # Configurations #------------------------------------------------------------------------ # Defines the initial set of parameters to be loaded when starting # the GFE. The name of the Group is specified. # This is also the name of the default group of Edit Actions. DefaultGroup = "Public" # Defines the initial set of sample sets that are displayed when # starting the GFE. DefaultSamples = ['DefaultSamples'] # Defines the Smart Tools to be displayed on the Spatial Editor button-3 pop up menu. # All smart tools (screened by active element) will appear if # AllEditActionsOnPopUp = yes # Alternatively, you can set AllEditActionsOnPopUp = no and specify a list of smart tools (screened by active element) to appear. AllEditActionsOnPopUp = yes PopUpEditActions = ["Assign_Value","AdjustValue_Down","AdjustValue_Up","Smooth"] # Defines the initial set of edit area groups to appear in the edit # area and query dialog. If not specified, the default is Misc. EditAreaGroups = ['Misc'] #------------------------------------------------------------------------ # Misc. Configuration #------------------------------------------------------------------------ # The drt time offset parameter indicates the start time of the GFE. # Normally to run in normal mode, this entry should not be defined. # The format of the entry is yyyymmdd_hhmm. #drtTimeOffset = "20001121_0000" # The Quantum indicates the number of seconds that makes up the minimum # time resolution of the grids. Normally it is set to 3600. It is in # units of seconds. Quantum = 3600 # This list of Weather element names will be used to sort the GridManager. # Elements in this list will occur first. All others will be sorted # by name. GridManagerSortOrder = ['T', 'Td', 'MaxT', 'MinT', 'WindChill', 'RH', 'HeatIndex', 'Wind', 'FreeWind', 'TransWind', 'Sky', 'Wx', 'LAL', 'PoP', 'CWR', 'QPF', 'SnowAmt', 'FzLevel', 'Haines', 'MixHgt'] # Auto Save Interval # The Auto Save Interval entry defines the interval in minutes that is # used to automatically save modified weather elements. AutoSaveInterval = 0 # This is the name of an optional config file for the python editor (idle) # used by the GFE. If this item is defined and the file exists in the # etc/SITE directory, then the editor will read it and override the default # configuration. See the file etc/BASE/idleConfig.txt for information # on what you can set. At this time you can not override the key bindings. # But this should change in the near future. #IDLECONF = "yourFile.txt" #------------------------------------------------------------------------ # Map Background Configuration #------------------------------------------------------------------------ # Defines the initial loaded set of map backgrounds. The name of the # background should match the list of available maps defined in Maps.py # in the server configuration files. MapBackgrounds_default = ['States','CWA'] # Defines the available colors for the map backgrounds that appears # in the color list popup button 3 over a map legend. MapBackgrounds_availColors = ['gray60', '#00ff00', '#ff8e59', '#00ffff', '#e6c8a1', '#ffff52', '#ff99ff', '#aeb370', '#ff4000', '#e6c8a1', '#ffffff'] # Specific Colors for a map background # The user may specify a specific color to be used for a map background, # rather # than getting a random color assigned. # Format is mapName_graphicColor = color. The color does # not need to be in the MapBackgrounds_availColors list. #States_graphicColor = 'green' # Specific Graphic Line Widths for a map # Default line widths can be set for each map background based on # map name. Zero is the default value, which represents thin lines. # The larger the number, the wider the line. The format is mapName_lineWidth. # Do not include a decimal point after these entries. #States_lineWidth = 1 # Specific Line Pattern definitions for a map # Default line patterns can be set up for each map background. The # possible strings are "SOLID", "DASHED", "DOTTED", "DASHED_DOTTED". The # values must be enclosed within quotes. The format is mapName_linePattern. #States_linePattern = "SOLID" #------------------------------------------------------------------------ # Graphics Hardware Configurations #------------------------------------------------------------------------ # # general default X resources can be set here. # # Some PC X servers do not implement a bitmap stipple fill in hardware. # This can make the default rendering mode of maps (and other bitmaps) # slow. If you suspect this might be the case, then set the following to # 0. useBitmaps = 1 # or 0 # Fonts. These are the various fonts that the GFE uses. They can be # changed to increase/decrease the size of the text on the GFE. The # fonts are in ascending sizes. A better way to override the fonts # is to use the config items under UI Configuration. TextFont0 = "-b&h-lucidatypewriter-bold-*-sans-10-*" TextFont1 = "-b&h-lucidatypewriter-bold-*-sans-12-*" TextFont2 = "-b&h-lucidatypewriter-bold-*-sans-14-*" TextFont3 = "-b&h-lucidatypewriter-bold-*-sans-18-*" TextFont4 = "-b&h-lucidatypewriter-bold-*-sans-24-*" # The color which will be used as the background for all of the display # panes. bgColor = "black" #------------------------------------------------------------------------ # System Time Range Configuration #------------------------------------------------------------------------ # These parameters indicate the span of the Grid Manager and Temporal # Editor in relation to the current time. Units are in hours. If grids # are present, the displayable time range may be expanded by the software. SystemTimeRange_beforeCurrentTime = 48 SystemTimeRange_afterCurrentTime = 168 #------------------------------------------------------------------------ # UI Configuration #------------------------------------------------------------------------ # Defines the color and pattern used in the Grid Manager to indicate # a time selection. Selected_color = 'LightSkyBlue' Selected_fillPattern = 'TRANS_25PC_45DEG' # Defines the color and pattern of the time scale lines in the Grid # Manager and Temporal Editor TimeScaleLines_color = 'Blue' TimeScaleLines_pattern = 'DOTTED' # Defines the color, width, and pattern used for the editor time line # that runs through the Grid Manager and Temporal Editor EditorTimeLine_color = 'Yellow' EditorTimeLine_width = 2 EditorTimeLine_pattern = 'DOTTED' # Defines the color used by the Grid Manager to indicate the #current system time CurrentSystemTime_color = 'Green' # Defines the color and pattern used by the Temporal Editor to indicate # split boundary or time constraints. SplitBoundary_color = 'Blue' SplitBoundary_pattern = 'SOLID' # Defines the colors used in the Grid Manager to indicate that a # time period is locked by you, or by another person. LockedByMe_color = 'forestgreen' LockedByMe_pattern = 'WHOLE' LockedByOther_color = 'tomato2' LockedByOther_pattern = 'WHOLE' # Defines the visible, invisible, and active colors used in the Grid # Manager to indicate when a grid block is either visible, invisible, # and/or active. Defines the color used to indicate which grids # may be modified during an edit action.(Preview_color) TimeBlockVisible_color = 'White' TimeBlockActive_color = 'Yellow' TimeBlockInvisible_color = 'Gray50' TimeBlockPreview_color = 'Cyan' # Defines the color used to indicate the Edit Area on the spatial editor. ReferenceSet_color = 'Gray80' # Defines the initial horizontial size of the grid manager when first # starting the GFE in pixels. Do not place a decimal point after the number. TimeScale_horizSize = 350 # Defines the toolbar background colors #ToolbarColor1 = PeachPuff1 #ToolbarColor2 = PeachPuff1 #ToolbarColor3 = PeachPuff1 #ToolbarColor4 = PeachPuff1 #ToolbarColor5 = PeachPuff1 # Defines the number of Edit Area Quick Set Buttons. Do not place a # decimal point after the buttons #QuickSetButtons = 4 # StatusBar Variables # Defines the timeout for the new message indicator in 0.001 seconds # Do not place a decimal point after the number. StatusTimeout = 30000 # time out for New Message Indicator # Defines the maximum number of messages that are retained in the buffer # Do not place a decimal point after the number. MessageLimit = 20 # Defines the percent that the office domain will be expanded for the # spatial editor full-screen view. The user can specify the expansion # for each of the four directions. If not specified, the default is 10%. OfficeDomain_expandLeft = 10 OfficeDomain_expandRight = 10 OfficeDomain_expandTop = 10 OfficeDomain_expandBottom = 10 # Initial location of Edit Action Dialog # These are absolute screen coordinates (not relative to GFE window) # To put Edit Action Dialog in lower left corner, set Ycoord to 600 #EditActionDialog_Xcoord = 99 #EditActionDialog_Ycoord = 74 # Initial layout up of Grid Manager/Temporal Editor: # Values: "OnTop" (default) # "OnLeft" #GM_TE_Layout = "OnTop" #------------------------------------------------------------------------ # Sample and Legend Colors, Sample Shadows #------------------------------------------------------------------------ # This section provides some control over the sample colors and # the image legend color. Normally these values are set to "white", # but might need to be changed in the background color for the drawing # panes color is changed. The sample shadow may also be turned on # or off. # Sample LatLon and + Color. This affects the color of the '+' drawing, # plus the color of the latitude/longitude samples on the spatial editor. #SampleLLPlus_color = "white" # Image Legend color. This affects the color of the legend when a weather # element is displayed as an image. This also affects the sample color # for weather element displayed as an image. #ImageLegend_color = "white" # Sample Shadows. The samples can have a shadow character written in # black offset from the sample text. This improves constrast when the # main sample color is light and the background color (e.g., image) is # also fairly light. Acceptable entries are "yes" and "no". #ShowSampleShadows = "yes" #------------------------------------------------------------------------ # GFE Font Sizes #------------------------------------------------------------------------ # This section provides the user the capability of changing the font # sizes in various components of the GFE. The font numbers can range # from 0 through 4 with 0 being the smallest. # These font entries define the fonts used by various components of # the GFE. #ColorBarScale_font = 1 #ColorBarWxLabel_font = 2 #ColorBarPickUp_font = 3 #SESample_font = 2 #SELegend_font = 3 #TEDataSelector_font = 1 #TESample_font = 1 #TimeBlockLabel_font = 3 #TimeBlockSource_font = 1 #TimeScale_font = 2 #SetValueContLabel_font = 2 #SetValueWxLabel_font = 2 #SetValuePickUp_font = 3 # Defines the default labeling size on the Bounded Area display for # weather, the contour tool depiction font, the map background font, # and the contour labeling font. These fonts can also be modified on # a per-parm basis using the fontOffset capability defined in the # parameter configuration. #BoundedArea_font = 2 #Cline_font = 2 #Map_font = 2 #Contour_font = 2 #------------------------------------------------------------------------ # Grid Data History configuration #------------------------------------------------------------------------ # Defines the characters, colors, and patterns that will appear # in the Grid Manager grid blocks # to indicate the source, origin, and modification states. # # If the grid has been modified by me or someone else, the text in the # grid block and grid pattern is modified to that specified below: HistoryUserModText_Me = "m" #Text for modified by me HistoryUserModText_Other = "o" #Text for modified by other HistoryUserModPattern_Me = "TRANS_25PC_45DEG" #Pattern for mod by me HistoryUserModPattern_Other = "TRANS_25PC_135DEG" #Pattern for mod by other # The text in the grid block and the grid color will represent the origin: # Note that the user can also override the populated in the next section. HistoryOriginText_Populated = "P" HistoryOriginText_Calculated = "C" HistoryOriginText_Scratch = "S" HistoryOriginText_Interpolated = "I" HistoryOriginText_Other = "?" HistoryOriginColor_Populated = "wheat" HistoryOriginColor_Calculated = "red" HistoryOriginColor_Scratch = "magenta" HistoryOriginColor_Interpolated = "blue" HistoryOriginColor_Other = "gray75" # This next section applies to the text and the color of the grid blocks # that have an origin of Populated. The model determines the text and color. # The format of the color entry is HistoryModelColor_modelname. The format # of the text entry is: HistoryModelText_modelname. If a model is not # listed here, then the HistoryOriginText_Populated and # HistoryOriginColor_Populated is used. HistoryModelColor_MRF = '#30df10' HistoryModelColor_NGM = 'orange' HistoryModelColor_RUC = '#00ffff' HistoryModelColor_MOS = '#e6c8a1' HistoryModelColor_Eta = '#ffff52' HistoryModelColor_MesoEta = '#ff99ff' HistoryModelColor_AVN = 'pink' HistoryModelText_MRF = 'MRF' HistoryModelText_NGM = 'NGM' HistoryModelText_RUC = 'RUC' HistoryModelText_MOS = 'MOS' HistoryModelText_Eta = 'Eta' HistoryModelText_MesoEta = 'MEta' HistoryModelText_AVN = 'AVN' #------------------------------------------------------------------------ # Algorithm Configuration #------------------------------------------------------------------------ # The samplers convert data from grids to points for use in the # Temporal Editor. Since the temporal editor will only show one specific # weather type for an area, the sample shown uses an algorithm to determine # what is significant. The value shown is the combination of all weather # types that exhibit greater than the sample percent. # Do not place a decimal point after the number. SignificantWeatherSample_percent = 25 # Smart tools can access time-weighted averages of multiple grids. Since # weather is discrete, time weighted average for weather is based on # all values of weather at that grid point as long as they occupy at least # the given percentage of all grids. Do not place a decimal point after # the number. SignificantWeatherTimeWeightAverage_percent = 40 # The default width of the pencil tool can be specified in grid cells # on a per weather element basis. The format is parmName_pencilWidth. # If not specified, the value defaults to 5. #T_pencilWidth = 5 # User can control the interpolation algorithm for each weather element. # The format of the string is parmName_interpolateAlgorithm. The available # options, which must be quoted, are "CUBIC_ADVECT", "LINEAR_ADVECT", # "CUBIC_NOADVECT", and "LINEAR_ADVECT". By default, most elements use # CUBIC_NOADVECT, except for Wx, PoP, Sky, and QPF which use CUBIC_ADVECT. # Wind and Wx cannot be changed. # T_interpolateAlgorithm = "CUBIC_NOADVECT" #------------------------------------------------------------------------ # Set Value Dialog Configuration #------------------------------------------------------------------------ # Entries allow the specification of the zoom factor (click 1) over the # Pickup Value Dialog. There is only one zoom step. If not specified, # the default is set to a zoom factor of 3. You can also specify specific # zoom factors based on the parameter name. # SetValue_zoom is the generic zoom value. parmName_SetValue_zoom is # the parameter-specific zoom value. Do not place a decimal point # after the numbers. SetValue_zoom = 4 QPF_SetValue_zoom = 10 #------------------------------------------------------------------------ # Parameter Configuration #------------------------------------------------------------------------ # generic colors for graphics ----------------------------------- # These colors will be the colors assigned to the graphics, unless # specific colors are assigned to each parameter. Generic_colors = ['#00ff00', '#ff8e59', '#00ffff', '#e6c8a1', '#ffff52', '#ff99ff', '#aeb370', '#ff4000', '#e6c8a1'] # Specific Graphic Colors for a parameter # The user may specify a specific color to be used for a parameter, rather # than getting a random color assigned. This color will be assigned, if # available. Format is parmName_graphicColor = color. The color does # not need to be in the Generic_colors list. #T_graphicColor = 'green' Wx_graphicColor = '#ffffff' # Specific Graphic Line Widths for a parameter # Default line widths can be set for each weather element, which will # be used to draw their graphics on the spatial editor. 0 is the default # value, which represents thin lines. The larger the number, the wider # the line. The format is parmName_lineWidth. Do not include a decimal # point after these entries. #T_lineWidth = 1 # Specific Font Offsets for a parameter. # The font offset (called magnification on the GFE menus) allows the # default font size to be increased or decreased on a per-parameter # basis. Note that for wind arrows/barbs, the fontOffset controls the # size of the wind arrows/barbs. Numbers can range from -2 through +2. # Format is parmName_fontOffset. Do not include a decimal point # after these entries. #T_fontOffset = 0 # Specific Density definitions for a parameter. # The density controls the packing of wind barbs and arrows for the vector # spatial editor displays, and the packing of contour intervals for the # scalar spatial editor displays. The default is zero. Densities and # contour values are related to each other. The numbers can range # from -2 through +2. Format is parmName_density. Do not include a # decimal point after these entries. #T_density = 0 # Specific Line Pattern definitions for a parameter. # Default line patterns can be set up for each weather element. The # possible strings are "SOLID", "DASHED", "DOTTED", "DASHED_DOTTED". The # values must be enclosed within quotes. The format is parmName_linePattern. #T_linePattern = "SOLID" # temporal editor sizes ----------------------------------------- # the initial size of temporal editor panes may be defined on a # per parameter basis. If not specified, the default is 150 pixels. # Format is: parmName_temporalDataPaneSize = size # Do not place a decimal point after the numbers. # Wx_temporalDataPaneSize = 200 # contour values ----------------------------------------------- # contour values may be defined on a per-parameter basis. If not # defined, then contour values are automatically computed. # Format is contourName_contourValues = [c1, c2, c3, c4, ... ] # Be sure to include decimal points in each entry. QPF_contourValues = [0.01, 0.05, 0.10, 0.15, 0.20, 0.25, 0.30, 0.40, 0.50, 0.60, 0.7, 0.8, 0.9, 1.0, 1.2, 1.4, 1.6, 1.8, 2.0, 2.2, 2.4, 2.6, 2.8, 3.0, 3.2, 3.4, 3.6, 3.8, 4.0, 4.2, 4.4, 4.6, 4.8, 5.0] Topography_contourValues = [5.0, 10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0, 125.0, 150.0, 175.0, 200.0, 250.0, 300.0, 350.0, 400.0, 450.0, 500.0, 600.0, 700.0, 800.0, 900.0, 1000.0, 1250.0, 1500.0, 1750.0, 2000.0, 2500.0, 3000.0, 3500.0, 4000.0, 4500.0, 5000.0, 5500.0, 6000.0, 6500.0, 7000.0, 7500.0, 8000.0, 8500.0, 9000.0, 9500.0, 10000.0, 11000.0, 12000.0, 13000.0, 14000.0, 15000.0, 16000.0, 17000.0, 18000.0, 19000.0, 20000.0] T_contourValues = [-60.0, -55.0, -50.0, -45.0, -40.0, -35.0, -30.0, -25.0, -20.0, -15.0, -10.0, -5.0, 0.0, 5.0, 10.0, 15.0, 20.0, 25.0, 30.0, 35.0, 40.0, 45.0, 50.0, 55.0, 60.0, 65.0, 70.0, 75.0, 80.0, 85.0, 90.0, 95.0, 100.0, 105.0, 110.0, 115.0, 120.0, 125.0, 130.0] Td_contourValues = [-60.0, -55.0, -50.0, -45.0, -40.0, -35.0, -30.0, -25.0, -20.0, -15.0, -10.0, -5.0, 0.0, 5.0, 10.0, 15.0, 20.0, 25.0, 30.0, 35.0, 40.0, 45.0, 50.0, 55.0, 60.0, 65.0, 70.0, 75.0, 80.0, 85.0, 90.0, 95.0, 100.0, 105.0, 110.0, 115.0, 120.0, 125.0, 130.0] MaxT_contourValues = [-60.0, -55.0, -50.0, -45.0, -40.0, -35.0, -30.0, -25.0, -20.0, -15.0, -10.0, -5.0, 0.0, 5.0, 10.0, 15.0, 20.0, 25.0, 30.0, 35.0, 40.0, 45.0, 50.0, 55.0, 60.0, 65.0, 70.0, 75.0, 80.0, 85.0, 90.0, 95.0, 100.0, 105.0, 110.0, 115.0, 120.0, 125.0, 130.0] MinT_contourValues = [-60.0, -55.0, -50.0, -45.0, -40.0, -35.0, -30.0, -25.0, -20.0, -15.0, -10.0, -5.0, 0.0, 5.0, 10.0, 15.0, 20.0, 25.0, 30.0, 35.0, 40.0, 45.0, 50.0, 55.0, 60.0, 65.0, 70.0, 75.0, 80.0, 85.0, 90.0, 95.0, 100.0, 105.0, 110.0, 115.0, 120.0, 125.0, 130.0] PoP_contourValues = [0.0, 10., 20., 30., 40., 50., 60., 70., 80., 90., 100.] Sky_contourValues = [0.0, 10., 20., 30., 40., 50., 60., 70., 80., 90., 100.] # delta values # Delta values define the default delta (adjust up, adjust down) value # for the adjust operations. The user can redefine this at any time # through the GUI. If not specified, the delta value defaults to # the precision value. For example, a precision of 0 indicates a delta of 1. # and a precision of 1 indicates a delta of 0.1. # Format is parmName_deltaValue = value. # Be sure to include a decimal point. #parmName_deltaValue = 10.0 FzLevel_deltaValue = 100.0 # fuzz values # fuzz values define the value considered to be the same during a # homogenous area select using the GridPoint Tool. For example, if the # fuzz is 2.0 degrees for Temperature and you click on 40 degrees, then # all points between 38 and 42 will be selected as long as they are # contiguous to the click point. If not specified, the fuzz is set # to 1/100 of the parm range. Format is parmName_fuzzValue = value. # Be sure to include a decimal point. #parmName_fuzzValue = 10.0 # discrepancy values # discrepancy values define the value considered to be a discrepancy # during consistency checker algorithms. If not specified, the value # is set to the fuzz value. Format is parmName_discrepancyValue = value. # Be sure to include a decimal point. #parmName_discrepancyValue = 10.0 # visual types # This section defines the spatial and temporal editor visualization # types for the scalar, vector, and weather parameters. There are two # modes, graphic and image. For example, the weather parameter may be # viewed as a bounded area and an image. For the image type, you may # choose both image and bounded area. For the graphic type, you may # choose only bounded area. By default if not specified, the graphic types # for the spatial editor are contour, wind barb, and bounded area for # scalar, vector, and weather data. The image types for the spatial editor # are image, image and wind barb, and image for the scalar, # vector, and weather data. For the temporal editor, the # graphic types are time bar, wind barb, and time bar and the # image types are color bar, color bar and wind barb, and color bar. # format is: parmName_editorImageType = [ types ] or # parmName_editorGraphicType = [ types ] where 'editor' is replaced with # spatial or temporal. # For example, to make wind appear as wind arrows on the spatial editor # in graphic mode: Wind_spatialGraphicType = ["WindArrow"]. Wx_spatialImageType = [ "Image", "BoundedArea" ] # Wind Barb and Arrow Default Sizes. # The user may specify the default wind barb and arrow default sizes, # for the GFE, or by the weather element name. The default size is 60 # pixels. The entry format for a particular weather element definition # of arrow or barb size is parmName_windArrowDefaultSize and # parmName_windBarbDefaultSize. WindArrowDefaultSize = 60 WindBarbDefaultSize = 60 #Wind_windArrowDefaultSize = 60 #Wind_windBarbDefaultSize = 60 # Wind Arrow Scaling # The user may specify the default scaling for the wind arrow. If not # specified, then the wind arrows will grow linearly with an increase # in magnitude. To emphasize the lower ranges, the user may set the # wind arrow logrithmetic scaling. The lower the number, # the steeper the log curve will appear. Refer to on-line documentation # for example values. Include decimal points with the numbers. # Note that the factor needs to be greater than 0. The format of the # entry is parmName_arrowScaling. Wind_arrowScaling = 0.03 # Wind Sample Format # The user may specify the default sample format for vector weather elements. # If not specified, then the format is "ddff". The user may specify a format # for all vector elements, or can specify the format for a particular weather # element. The four possible formats are "ddff", "8pt", "16pt", and "d/f". # The configuration entry for the default sample format for all vector # elements is WindFormat = "type". The entry format to define the format for # a specific entry is parmName_windFormat = "type". WindFormat = "ddff" #Swell_windFormat = "8pt" #------------------------------------------------------------------------ # Weather Common Value Definitions #------------------------------------------------------------------------ # the following describes common types that appear on the temporal # editor popup menu and the spatial editor color bar popup menu. # The format is the "ugly" string of the Weather Key. Weather_commonValues = [ \ "::::", "Wide:R:-::", "Wide:S:--::", "Wide:R:-::^Wide:S:-::", "Sct:RW:-::", "Sct:SW:-::", "Sct:T:::^Sct:RW:-::", "Patchy:F:::"] #------------------------------------------------------------------------ # Weather Dialog Default Values #------------------------------------------------------------------------ # the following describes the intensity and coverage/probability defaults # that appear in the Set Value dialog for Weather data. The format is # the weather type (e.g., RW), followed by the keyword. The actual value # is a string surrounded in quotes. # Define the weather dialog default coverage/probabilities R_defaultCoverage = "Wide" RW_defaultCoverage = "Sct" S_defaultCoverage = "Wide" SW_defaultCoverage = "Sct" # Define the weather dialog default intensities R_defaultIntensity = "-" RW_defaultIntensity = "-" S_defaultIntensity = "-" SW_defaultIntensity = "-" L_defaultIntensity = "-" ZR_defaultIntensity = "-" ZL_defaultIntensity = "-" IP_defaultIntensity = "-" #------------------------------------------------------------------------ # Default (non-weather) Color Table Algorithm Configuration #------------------------------------------------------------------------ # The default color table is used for all parameters unless overridden in # this configuration file. The left wavelength defines the left side # value for the color in nanometers. 380 is roughly purple. The right # wavelength defines the right side value for the color in nanometers. # 650 is red. The number of colors indicate the number of color bins # that will be used when the default color table is displayed. # Use decimal points after the wavelengths, but not the numColors. DefaultColorTable_leftWavelength = 380.0 DefaultColorTable_rightWavelength = 650.0 DefaultColorTable_numColors = 150 # maximum number of colors to use in the standard color tables. Standard # color tables are the ones served up by the ifpServer. The number of # colors in these tables are reduced by sampling down to the number given. # Do not place a decimal point after the number. ColorTable_maxSize = 150 # color table default entries ----------------------------- # Entries can be made to define a default color table for a particular # parameter. If a default color table is not defined for a parameter, then # the spectrum defined in DefaultColorTable* will be used for the parameter. # Entries are of the form parmName_defaultColorTable="colortablename". # For example, if you want MaxT to always have a "Low-Enhanced" color table, # then the entry would be as shown below. # MaxT_defaultColorTable = "Low-Enhanced" # You can determine the possible color tables that are on the system by # displaying any scalar image and selecting "Change Color Table To". T_defaultColorTable="Mid Range Enhanced" Td_defaultColorTable="Mid Range Enhanced" MaxT_defaultColorTable="Mid Range Enhanced" MinT_defaultColorTable="Mid Range Enhanced" Sky_defaultColorTable="Gridded Data" Wind_defaultColorTable="Low Range Enhanced" PoP_defaultColorTable="Gridded Data" QPF_defaultColorTable="Gridded Data" # Logrithmetic Color Table Assignments # By default, all color tables are linear. Certain parameters may lend # themselves to a logrithmetic color table. To enable a logrithmetic # color table for a parameter, an entry in the form of # parmName_logFactor=factor is required. The closer the value is to zero, # the steeper the log curve will appear. Refer to on-line documentation # for example values. Include decimal points with the numbers. # Note that the factor needs to be greater than 0 QPF_LogFactor = 0.03 SnowAmt_LogFactor = 0.6 # Default Max/Min Ranges for Color Tables # By default, all colors tables (except for WEATHER) are spread out over # the range of the minimum to maximum weather element possible value, as # defined by serverConfig.py. The initial range of the color table can # be specified through these entries. The form of the two entries are: # parmName_maxColorTableValue and parmName_minColorTableValue. These # values are floats and MUST have a decimal point in them. #T_maxColorTableValue = 120.0 #T_minColorTableValue = -30.0 # Fit To Data Color Tables # Automatic Fit To Data color tables can be set up for the initial set # of data in a weather element. The form of the entry is: # parmName_fitToDataColorTable. A value of 0 means do not fit to data, # a valud of 1 means fit to data. The fit to data overrides any # specified max/min color table values. #T_fitToDataColorTable = 1 #------------------------------------------------------------------------ # Weather Color Algorithm Configuration #------------------------------------------------------------------------ # Color Tables for Weather are handled differently than scalar and # vector data. Coverages are denoted by fill patterns. Composite # types by colors. Complex weather of more than two coverages will # result in a solid fill pattern and can't be configured. # The WeatherCoverage_names and WeatherCoverage_fillPatterns indicate # the fill pattern used for a particular weather coverage or probability. # These are parallel lists. For example, if "Iso" coverage is in the 1st # entry of the list and ISOLATED appears in the first entry of the # fill patterns, the for Iso coverage, the fill pattern ISOLATED will # be used. WeatherCoverage_names = ["Iso", "WSct", "Sct", "Num", "Wide", "Ocnl", "SChc", "Chc", "Lkly", "Def", "Patchy", ""] WeatherCoverage_fillPatterns = ["OCNL", "WIDE_SCATTERED", "SCATTERED", "LKLY", "WIDE", "OCNL", "WIDE_SCATTERED", "SCATTERED", "LKLY", "WIDE", "SCATTERED", "WHOLE"] # The weather type entries are generic entries without intensities. # Combinations are permitted. The WeatherType_names and WeatherType_colors # are parallel lists of names and colors. The default weather color table # algorithm looks at the weather type or combination of types, as listed # in the _names, and matches the list with the specified color. For # example, if T appears in the names as the first entry and brown2 appears # in the colors for the first entry, then for weather type T, the color # shown will be brown2. WeatherType_names = ["", "T", "A", "R", "RW", "L", "ZR", "ZL", "S", "SW", "IP", "F", "H", "BS", "K", "BD", "SA", "LC", "FR", "AT", "TRW"] WeatherType_colors = ["Gray40", "red3", "DeepPink", "ForestGreen", "ForestGreen", "CadetBlue1", "darkorange1", "goldenrod1", "Grey65", "Grey65", "plum1", "khaki4", "Gray75", "snow", "grey30", "Brown", "blue1", "coral1", "pale turquoise", "DeepPink", "red3"] # The weather type entries are specific entries that contain intensities. # Combinations are permitted. The WeatherTypeInten_names and # WeatherTypeInten_colors are parallel lists of names and colors. The # algorithm looks first at this list to find a specific type/intensity # match. If not found, then the algorithm looks in the WeatherType_names # and WeatherType_colors list for a match. If not found, then a generic # color is assigned. # The weather type with intensity entries are specific entries WeatherTypeInten_names = ["T+", "Rm", "R+", "RWm", "RW+"] WeatherTypeInten_colors = ["red1", "green", "green", "green", "green"] # Colors to use for weather which was not defined using any of the methods # found above. The colors in this list will be used before a "random" color # is chosen. WeatherGeneric_colors = ["Coral", "CadetBlue2", "Aquamarine", "DarkKhaki", "DodgerBlue", "IndianRed1", "PaleGreen", "MistyRose", "chartreuse3", "PapayaWhip"] #------------------------------------------------------------------------ # Preference Defaults #------------------------------------------------------------------------ # Default setting for changing the active grid to an image-type display. # This occurs when "Edit Grid" from the Grid Manager or setting a parameter # active from the legend. ImageOnActiveSE = yes # Default setting for linked editors. If linked editors is on, edits # made on the spatial editor will cause the grid manager/temporal editor # to scroll to that grid. Edits made on the grid manager or temporal # editor will cause the spatial editor time to be changed. LinkEditors = no # Default visibility setting for showing the time scale lines in the # Grid Manager and Temporal Editor TimeScaleLines = yes # Default visibility setting for showing the editor time lines in the # Grid Manager and Temporal Editor. The editor time line is always on # for the Time Scale. EditorTimeLines = yes # Default visibility setting for showing the split boundary or time # constraints in the Grid Manager and Temporal Editor for mutable parameters. SplitBoundaryDisplay = yes # Default setting for combining like parameters (same units) in the # temporal editor when loading parameters. TemporalEditorOverlay = yes # Default setting for temporal editor edits. Choices are absolute mode # or relative mode which is defined by "yes" or "no". TemporalEditorAbsoluteEditMode = no # Default setting for editing components of vector parameters. Choices # are MAG, DIR, or BOTH. WindEditMode = "BOTH" # Default setting for automatic combining of existing weather and new # weather when editing. For example, if the setting is yes and existing # weather is Rain, then setting the value to Snow will result in # a Rain/Snow mix. WeatherCombineMode = no # Default setting for showing the grid data history mode of the Grid Manager. # Choices are "no" and "yes". ShowGridHistoryMode = no # Default setting for showing the dialog box when the user attempts to # edit grids when a selection time range is active. Editing grids when # a selection time range is active may cause multiple grids to be # edited. ShowTimeRangeWarning = yes # Default setting for showing the dialog box when the user attempts to # edit grids without an edit area being set. The behavior is to edit # the entire domain. ShowEmptyEditAreaWarning = yes # Specifies the default contour to grid algorithm. Can be set to # "Contour Analyzer", "Internal SIRS Server" ContourServer = "Contour Analyzer" # Specifies whether the selection time range will track the spatial # editor time when time stepping using the toolbar buttons or keyboard. SelectGridsWhenStepping = no # Default Time Scale Periods that are shown on the time scale. These # are names of the selection time ranges (SELECTTR). TimeScalePeriods = ['Today', 'Tonight', 'Tomorrow', 'Tomorrow Night', 'Day 3', 'Day 4', 'Day 5', 'Day 6', 'Day 7', ] #------------------------------------------------------------------------ # Animation Speeds #------------------------------------------------------------------------ # Do not include decimal points after the numbers. Animation_VERYSLOW_rate = 2000 Animation_SLOW_rate = 1000 Animation_MEDIUM_rate = 500 Animation_FAST_rate = 200 Animation_VERYFAST_rate = 100 #------------------------------------------------------------------------ # Help file and products directories #------------------------------------------------------------------------ # The GFESUITE_ONLINE_HELP defines the location of the on-line documentation. # The GFESUITE_TEXT defines the output location of text products. # The GFESUITE_AG defines the output location of the ascii grid program (ifpAG) # The GFESUITE_IMAGE defines the output location of the image program (ifpIMAGE) if GFESUITE_HOME != '@GFESUITE' + '_HOME@': GFESUITE_ONLINE_HELP = GFESUITE_DOCDIR GFESUITE_TEXT = GFESUITE_PRDDIR + "/TEXT" GFESUITE_AG = GFESUITE_PRDDIR + "/AG" GFESUITE_IMAGE = GFESUITE_PRDDIR + "/IMAGE" GFESUITE_GRIB = GFESUITE_PRDDIR + "/GRIB" else: GFESUITE_ONLINE_HELP = '/home/buzzard9/build/DEV50/build/5.0/GFESuite/doc/onlinehelp' GFESUITE_TEXT = '.' GFESUITE_AG = '.' GFESUITE_IMAGE = '.' GFESUITE_GRIB = '.' # Enable Text Product Definition EnableTextProductDefinition = yes #------------------------------------------------------------------------ # GIF/PNG Graphic Product Generation (ifpIMAGE program) #------------------------------------------------------------------------ # You can set the height and width (in pixels) for the Png images. # It is only necessary to set one of these, as the other will # be calculated using the aspect ratio of your office domain. # Do not include decimal points after the numbers. # Both default to 400 #Png_height = 400 #Png_width = 400 # Name of the weather element which will be displayed as # an image in the png. If nothing is specified here, then all weather # elements will be displayed as a graphic. #Png_image = 'T' # Alternate way of specifying the weather elements to be displayed. # If this entry is specified, then the DefaultGroup is ignored (for # ifpIMAGE). Format is a list of weather elements in a psudo weather # element bundle formats, which consist # of "parmName_level:optType_modelName seq", where the # seq is normally -1 for singleton databases, 0 for model databases for # the most recent version, 1 for the prev. version of a model database. #Png_parms = ['FzLevel_SFC:_Fcst -1', 'Sky_SFC:_Fcst -1', 'QPF_SFC:_Fcst -1'] # Ability to turn on/off legends for the graphic generation. Applies # only to graphic product generation and not GFE. Defaults to on # if not specified. Do not include a decimal point after the number. #Png_legend = 1 #1 for visible, 0 for invisible # Legends display mode - 0 for UTC, 1 for local time # Do not include a decimal point after the number. #Png_localTime = 1 # legend displays time in local or UTC (default to UTC) # Legend weather element name mode - SHORT for weather element name, # LONG for weather element descriptive name, OFF for no name #Png_descriptiveWeName = 'SHORT' # Legend format for Pngs. See strftime(3) for time string formats # or ifpIMAGE documentation. If the duration, start time, or ending # time is not desired, then the entry should be set to "". There are # separate entries for Zulu and LocalTime. The duration formats # can use the %H (hours) %M (minutes) formats. Png_legendFormat_Zulu_dur = "" Png_legendFormat_Zulu_start = "%b %d %H%MZ to " Png_legendFormat_Zulu_end = "%b %d %H%MZ" Png_legendFormat_LT_dur = "" Png_legendFormat_LT_start = "%b %d %I:%M %p %Z to " Png_legendFormat_LT_end = "%b %d %I:%M %p %Z" # Png filename prefix # Specifies the prefix to be applied to all generated png imagery #Png_filenamePrefix = 'desiredPrefix' # Png filename format # Specifies the format to be used for the date/time string in the # generated png imagery. See strftime(3) for time string formats # or the ifpIMAGE documentation. Default is yyyymmdd_hhmm #Png_baseTimeFormat = '%Y%m%d_%H%M' #------------------------------------------------------------------------ # PRODUCT GENERATION SCRIPTS #------------------------------------------------------------------------ # Product Generation Scripts appear under the product generation menu # on the GFE. Scripts = [ "Png Images...:" + "ifpIMAGE -c {entry:ConfigFile:gfeConfig} -o " + GFESUITE_IMAGE + " &", ## "Send Images to Website:" + ## " &", "Ascii Grids...: " + "ifpAG -h {host} -r {port} -o " + GFESUITE_AG + "/{ztime}.ag -d {productDB} &", "Official Grids to LDAD: " + "ifpAG -h {host} -r {port} -o - -d {productDB} | gzip -9 > " + " /data/fxa/LDAD/ifp/Official/.incoming; " + "mv /data/fxa/LDAD/ifp/Official/.incoming /data/fxa/LDAD/ifp/Official/{ztime} &", ] ## Note: Please define TextProducts through ## the DefineTextProducts dialog (Product Generation Menu) ## within the GFE. #------------------------------------------------------------------------ # Product Generation Script Notes # # Each script entry is a text string of the form: # ": " + # " & " # # where: # will appear in the Product Generation menu # is the command line that will be submitted when # the script is chosen. # # The following variables can be used in scripts and the GFE will fill # in the appropriate information before executing the script: # # {host} # {port} # {productDB} -- product database -- this is the # Official Database if it exists. # Otherwise, it's the Mutable (Fcst) database. # {SEstart} -- Start of Spatial Editor time: # format of all times: YYYYMMDD_HHMM # {SEend} -- Spatial Editor time plus one second # {SelectedStart} -- Start of Selected Time range # {SelectedEnd} -- End of Selected Time range # {time} -- Current local time in format: YYYYMMDD_HHMM # {ztime} -- Current zulu time in format: YYYYMMDD_HHMM # {module:} -- The correct path of the module will # be substituted in the command line. # The module must have a .py extension. # # If the following variables are used in a script, # a dialog will appear for the user to make selections from a simple GUI # before the script is executed: # {parmsMutable} (Those listed in Forecast database) # {refsets} # {maps} # {databases} # {output file} # {output directory} # {startTime} # {endTime} ## # Named Variable # To have the user prompted for a named variable, use the following # in your script: # {entry: : } # For example, to have the user prompted for "width" use: # {entry: width: 350} # in your script. # # Radio Button list of values # To have the user prompted for a list of radiobutton variables, use # {entryButtons: : } # E.g. # {entryButtons: ReportType: GeneralImages,CustomizedImages} # # Check Button list of values # To have the user prompted for a list of radiobutton variables, use # {entryChecks: : } # E.g. # {entryChecks: EditAreas: Area1,Area2,Area3} # Edit Areas and Groups # If the name of the entryButtons or entryChecks is "EditAreas", # the system will accept edit area OR edit area group names. # The system will check for groups and will automatically expand # them to the appropriate areas # {entryChecks: EditAreas: Group1,Group2,Area3,Area4} # {entryButtons: EditAreas: Group1,Group2} # Scripts with Multiple Command Lines # To string multiple command lines together, use the following format for # your command line script: # "csh -c (; ; ) &" #------------------------------------------------------------------------