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

From Tuflow
Jump to navigation Jump to search
Line 36: Line 36:
 
<li>The sac_check is related to the 2d_sa boundary layer and, by default, shows the lowest cell in every polygon where the hydrograph is applied to.<br>
 
<li>The sac_check is related to the 2d_sa boundary layer and, by default, shows the lowest cell in every polygon where the hydrograph is applied to.<br>
 
<br>
 
<br>
{{video|name=Animation_M01_GPKG_Check_Vectors_02.mp4|width=1121}}
+
{{video|name=Animation_M01_GPKG_Check_Vectors_02a.mp4|width=1121}}
 
</ol>
 
</ol>
 
<br>
 
<br>

Revision as of 14:14, 1 June 2023

Page Under Construction

Introduction

QGIS is used to import check files and review the model domain, active cells, boundary conditions, materials and final elevations.

Method

This tutorial introduces:

Review vector check files:

  1. Drag and drop the M01_5m_001_Check.gpkg from the Module_01\TUFLOW\check folder into QGIS.
  2. Open the following layers into QGIS (hold Ctrl to select multiple):
    • M01_5m_001_dom_check_R
    • M01_5m_001_grd_check_R
    • M01_5m_001_bcc_check_R
    • M01_5m_001_sac_check_R
  3. Use the 'Apply TUFLOW Styles to Open Layers' from the TUFLOW toolbar.
  4. Use the 'Apply GPKG Layer Names' from the TUFLOW toolbar.

    Animation M01 GPKG Check 0.gif

  5. The dom_check contains a rectangle of the 2D domain showing the location, orientation and size of the domain. Within this domain, cells can be turned on and off, outside of this domain no 2D calculations are performed. This domain is created using the Origin, Orientation, and Grid Size (X,Y) commands in the TGC.
  6. 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.

    Animation M01 GPKG Check Vectors 01.gif

  7. The bcc_check contains information on the 2D boundaries used in the 2d_bc layer. It this tutorial, it includes an upstream and downstream boundary.
  8. The sac_check is related to the 2d_sa boundary layer and, by default, shows the lowest cell in every polygon where the hydrograph is applied to.


Review raster check files:

  1. Open the following files from the Module_01\TUFLOW\check folder:
    • M01_5m_001_DEM_Z.tif
    • M01_5m_001_DEM_M.tif
  2. Right click on the original DEM and select Styles > Copy Style. Right click on the DEM_Z and select Styles > Paste Style.
  3. The DEM_Z grid shows the final elevations used for the model calculations. The default size of the grid cells is half the smallest 2D cell size. In this tutorial it is 2.5m.

  4. Animation M01 Check DEMZ b.gif

  5. Right click on the DEM_M file and select 'Properties'.
  6. From 'Render Type', select 'Paletted/Unique Values'.
  7. Click 'Classify', five unique values appear referring to the materials specified in the 2d_mat and materials.csv files. Click 'OK'
  8. The DEM_M shows the final material ID values. Change the labels to match the material class as shown below.

    Animation M01 Check DEMM b.gif


Conclusion

  • The dom_check and grd_check confirmed the location of the model, the active cell extent and orientation of the cells.
  • The bcc_check and sac_check revealed the spatial application of the external and internal boundaries.
  • The DEM_Z and DEM_M rasters were used to review the model elevation and land use.


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