setColorScale - Displays color scale on a panel and specifies its attributes
visible= | True - displays color scale (default) |
placement= | location of color scale 'Top' (default) 'Bottom' 'Left' 'Right' |
font= | name of font; default = font defined in User Preferences |
style= | font style; default=font defined in user preferences 'BOLD' - bolded font 'ITALIC' - italicized font 'NONE' |
size= | size of font; default = size of font defined in User Preferences |
color= | 'color name'; default = color defined in User Preferences -or- [R,G,B] fractional scaling factor for each red, green and blue value (0.0 to 1.0) |
showUnit= | toggles the visibility of the display unit on the color scale (default = False) |
setEnhancement - Applies
a color table and defines data range of data in a layer
color table = | color table name e.g., 'Longwave Infrared Deep Convection' |
range= | (min,max) enhancement range; default = (min,max) of data |
transparency= | transparency to apply to entire enhancement. The valid range is 0 - 100, with 0 being opaque and 100 being 100% transparent; default=0 |
setLayerLabel - Toggles a layer label on/off and defines its attributes
label = | layer label string. This can include macros |
visible= | True - displays layer label(default) |
font= | name of font; default = font defined in User Preferences. |
style= | font style; default = font defined in user preferences 'BOLD' - bolded font 'ITALIC' - italicized font 'NONE' |
size= | size of font; default = size of font defined in User Preferences |
color= | 'color name'; default = color defined in User Preferences -or- [R,G,B] fractional scaling factor for each red, green and blue value (0.0 to 1.0) |
%displayname% | The name of the display |
%shortname% | Shot name of parameter being displayed |
%longname% | Long name of parameter being displayed |
%displayunit% | Unit of parameter being displayed |
%timestamp% | Lists the timestep of parameter currently being displayed. This defaults to the time format in the User Preferences. The time format can be changed by using the macro in the form of: |
%fhour% | Forecast hour of grid being displayed followed by an 'H' for hour |
%fhour2% | Forecast hour of grid being displayed without being followed by an 'H' for hour |
%level% | Lists the vertical level of the parameter being displayed |
setLayerVisible - Toggles layer visibility on/off, this includes any color scale or layer labels for the layer
visible= | sets the visibility of the layer True - displays the layer False - does not display the layer |
setVerticalPosition - Sets the vertical positioning of the layer in the Main Display. The acceptable values range from -1 (bottom) to 1 (top)
verticalPosition= | Sets the vertical positioning of the layer in the Main Display. |
getData - Returns a data object associated with the layer
getLayer - Returns a reference to a displayed layer