WMS:Hydrograph Files

From XMS Wiki
Revision as of 15:53, 24 February 2016 by Jcreer (talk | contribs)
Jump to navigationJump to search

When running HEC-1, WMS reads the TAPE22 hydrograph results file. However, it is convenient to read measured hydrographs for comparison with computed hydrographs, therefore a simplified hydrograph file format can be used. The format is shown in Figure 1, with a sample file given in Figure 2.

Figure 1. Hydrograph File Format.
HYDROGRAPH
name starttime interval numordinates
flow-1 flow-2 flow-3 ... flow-10
...
...
...
flow-n
HYDROGRAPH
B1 0 30 25
0.0 0.4 0.9 1.5 2.2 3.0 3.9 4.9 6.0 7.2
9.5 12.8 16.0 15.2 14.1 10.2 9.0 7.5 5.8 4.0
3.3 2.2 1.0 0.5 0.1

Figure 2. Sample Hydrograph File.

Card Type HYDROGRAPH
Description Defines a set of hydrographs.
Required YES
Format HYDROGRAPH
name starttime interval numordinates
flow-1 flow-2 flow-3 ... flow-10
...
...
flow-n
Sample HYDROGRAPH
B1 730 45 12
8.0 14.0 25.0 40.0 65.0 63.0 55.0 50.0 42.0 30.0
15.0 0.0
B2 730 45 12
10.0 17.0 29.0 45.0 71.0 64.0 53.0 41.0 28.0 15.0
4.0 0.0
Field Variable Value Description
1 name str Station (basin or outlet) name (KK in HEC-1).
2 starttime + Military time (0-2400) at the start of the event.
3 interval + Interval in minutes between hydrograph ordinates.
4 numordinates + The number of hydrograph ordinates.
5-n flow + Hydrograph ordinates.Each of fields 1-5+n are repeated for each station in the file.

The hydrograph file is considered to be free-field when read by WMS so any number of spaces can be used to separated the different parameters. Figure 2 shows a sample file where there are 25 ordinates with a time interval of 30 minutes.