doRemove - Removes a displayed layer
getData - Returns a data object associated with the layer
getDisplayUnit - Returns the unit of a displayed layer
getLayer - Returns a reference to a displayed layer
getLayers - Returns a list of layer objects in the referenced display panel
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) |
setDisplayUnit - Sets the unit of a displayed layer
unitname= | Sets the unit to be applied to the displayed layer. |
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 |
setExtraLegendLabel - Sets the Extra Legend Label of the displayed layer. The Extra Legend Label is the text that lists below the blue Legend Label in the Legend of the Main Display window
text= | extra legend label string. This can include the macros included in the Remarks of setLayerLabel. Multiple lines can be created by using the HTML new line character: \n |
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: %time:<time pattern>% For example: %time:HHz EEE dd MMM yyyy% would show something like 20UTC Wed 02 Dec 2015 |
%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 |
setLegendLabel - Sets the Legend Label of the displayed layer. The Legend Label is the blue text of the layer seen in the Legend of the Main Display window
text= | legend label string. This can include the macros included in the Remarks of setLayerLabel |
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. |