Difference between revisions of "Tutorial M03 Check Files QGIS GPKG"

From Tuflow
Jump to navigation Jump to search
 
(2 intermediate revisions by 2 users not shown)
Line 25: Line 25:
 
:*pSlope: the slope of the 1D element.<br>
 
:*pSlope: the slope of the 1D element.<br>
  
<br>[[File:Animation_M03_GPKG_Check_01.gif]]<br><br>
+
<br>
 +
{{Video|name=Animation_M03_GPKG_Check_01.mp4|width=1267}}<br><br>
  
<li>The '''1d_to_2d_check_R''' file shows the cells selected by the SX boundary links. It is recommended the same number of linking cells is selected at both the upstream and downstream of the culverts and that the number of selected cells is proportional to the structure size. Zoom to each structure to inspect the SX links:
+
<li>The '''1d_to_2d_check_R''' file shows the cells selected by the SX boundary links. It is recommended that the number of selected cells has at least the width (i.e. cell side length x number of cells) of the associated 1D culvert. Zoom to each structure to inspect the SX links:
 
:*The point SX selects a single cell in which the point falls. <br>
 
:*The point SX selects a single cell in which the point falls. <br>
 
:*The region SX selects all cells where the cell centers fall within the region.  
 
:*The region SX selects all cells where the cell centers fall within the region.  
Line 35: Line 36:
 
[[File:Cross-hair approach.png | 300px]]</ol>
 
[[File:Cross-hair approach.png | 300px]]</ol>
 
<br>
 
<br>
[[File:Animation_M03_Check_02a.gif]]<br>
+
{{Video|name=Animation_M03_Check_02a.mp4|width=1267}}<br>
 
</ol>
 
</ol>
 
<br>
 
<br>

Latest revision as of 13:52, 20 December 2023

Introduction

QGIS is used to import the check files and review the 1D to 2D connections between the 1D network features and the 2D domain.

Method

This tutorial introduces:

Review the check files:

  1. Open the files, either:
    • Within the QGIS Browser Panel, navigate to Module_03\TUFLOW\check\M03_5m_001_Check.gpkg and double click the following layers, or
    • M03_5m_001_grd_check_R
    • M03_5m_001_nwk_C_check_L
    • M03_5m_001_1d_to_2d_check_R
    • In File Explorer, navigate to the Module_03\TUFLOW\check folder, drag and drop the M03_5m_001_Check.gpkg into the QGIS workspace and select the layers above (hold Ctrl to select multiple).
  2. Use the 'Apply TUFLOW Styles to Open Layers'.
  3. Use the 'Apply GPKG Layer Names'.
  4. The grd_check is the 2D grid defined by the 2d_code layer and contains a region object for each cell. It is useful to understand how the model is orientated, the cell size in relation to the hydraulic features and where certain calculations occur in the model. In this tutorial, the grid is orientated to align with the downstream road.
  5. The nwk_C_check_L file shows all attributes applied to the network elements. Some fields should be inspected as they have changes from the input 1d_nwk_M03_culverts layer:
    • Len_or_ANA: contains the length used by TUFLOW (determined by the digitised line).
    • pSlope: the slope of the 1D element.



  6. The 1d_to_2d_check_R file shows the cells selected by the SX boundary links. It is recommended that the number of selected cells has at least the width (i.e. cell side length x number of cells) of the associated 1D culvert. Zoom to each structure to inspect the SX links:
    • The point SX selects a single cell in which the point falls.
    • The region SX selects all cells where the cell centers fall within the region.
    • The line SX selects cells which are intercepted by the line using the crosshair approach. For example, the dashed lines below are the crosshairs within a cell. A line must intersect at least one of these crosshairs to be selected:

      Cross-hair approach.png




Conclusion

  • The nwk_C_check file investigated the attributes for the 1D culverts.
  • The 1d_to_2d_check and grd_check files were used to assess the SX connections between the 1D culvers and the 2D domain.


Up
Go-up.png Back to Module 3 Main Page