This tutorial will teach you how to create an HEC-MetVue project for integration into your CWMS watershed. 

Create a new HEC-MetVue Project

  1. Create an HEC-MetVue project directory, similar to the one shown below. Be sure to include a "maps" directory. Copy all sub-basins shapefiles from the watershed/hms/maps directory into the newly created HEC-MetVue/maps directory.
    New HEC-MetVue Directory

  2. A new HEC-MetVue project file needs to be created. Open the CAVI and launch HEC-MetVue from the CAVI. 


  3. From the File menu, select New Project File
    1.  The expected process is to create the project file outside of the watershed directory, and subsequently imported. If the project file is created in the ./watershed/MetVue directory, and the project file name exactly matches the watershed name, HEC-MetVue will import the project file automatically upon opening the CAVI.
      Create New MetVue Project File Explorer

  4. Add the HEC-HMS sub-basin shapefile as the project default basin average map. Right-click on the map node on the Project Defaults node and click Select Maps.


  5. The Select Maps dialog will open. Click on the Add Maps button.
    Select Maps Dialog - Add Maps

  6. The Select Maps explorer will open. Navigate to your maps folder, select the appropriate shapefile, and click Select Map.
    Select Maps Explorer

  7. From the Select Maps dialog, check the box under the Basin Avg column for the shapefile you wish HEC-MetVue to use. 
    Select Maps Dialog - Basin Avg Checkbox

  8. Click OK to exit the Select Maps dialog.

Create HEC-MetVue Sessions

You will need to create HEC-MetVue sessions to replace the MFP alternatives in your CAVI watershed.

  1. Create a session for each existing MFP alternative. You can also create sessions for other needs (snowmelt modeling, new input datasets, etc.) at this point.
    MFP Alternatives vs. HEC-MetVue Sessions

  2. Within each session, create an observed and forecast map panel for each type of data you need HEC-MetVue to create.
    1. Observed Precipitation and Forecast Precipitation for non-snowmelt watersheds
    2. Observed Precipitation, Forecast Precipitation, Observed Temperature and Forecast Temperature for snowmelt watersheds
      Example Map Panels within HEC-MetVue

Clipping Input Data

If you will not be translating or rotating the storm in a forecast, you can speed up HEC-MetVue and HEC-HMS computes by only loading data within the spatial extents of the basin. The following steps will improve performance by clipping the input data to the extents of the basin maps.

Perform the following steps for each map panel:

  1. Double-click on the map panel node to show the map.

  2. Right-click in the map window, and select Encompass Data->Maps from the shortcut menu.
    Map Window Shortcut Menu Options

  3. Select the Session's No data. Right-click to select data node, right-click and select Select DSS Paths.
    No Data Shortcut Menu Options

  4. Expand the Active Read Constraints/Overrides section and select the Constrain Imported TIN to Defined Rectangle option.
    Select Data Dialog

  5. Click the Define Constraint Extents button.
     
  6. Click the Map Panel button from the Set Extents From section.

  7. Click OK.
  8. To add data, click on the three ellipse button and browse to and select  a forecast.dss file with gridded data.

    Note: Adding data is an optional step, but it will simplify the process of specifying the input pathname in the CAVI-MetVue Alternative Editor. Note this optional data will be replaced with the extracted data when running HEC-MetVue in the Modeling tab. The example below shows adding HEC-DSS records.
  9. Select the hours you wish to use, and click the Add Sel button, or to add all the files in the DSS file, click Add All.
    1. The selected data will display in the bottom box.

  10. Click Ok.
  11. The final settings for a single alternative should look similar to this: