Precipitation Gridsets

A gridset can be thought of as a sequence or time series of grids. Since a single DSS record of grid data contains data for only one time interval, you must create gridsets within the watershed before you can view precipitation grids changing through time over the watershed. Gridsets are created by HEC-GridUtil.

Adding a Grid Set

Once a gridset has been created for the watershed, you can add it to the Visualization Module for viewing in the Visualization Map Window.

To add a grid set to the watershed: 

  1. On the Data Visualization menu, point to GriddedData, and then click on New GridSet in the sub-menu (Figure 1).
    Figure 1 Gridded Data Layer Selection
  2. The Create New GRID dialog will open. You must enter a Name for the new gridset, and a description for the gridset is optional. The new gridsets Directory will be automatically generated, but can also be modified. 
  3. Click OK and the Create New GRID dialog will close.
  4. The Edit Grid Set dialog will open. Click Add File(s) and navigate to the available precipitation gridsets created in the HEC-GridUtil program. Next set each of the Grid Set Identifiers listed using the drop-down options.
  5. Click OK and the Edit Grid Set dialog will close.
  6. The available GriddedData sub-menu will list all of the available precipitation gridsets created from the HEC-GridUtil program. To be available to the CAVI, a gridset must be defined using the CWMS file selection method, and cannot be associated with a fixed time window. The gridsets listed are the gridsets that you have chosen to associate with the watershed using New GridSet (Figure 1) option in the GriddedData sub-menu.
  7. To remove gridsets from the watershed, from the GriddedData submenu select Delete Gridsets and the Delete Object dialog will open (Figure 1).
  8. Next select the object you wish to delete from the watershed. Click OK and the Delete Object dialog will close.

Selecting a Gridset

To select a gridset:

  1. On the Visualization menu, point to GriddedData.
  2. At the bottom of the submenu, you will see the names of the gridsets that you have added. Select the gridset you wish to view. None displays no precipitation grids in the Map Window.
  3. When you select a gridset for viewing, a checkmark will appear beside its name in the list.

Controlling Properties of a Gridset

You can control the visibility and color scheme of the grid set through the Map Layers dialog (see Understanding Layers) for more information about layers). In the Visualization Module, the Map Layers dialog shows your selected gridset layer. In addition, you can control the color scheme, tic intervals, and the minimum/maximum values for the contour limits from the Gridded Data layer.

Changing a gridset's properties:

  1. From the Maps menu, click Map Layers and the Map Layers dialog (Map Layers Editor) opens.
  2. From the tree, right-click the gridset layer, from the shortcut menu click Properties. The Grid Display Options dialog (Figure 2) opens.
    Figure 2 Grid Display Options Dialog
  3. The name of the active gridset is displayed at the top of the Grid Display Options dialog.
  4. The list at the top left of the Grid Display Options dialog contains six pre-set color contour schemes, with the default being Precipitation.
  5. You can set the tic interval by entering a value in the Tic Interval field.
  6. In the Contour Limits panel you can set the minimum and maximum contour values. By default, CWMS automatically determines the minimum and maximum contour values. If you wish to enter these values manually, clear System Specified Min/Max Values. Then enter values in the Maximum and Minimum fields.
  7. For other settings to adjust, click Advanced. The Grid Display Options dialog expands (Figure 3) to include options for brightness, saturation, transparency, aspect shading, maximum clipping, and minimum clipping.
  8. You can control the Brightness (the amount of white, measured from 0.0 to 1.0), Saturation (the amount of black, measured from 0.0 to 1.0), and Transparency (the level of opacity or alpha, measured from 0.0 to 1.0) of your gridded data layer either by moving the sliders or by typing values into the white text fields. The color scale to the right will update according to your selections.
    Figure 3 Grid Display Options Dialog - Advanced
  9. If you are using elevation maps, you may wish to choose Aspect Shading as your color contour scheme. Use the Aspect Shading option to make the elevation map appear in relief by placing an imaginary light source above the map and shading the elevation contours. When the Aspect Shading option is selected, you can use the Angle slider to adjust the angle of the light source.
  10. By default, the Maximum Clipping and Minimum Clipping options are deselected. If you activate these options, the Value sliders and Color buttons become available. The Value sliders allow you to specify the amount of clipping within the contour limits you have specified; you can also type values into the boxes. When you click on the Color buttons, the Color Chooser appears, for more information see Using the Color Chooser.

Controlling the Scale of a Gridset

To set the visualization scale for the gridded data layer:

  1. From the Maps menu, click Map Layers. The Map Layers dialog (Understanding Layers) opens.
  2. From the tree right-click on the gridset layer, from the shortcut menu, click Properties, the Grid Display Options dialog (Figure 4) opens.
    Figure 4 Grid Display Options Dialog - Scale Tab
  3. Click Scale (Figure 4). Both zoom-in and zoom-out scale factor can be set from the Grid Display Options By default the Gridded Data Layer is set for Always show layer. To see visualization scales click Only show layer in the following scale range.
  4. To set the scale so that the gridded data layer becomes visible as you zoom-in, you can set the scale to the current scale by clicking Set to Current. If you wish to enter a value, from the Only visible below 1 field, enter the scale factor.
  5. To set the scale so that the gridded data layer becomes visible as you zoom-out, you can set the scale to the current scale by clicking Set to Current. If you wish to enter a value, from the Only visible above 1 field enter the scale factor.
  6. Click OK, the Grid Display Options dialog (Figure 4) closes, and the visualization scale is set for the gridded data layer.
  7. Click OK, the Map Layers dialog (Understanding Layers) closes.

Alternatively, you can edit the scale in the Edit Grid Set dialog at the bottom of Figure 5. This Edit Grid Set dialog is accessed by selecting a gridset via the Edit Grid Set dialog from the Data Visualization > GriddedData > Edit Grid menu.

Figure 5 Edit Grid Set Dialog - Scaling Limits

HEC-MetVue Display

The HEC-MetVue plugin allows for display of spatial data within the Visualization tab. In order to enable HEC-MetVue display within the Visualization tab, at least one HEC-MetVue Alternative, containing at least one Map Panel, must exist in the Setup tab. When properly configured in the Setup tab, the Data Visualization menu will have an entry for TIN Data (MetVue). This menu will be populated with the available HEC-MetVue alternatives, which will have further sub-menu items populated with the Map Panels within that alternative (see Figure 6). These alternatives and Map Panels are contained in the HEC-MetVue project file located in the ./watershed/MetVue directory. Additionally, any edits to the HEC-MetVue settings performed from the Visualization tab will be placed in the HEC-MetVue project file located in the ./watershed/MetVue directory.

After selection of an HEC-MetVue Map Panel, information within the Map Panel will be displayed. In order to select data to display, clicking the Select Input Data button will display the data selector, which is similar to the Figure 6.

Figure 6 HEC-MetVue in the Data Visualization menu

After selecting data with the Select Input Data dialog, the resulting HEC-MetVue image will be drawn in the Visualization map panel. Note that if there are multiple map windows for the Visualization tab, HEC-MetVue will only draw in the first map window. This prevents two map windows displaying duplicate data. The time window of the data is controlled by the time window settings of the visualization tab, and clicking the Refresh button will cause the data to redraw in the map window.

Removing a HEC-MetVue image from a Data Visualization map window is performed by selecting the None option in the Data Visualization -> TIN Data (MetVue) menu.

Similar to the Modeling tab, several different action buttons become available when visualizing data from HEC-MetVue. For most of these buttons, the user can refer to HEC-MetVue Model Alternative, as HEC-MetVue behaves similarly in both the Visualization and Modeling tabs, with the exception of Save Data To Server.

Remote Data

The HEC-MetVue plugin provides support for visualizing and editing remote DSS data. This can be performed by loading remote data in the Select Input Data dialog and selecting a remote file, similar to the selection of remote data in a Grid Set. Since HEC-MetVue does not have server connection capabilities, it relies on the CAVI to download remote data to a local, temporary directory. Data will be copied into a temporary DSS file: ./watershed/MetVue/session/mappanel/temp_data.dss. After copying data to this directory, HEC -MetVue will read the data and display it in the map window. At this point, all editing options are available to the user. Once the user is done editing the data, the Save Data To Server button will push the edited data back to its original file on the server. When the CAVI is closed, any remaining temporary DSS files will be removed from the MetVue directory.