Return to Gridded Precipitation Method

Last Modified: 2023-11-02 09:43:26.566

Software Version

HEC-HMS version 4.12-beta.2 was used to create this example. You can open the example project with HEC-HMS 4.12-beta.2 or a newer version.

Project Files

Download the initial project files here:


This tutorial demonstrates the creation of a meteorological model that uses the inverse distance method. You will create a HEC-HMS Meteorologic Model that uses the inverse distance method to model the May 1996 precipitation event in the Mahoning Creek watershed. The inverse distance method is an interpolation method that weights the gage data based on the gage locations. The basic premise is that gages that are closer to a specific area will be weighted more heavily than gages that are a further distance away. The gage network has already been associated with time-series data in the HEC-HMS model. For more information on creating precipitation gage time-series, see Creating Time Series Data. The watershed has been represented using a single subbasin for the entire drainage area above the Punxsutawney stream gage.

Punxsutawney Basin Model

Step 1. Begin by opening up HEC-HMS 4.12 or later. The project contains several elements in the Watershed Explorer, as below:

Watershed Explorer with Basin Models and Time-Series Data Expanded

Step 2. Expand the Basin Models node, the Meteorologic Model node, and the Time-Series Data | Precipitation Gages node of the Watershed Explorer tree. In this tutorial, we will be using the May1996 Basin Model (which was also used in the Gage Weights Precipitation Method tutorial). The Sep2018 model was used in the Gridded Precipitation Method tutorial. We will be using the same three precipitation gages that were setup previously in the Gage Weights Precipitation Method tutorial. With the Gage Weights method, the user specifies the depth weights and time weights that HEC-HMS uses to interpolate the gaged rainfall data. With the Inverse Distance method, the gages need to have a specified location (e.g., latitude and longitude) before the inverse distance weighting algorithm can be applied.

Creating the Meteorologic Model

Step 3. Select each of the three precipitation gages and enter in their respective location information in the Component Editor. Their latitude and longitude values can be found in the table below. If the time series gage has decimal degrees for latitude and longitude you can switch to degrees, minutes, and seconds in Tools > Program Settings > General.

Latitude Degrees4140


Latitude Minutes75856
Latitude Seconds334821
Longitude Degrees-78-78-79
Longitude Minutes45410
Longitude Seconds502231

Step 4. The two Meteorologic Models that are currently in this project are from previous tutorials. Create a new Meteorologic Model by using the Components menu, then selecting Create Component > Meteorologic Model....

   Components I Create Component I Meteorologic Model 

Step 5. For the name enter May 1996 Inverse Distance. Descriptions are optional but generally good practice; enter DUJP-MFFP-PNXP inverse distance. Press Create to create the new met model.

Create a New Meteorologic Model

Step 6. Expand the Meteorologic Model node of the tree to see the Met Model you just created. Click on it to select it and so that you can edit it in the Component Editor.

Step 7. In the Component Editor, select the Inverse Distance method for precipitation. Also, make sure to select U.S. Customary

Meteorologic Model Component Editor

Step 8. Next, switch to the Basins tab and associate the Met Model with the May1996 Basin Model by toggling Include Subbasins to Yes, and saving your model by pressing the save icon in the toolbar or by pressing Ctrl+S.

Include Subbasins in Met Model

Step 9. You will see that two additional items appear beneath the May 1996 Inverse Distance Met Model in the Watershed Explorer: an node called Precipitation Gages, and then the Subbasin element MahoningCreek. Select the Precipitation Gages node and then toggle the Use Gage options to Yes as seen below. Since these are hourly gages, the Daily Gage setting can remain as No.

Gage Selections

Step 10. Select the May 1996 Inverse Distance Met Model node. Set the search distance. The distance between the subbasin node and a precipitation gage must be less than the search distance for HEC-HMS to use the precipitation gage when calculating subbasin average precipitation. Select the Options tab and set the Search distance to 62 miles as shown below.

Inverse Distance Search Radius

Step 11. Add an inverse distance subbasin node by specifying a node location (latitude, longitude). In this example, we will use the basin centroid location for the node location. Expand the Watershed Explorer by clicking the plus sign next to the MahoningCreek subbasin name one level below the inverse distance Meteorologic Model. Select the Inverse Distance element to open a Component Editor with three tabs, Nodes, Latitudes, and Longitudes. Enter a Node Name of Basin Centroid and a Weight of 1.0 (this is a weighting of 100%).

Inverse Distance Subbasin Nodes

Step 12. Enter the node coordinate using the basin centroid coordinates (Latitude 40o 58' 34", Longitude -78o 51' 58") as shown in the below figures.

Basin Centroid Coordinates

Subbasin Centroid Latitude

Subbasin Centroid Longitude

Running the Simulation

Step 13. Create a Simulation Run by choosing Compute menu, then Create Compute > Simulation Run.... Name the Simulation Run May 1996 Inverse Distance, select the May1996 Basin Model, select the May 1996 Inverse Distance Met Model, select the May 1996 Control Specification, then press Finish.

Create a Simulation Run Step 1

Create a Simulation Run Step 2

Create a Simulation Run Step 3

Step 14. From the Simulation Toolbar, select the May 1996 Inverse Distance run from the drop down menu, and press the Compute All Elements button to run the simulation.

Simulation Toolbar

Step 15. You can view the results by choosing the Results tab of the Watershed Explorer, expanding the Simulation Runs node of the tree, selecting the May 1996 Inverse Distance Simulation Run, and clicking on the elements below it. Precipitation values for each gage are weighted based on the distance the gage is from the node location. 

Project Files

Download the final project files here:

This tutorial concludes the Meteorologic Models for Historical Precipitation tutorial group.