WMS:HSPF WDM File Interaction

From XMS Wiki
Jump to navigationJump to search

HSPF requires several time series datasets as input for hydrologic modeling. It also reports results of simulation as time series datasets. These data are stored in a watershed data management (WDM) file. These files are binary, direct-access data files which can hold several thousand datasets. Thus, management of the interaction with these WDM files is a large part of HSPF modeling. Datasets must be selected from the WDM file as input to a simulation and datasets must be specified as targets for simulation results. The EXT SOURCES and EXT TARGETS blocks of the HSPF input file control these interactions. Tools have been developed in WMS to aid in reviewing WDM files and setting up these input blocks for HSPF.

Viewing WDM Files

The output data from HSPF are stored in a WDM file. AS in that file are the time series used for input to HSPF. In order to view the se datasets, open the WDM Datasets dialog box by going to the WDM Datasets command in the HSPF menu. Make sure the proper WDM file is listed at the top of the dialog, if not, the correct file may be chosen using the file browser. Once a file is chosen, the datasets present in the file will be listed by dataset number and name in the main window of this dialog.

Select WDM Time Series dialog

A dataset may be retrieved and plotted by doing the following:

  1. Select the dataset number/name from the main window.
  2. Note the starting date of the dataset; data will be retrieved from this time forward.
  3. Enter the number of values to be retrieved from the dataset.
  4. Select the time units of the data.
  5. Select the transformation code used when retrieving the data.
  6. Click on the Plot Dataset button.

These steps will open the Hydrograph Window of WMS and plot the specified data as a linear plot. Some of the plot format may be changed by clicking on the Plot Options button and setting the options as desired.

Related Topics