ASC to ASC: Difference between revisions

Content deleted Content added
No edit summary
Line 179:
 
==Extract 1D Model Inputs==
'''"-egc control_file.egc"'''<br>
This allows 1D Network (1d_nwk) and/or 1D Cross-Sections to be extracted from a series of grids.<br>
A simple input file similar to the TUFLOW geometry control file is input into the utility. This is nominally given the extension .egc (Estry Geometry Control).<br>
Line 187 ⟶ 188:
{| align="center" class="wikitable"
 
! style="background-color:#005581; font-weight:bold; color:white;"| Attribute (type)
! style="background-color:#005581; font-weight:bold; color:white;" width=80% | Description
|-
|Name (character 10)|| Sets the branch name, unique chainage identifier is added to all output channels.
Line 203 ⟶ 204:
For each line in the cut line layer a cross-section will be extracted and output into .csv file format ready for use in TUFLOW. A number of options can be set for each cut line. Attributes for the cross-section cut line are:
{| align="center" class="wikitable"
! style="background-color:#005581; font-weight:bold; color:white;"| Attribute (type)
 
! style="background-color:#005581; font-weight:bold; color:white;" width=80% | Description
! Attribute (type)
! width=80% | Description
|-
|Source (character 50)|| Optional output cross-section file name. If left blank the name and chainage of the branch the cross-section intersects is used.
Line 231:
A full list of the availble .egc commands is detailed in the table below.
{| align="center" class="wikitable"
! style="background-color:#005581; font-weight:bold; color:white;"| Attribute (type)
 
! style="background-color:#005581; font-weight:bold; color:white;" width=80% | Description
! Command
! width=80% | Description
|-
|Read GIS Branch == <1d_br GIS file>|| Reads the branch lines, these are described above.
Line 284 ⟶ 283:
Read Grid Z == grid\dem_1m_bathymetry.flt
Read Grid Z == grid\dem_1m_survey.flt
</pre>
==Extract 1D Nodal Area Tables from Grid==
'''"-na <gis_region_file> <input grid>"'''<br>
Can be used to extract nodal-area (elevation-area) tables from a DEM, and output these in a .csv file format suitable for input into the 1D domain of a TUFLOW model.<br>
The input GIS region file should have the same attributes as the 1d_tab file format produced by TUFLOW. The first attribute ("Source" ) should contain a valid .csv file name.<br>
The out nodal area table extends from the minimum to the maximum elevation in the DEM. A user defined minimum value can be specified using the "Skew" attribute of the GIS region.<br>
Example:<br>
<li><tt>asc_to_asc.exe -na 1d_na_storgae_R.shp DEM_1m.flt</tt><br>
 
=Other Options (switches)=
Line 289 ⟶ 296:
{| align="center" class="wikitable"
 
! style="background-color:#005581; font-weight:bold; color:white;"| Switch
! Switch
! style="background-color:#005581; font-weight:bold; color:white;" width=9080% | Description
|-
|"-b"|| Run the utility in batch mode, this suppresses the prompt to press enter at the end of processing. Used in .bat files where two or more files are to be processed.