Tute M01 Boundaries SAGA

From Tuflow
Revision as of 16:10, 19 September 2011 by tuflow>Par (Created page with "<ol> == Introduction == This page details the method for using SAGA to create the GIS based boundary layer files. Once the GIS layers are setup (detailed in this page), these are...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

    Introduction

    This page details the method for using SAGA to create the GIS based boundary layer files. Once the GIS layers are setup (detailed in this page), these are linked to data using a boundary database, (the boundary database is described in ???par link). We will create three different boundaries:

    • Upstream flow boundary
    • Downstream water level - flow (stage-discharge) boundary
    • Internal flow boundary

    The first two boundaries are inputted into a 2d_bc type layer. The third boundary (internal flow boundary) will be applied as a source-area boundary in a 2d_SA boundary type layer.

    Method

    2d_bc type boundaries

    We will create the 2d_bc boundaries first. These boundaries are external and will "snap" to the edge of our active model area. Both of these boundaries should be aligned perpendicular to flow direction. Care should be taken to digitise these boundaries perpendicular to flow direction (i.e. across the waterways). We will review the flow patterns in the vicinity of the boundaries later in this tutorial.

  1. Load the DEM Module_Data\DEMs\SAGA\DEM_M01.sgrd
  2. Load the code polygon TUFLOW\model\saga\2d_code_M01_003_R.shp
  3. Create a new map containing these layers, select both of these in the data tab of the workspace window, right click and select "Show".
  4. Load the template 2d bc type layer (2d_bc_empty_L.shp) from TUFLOW\model\saga\empty\.
  5. Save a copy of the template under the TUFLOW\model\saga folder as 2d_bc_M01_003_L.shp. Note that we save the file into the \model\saga\ directory not the \model\saga\empty\ directory.
  6. Open the newly saved, 2d_bc_M01_003_L.shp add it to the map window and close the template.
  7. The SAGA window should now look something like this:
    Tute M01 Saga 2d bc 1.png


  8. The first step is to change the style of the code region to make it a bit easier to work with. Select the 2d_code_m01_003_R in the data tab, and then in the settings tab of the object properties window change the following:
    • Set the Fill Style to "Transparent", this allows us to see the DEM behind the polygon;
    • Set the Outline Size to 2, to make the object more visible;
    • Check the "Show Vertices" option under Outline, this will allow us to see the vertices to snap the 2d_bc layer too.
    Select Apply.
  9. Modifications above highlighted in bold
  10. Before we begin modifying the 2d_bc layer, we need to enable snapping to the 2d_code region. To do this select the 2d_bc_M01_003_L.shp in the data tab, in the settings tab, select the "..." button next to the "Snap to.." text.
  11. Tute M01 Saga SnapTo1.png


  12. In the snap to dialogue, select the 2d_code_M01_003_R in the left hand pane and move it to the right. Then select Okay.
  13. Tute M01 Saga SnapTo2.png


  14. Set the Snap Distance to 10 (metres). This controls how closely you need to digitise a vertex in the new shape to be considered snapped to the code region. Select Apply.
  15. To add an object to the layer, right click on the layer in the workspace window and select Edit >> Add Shape.
  16. Tute M01 Saga 2d bc 3.png


    2d_sa type boundary

    Conclusion

    SAGA has been used to create the a 2d_bc layer that contains an upstream "QT" type inflow boundary and a downstream "HQ" stage-discharge type boundary. A second ArcMap layer 2d_sa defines an internal source-area boundary. Please return to the tutorial model page here, where the next step is to assign hydrographs to the inflow boundary locations created in this page.