Tutorial M08 001 Check Files QGIS GPKG

From Tuflow
Revision as of 13:34, 14 August 2023 by Emilie Nielsen (talk | contribs)
Jump to navigation Jump to search

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:

  1. Open the files, either:
    • Within the QGIS Browser Panel, navigate to the 10m, 5m and 2m check file databases (e.g. Module_08\TUFLOW\check\M08_5m_001_Check.gpkg). Double click on the grd_check_R layer for each, or
    • M08_10m_001_grd_check_R
    • M08_5m_001_grd_check_R
    • M08_2.5m_001_grd_check_R
    • In File Explorer, navigate to the Module_08\TUFLOW\check folder, individually drag and drop the 10m, 5m and 2.5m check file databases (e.g. M08_5m_001_Check.gpkg) into the QGIS workspace and select the grd_check_R layer for each.
  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.



Conclusion

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


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