Project Recovery and Debug#

Overview

This module will outline how to build a recovery point and debug a FLO-2D Data Set.

Required Data

The required data is in Module 1.

File

Content

Lesson 1.qgz

Module 1 QGIS file

Lesson 1.gpkg

Module 1 GeoPackage

*.tif

Elevation file

Step 1: Create a recovery file#

Note: This step discusses how to set up the backup file or recovery point. Skip if these steps are already well understood.

  1. Select the Lesson 1.gpkg and Lesson 1.qgz files and zip them. This will create a recovery file.

../_images/Module002.png
  1. Name the zipped file. It is good to choose a name that identifies project progress. For Example: Lesson 1 n-value OK.zip.

Step 2: Recover a project#

  1. This step is used when project data is corrupt. If a project is not exporting data correctly or a mistake is made, use this recovery method.

  2. Select Lesson 1.gpkg and Lesson 1.qgz and delete them both.

../_images/Module003.png
  1. Extract the recovery files.

../_images/image4.png
  1. Change the name of the path so the file can be extracted directly to the Module 1 folder.

../_images/Module005.png

Step 3: Open the project#

  1. Open QGIS and drag Lesson 1.qgz onto the canvas the file in QGIS and Load the Project into the FLO-2D Plugin.

../_images/Module006.png
  1. Remove unavailable layers if necessary. Autofind and browse works well to resolve paths. This step depends on where the data is located and may not show up for all users.

../_images/Module007.png
  1. Click Yes to load the plugin. In this case the project path changed but FLO-2D helps find it.

../_images/Module008.png

This is the complete project, but some layers are turned off.

  1. Turn on the following layers:

    • Storm Drain

    • Blocked Areas

    • Storm drain conduits

../_images/Module009.png

Step 4: Export the FLO-2D data#

  1. Click the Export Button

../_images/Module010.png ../_images/Module011.png

Note

If the image above does not look like the window on your screen, you may be accessing the “Lesson 1.gpkg” in the Self-Help training packages. Delete the file in QGIS Lesson 1 Folder and return to Step 3.

C:\Users\Public\Documents\FLO-2D PRO Documentation\Example Projects\QGIS TutorialsQGIS Lesson 1\Lesson 1.gpkg

  1. Click OK and navigate to the export folder. Select the folder and export.

../_images/Module012.png
  1. Close the message.

../_images/Module013.png
  1. Go to the Storm Drain Widget and Export the swmm.inp file.

  2. Collapse all widgets.

  3. Open Storm Drain widget.

  4. Click Export SWMM.INP… button

../_images/Module014.png
  1. Name the file swmm.inp and click Save.

../_images/Module015.png
  1. Click OK to close both windows.

../_images/Module016.png

Step 5: Run the debug engine#

  1. Click the Run FLO-2D button.

../_images/Module017.png
  1. Correct the FLO-2D path click the Debug Run button.

../_images/Module018.png
  1. Click OK.

../_images/Module019.png
  1. The debug run is complete when FLO-2D windows close.

../_images/Module020.png
  1. Click Cancel to close the Run FLO-2D form.

../_images/Module021.png

Step 6: Debug the project in QGIS#

  1. Click the debug button.

../_images/Module022.png
  1. Select Debug and click OK.

../_images/Module023.png
  1. Navigate to the project folder.

  2. Select the debug file and click Open.

../_images/Module024.png
  1. Click Yes to load the extra debug files.

../_images/Module025.png
  1. Test the filtering and navigation tools on this form.

  2. If something breaks or stops working, simply reload by going back to the start of step 6.

  3. Click on one of the Element cells and the map will move to that cell.

  4. Click on a Row, and the map will not change.

  5. Close the form after a content and sated feeling is achieved.

Step 7: Load the conflict table#

  1. Click the debug button.

../_images/Module022.png
  1. Select Current project and click OK.

../_images/Module027.png
  1. Select Storm Drain Inlets to see how the form filters the data.

  2. Click the close button upon reaching Zen.

../_images/Module028.png

Step 8: Load the levee table#

  1. Click the debug button.

../_images/Module022.png
  1. Select Levee crests and click OK.

../_images/Module026.png
  1. Click Close to close the form. This one is not so useful.

../_images/Module029.png
  1. Right click the Levee Crests layer and click Open Attribute table.

  2. The standard QGIS table has excellent filtering and zoom to features.

  3. Close the form when if true mastery was achieved.

../_images/Module030.png