View Results in SAGA: Difference between revisions
Content deleted Content added
m Protected "View Results in SAGA": High traffic page ([edit=sysop] (indefinite) [move=sysop] (indefinite)) |
No edit summary |
||
| (10 intermediate revisions by 3 users not shown) | |||
Line 1:
<ol>▼
==Introduction==
In this section we will look at post-processing the TUFLOW results so they can be imported and viewed in SAGA. We will bring 3D surfaces (as gridded datasets) as well as point and vector data (as region objects).
==TUFLOW to GIS==
In order to bring the 2D results written by TUFLOW (for example a water level surface) into
There is separate wiki page on how to use the TUFLOW_to_GIS utility. This page can be found here [[TUFLOW_to_GIS|TUFLOW to GIS]].
▲<ol>
<li> Download the TUFLOW_to_GIS utility and unzip. Take note of where this utility is located.</li>
<li> Create an empty text file in the '''TUFLOW\results\M01\2d\''' directory and name the file '''Process_Results.bat'''</li>
<li> Open the text file in a text editor</li>
<li> Add the following lines to the '''Process_Results.bat''' (these can be copied and pasted from below) and then save the batch file:<br>
<tt><font color="grey">REM Any text following "REM" is treated as a remark or comment.<br>
REM Process the maximums for water level, depth and velocity.<br></font>
C:\TUFLOW\Utilities\TUFLOW_to_GIS.exe -b -asc -max
C:\TUFLOW\Utilities\TUFLOW_to_GIS.exe -b -asc -max
C:\TUFLOW\Utilities\TUFLOW_to_GIS.exe -b -asc -max
<font color="grey">REM Process the depths at times 1, 2 and 3 hours.</font><br>
C:\TUFLOW\Utilities\TUFLOW_to_GIS.exe -b -asc -t1
C:\TUFLOW\Utilities\TUFLOW_to_GIS.exe -b -asc -t2
C:\TUFLOW\Utilities\TUFLOW_to_GIS.exe -b -asc -t3
<font color="grey">REM Process the velocity vectors at times 1, 2 and 3 hours.</font><br>
C:\TUFLOW\Utilities\TUFLOW_to_GIS.exe -b -shp -vector -t1
C:\TUFLOW\Utilities\TUFLOW_to_GIS.exe -b -shp -vector -t2
C:\TUFLOW\Utilities\TUFLOW_to_GIS.exe -b -shp -vector -t3
Pause <font color="grey">REM this keeps the
</tt></li>
''Update the path to TUFLOW_to_GIS.exe if necessary.''
<li>In Windows Explorer navigate to the '''TUFLOW\results\M01\2d\''' directory and double click on the newly created batch file '''Process_Results.bat'''.</li>
Line 38 ⟶ 39:
[[File:T2G M01 OutputsArc.png|frame|none]]
</ol>▼
==Import to SAGA==
We will import the gridded surfaces to SAGA:
<ol>
<li>In the ''Modules Library'' expand the ''Import/Export - Grids'' item and select ''Import ESRI Arc/Info Grid''. To execute the module, either double click on this item or select the ''Execute'' button in the ''Object Properties'' Window.</li>
[[File:Tute M01 Res Grids Saga1.png|frame|none]]
Line 46 ⟶ 48:
[[File:Tute M01 Res Grids Saga2.png|frame|none]]
<li>The above to steps need to be repeated for each of the 6 grids created above.</li>
<li>The vector files can simply be opened using the ''Load'' dialogue in SAGA. Open the '''
'''Tip:''' Multiple files can be opened at the same time using the shift and/or control keys. Only the .shp extensions need to be loaded, the remainder are automatically opened.
[[File:Tute M01 SAGA Open Res Files.png|frame|none]]
<li>In the ''Data'' tab of the Workspace Window, select the '''
[[File:Tute M01 SAGA View Res at t1.png|frame|none]]
This will create a new map with the depth grid at time 1 hour ('''
[[File:Tute M01 SAGA Res at t1.png|frame|none]]
<li>To view the other timesteps that were converted (at times 2 and 3 hours) repeat the above steps.</li>
<li>We will next look at the maximum water level results. In the data window double click on the '''
</ol>
==Conclusion==
We have covered the basics of viewing 2D TUFLOW results in SAGA. Please return to the tutorial model, module 1. In the next step we review the performance of the TUFLOW model (warnings, checks and mass balance), to return please click <u>[[
▲</ol>
| |||