Difference between revisions of "Tutorial M08 001 Check Files QGIS GPKG"

From Tuflow
Jump to navigation Jump to search
Line 22: Line 22:
 
This tutorial introduces:
 
This tutorial introduces:
 
:*[[Check_Files_2d_grd | _grd_check_R]]
 
:*[[Check_Files_2d_grd | _grd_check_R]]
 +
 +
Map the Project Folder as a Favourite:
 +
<ol>
 +
<li>Within the QGIS Browser Panel, right click on 'Favorites' and select 'Add a Directory...'.
 +
<li>Navigate to the '''Module_08''' folder and select it.
 +
</ol>
  
 
Review the check files: <br>
 
Review the check files: <br>
Line 27: Line 33:
 
:*'''M08_5m_001_grd_check_R'''
 
:*'''M08_5m_001_grd_check_R'''
 
:*'''M08_2.5m_001_grd_check_R'''
 
:*'''M08_2.5m_001_grd_check_R'''
 +
 
<ol>
 
<ol>
 
<li>Open the files, either:
 
<li>Open the files, either:
<ol><li>In File Explorer, navigate to the '''Module_08\TUFLOW\check''' folder, drag and drop the '''M08_5m_001_Check.gpkg''' into the QGIS workspace and select the layers (hold Ctrl to select multiple), or
+
<ol><li>Within the QGIS Browser Panel, navigate to the 10m, 5m and 2m check file database (e.g. '''Module_08\TUFLOW\check\M08_5m_001_Check.gpkg'''). Double click on the grd_check_R layer for each to open them, or
<li>Within the QGIS Browser Panel, navigate to '''Module_08\TUFLOW\check\M08_5m_001_Check.gpkg''' and double click on the layers to open them.</ol>
+
<li>In File Explorer, navigate to the '''Module_08\TUFLOW\check''' folder, drag and drop individually the 10m, 5m and 2.5m check file database (e.g. '''M08_5m_001_Check.gpkg''') into the QGIS workspace and select the grd check layer.</ol>
 
<li>Use the 'Apply TUFLOW Styles to Open Layers'.
 
<li>Use the 'Apply TUFLOW Styles to Open Layers'.
 
<li>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.
 
<li>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.

Revision as of 20:38, 13 July 2023

Page Under Construction

Introduction

QGIS is used to import the check files and review the grid cell sizes.

TUFLOW Project Re-Configuration

Re-configure the TUFLOW project to use and save empty files to the correct folder:

  1. Go to Plugins > TUFLOW > Editing > Configure / Create TUFLOW Project.
  2. Change the folder which contains TUFLOW to the Module_08 folder. This is the only change required, the model folder structure and template empty files are supplied from previous model.
    Note: The 'results' and 'check' folder get automatically created when the TUFLOW model is run.
  3. Click 'OK' and save the QGIS workspace by selecting Project > Save As.

    M08 GPKG ConfigureProject.PNG

  4. Set the QGIS workspace projection to EPSG:32760, see Set the Projection.


Method

This tutorial introduces:

Map the Project Folder as a Favourite:

  1. Within the QGIS Browser Panel, right click on 'Favorites' and select 'Add a Directory...'.
  2. Navigate to the Module_08 folder and select it.

Review the check files:

  • M08_10m_001_grd_check_R
  • M08_5m_001_grd_check_R
  • M08_2.5m_001_grd_check_R
  1. Open the files, either:
    1. Within the QGIS Browser Panel, navigate to the 10m, 5m and 2m check file database (e.g. Module_08\TUFLOW\check\M08_5m_001_Check.gpkg). Double click on the grd_check_R layer for each to open them, or
    2. In File Explorer, navigate to the Module_08\TUFLOW\check folder, drag and drop individually the 10m, 5m and 2.5m check file database (e.g. M08_5m_001_Check.gpkg) into the QGIS workspace and select the grd check layer.
  2. Use the 'Apply TUFLOW Styles to Open Layers'.
  3. 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.
  4. Compare the cells, inspect how the smaller cell size picks up topographic features compared with the larger cell size.

    Animation M08 001 Check 01.gif

Conclusion

  • The 10m, 5m and 2.5m grids were inspected.


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