Convert to TS1: Difference between revisions
Content deleted Content added
No edit summary |
|||
| (27 intermediate revisions by 4 users not shown) | |||
Line 3:
Any number of input files (of the same format) can be specified and wildcards (eg. “*.out”) can be used to specify a group of files. The options available are described in the Table below. One input format and one output format switch should be specified, although the default output format is ts1, so this flag can be optionally omitted.<br>
For most options, an additional file “_peak_Q.csv” is output providing a summary of the peak flows for each hydrograph. If a group of files is specified, the _peak_Q.csv file is a summary of all files within the group and a second file “_peak_F.csv” contains which file caused the peak flow of all the files. This is useful for determining which storm duration produced the peak flow or is the critical duration event.<br>
At present the program supports the hydrology models most commonly used within Australia. Other formats can be built in through supplying example files/formats and any other useful information to
The .ts1 file format is outlined in the following page: [[TS1_File_Format | TS1 File Format]].<br>
=Options=
Line 40:
|-
|-
|"-mr event_names.txt"|| Multiple Rafts Durations: Read multiple durations from a rafts *.loc or *.tot file. Must be used in conjunction with the -rafts switch.
|-
!colspan="2" style="background-color:#005581; font-weight:bold; color:white;"| Miscellaneous Switches
Line 51:
|-
|"-e0"|| Insert a zero flow after the end of the hydrograph.
|-
|"-thour"|| Output time in hours (for .csv output format only).
|}
=Examples=
<ol>
<tt>convert_to_ts1.exe -wbnm -ts1 Q100_Meta.out</tt><br>▼
<tt>convert_to_ts1.exe -rorb -ts1 -dt5 *.out</tt
▲outputs .ts1 files for every .out file in the folder. A summary of the peak flows can be found in the _peak_Q.csv and _peak_F.csv files.<br>
<li>Outputs .ts1 from .int file.<br>
<tt>convert_to_ts1.exe -
▲<tt>convert_to_ts1.exe -rafts -csv Q100.tot Q050.tot Q100.loc Q050.loc</tt><br>
<tt>convert_to_ts1.exe -rafts -csv -thour Q100.tot Q050.tot Q100.loc Q050.loc</tt>
▲outputs .csv files for the four files specified.<br>
<li>Outputs a separate .csv file for each duration specified within event_names.txt and the result my_results.tot. The order of the durations in event_names.txt is important and has to be the same as the order of ticked durations in XPRAFTS. Example is shown below. <br>
<tt>convert_to_ts1.exe -rafts -mr event_names.txt -e0 -csv
[[File:RAFTS Storm Control.png | 500px]]<br>
▲15min<br>
60min<br>▼
<tt>convert_to_ts1.exe -wbnm -mw -csv Q100.out</tt><br>
▲outputs a separate .csv file for each event within the wbnm output file Q100.out.<br>
</ol>
{{Tips Navigation
| |||