Changelog for TUFLOW Plugin v3.6

Release date: 26 Sep 2022

  1. New Features and Enhancements
    1. TUFLOW Viewer - Curtain Plots Support Vertical Velocity
    2. TUFLOW Viewer - Support For Changing Result Order
    3. TUFLOW Viewer - Remember Previous State for GUI Layout
    4. TUFLOW Viewer - Support For NetCDF Rasters
    5. TUFLOW Viewer - Support For Flood Modeller Python Exported Results
    6. TUFLOW Viewer - Support For ZZN Flood Modeller Results
    7. SCS to TUFLOW - New Approach to Use GIS Polygons
    8. Load Layers From TCF - Progress Bar
    9. Load Layers From TCF - Automatic TUFLOW Styling
    10. Load Layers From TCF - Grouping Options
    11. Sort / Filter Open Layers - Improved Sorting Algorithm
    12. Convert TUFLOW Model GIS Format - Restrict Conversion by Scenario
    13. Configure TUFLOW Project - New Icon
    14. TUFLOW Layer Styling - Adds Missing Styles
    15. TUFLOW Utilities - Auto Find 2dm
  2. Bug Fixes
    1. TUFLOW Viewer
    2. Other

New Features and Enhancements

TUFLOW Viewer - Curtain Plots Support Vertical Velocity

Major Feature

TUFLOW FV NetCDF curtain vectors will now have a vertical component if a ‘W’ output is found in the results.

TUFLOW Viewer - Support For Changing Result Order

Major Feature

Added option to shift order of open results via right-click context menu. This is useful for changing the order results appear in the plotting window.

TUFLOW Viewer - Remember Previous State for GUI Layout

An option to remember the previous state of the TUFLOW Viewer layout has been added. This remember whether the previous state was using the ‘Plot View’, ‘Narrow View’, and where the dock was located.

remember_previous_layout

TUFLOW Viewer - Support For NetCDF Rasters

Major Feature

NetCDF rasters are now supported via Load Results - NetCDF Grid.

load_netcdf_grids

TUFLOW Viewer - Support For Flood Modeller Python Exported Results

Major Feature

Added support for CSV results exported from the Flood Modeller API Python library (Load Results - Time Series FM).

flood_modeller_new_result_formats

TUFLOW Viewer - Support For ZZN Flood Modeller Results

Major Feature

Adds support for the raw ZZN time series output from Flood Modeller (Load Results - Time Series FM).

SCS to TUFLOW - New Approach to Use GIS Polygons

New approach added that uses GIS polygon(s) and their attribute data for method calculation. This has the benefit of allowing multiple calculations to take place and spatial distribution of parameters.

For more information, please visit the following TUFLOW wiki page:
QGIS SCS to TUFLOW - GIS Approach

scs_gis_approach

Load Layers From TCF - Progress Bar

A progres bar has been added. This shows users where the tool is being slow at loading (usually large DEMs).

Load Layers From TCF - Automatic TUFLOW Styling

Imported layers are automatically given TUFLOW styling.

Load Layers From TCF - Grouping Options

An option has been added to give users the ability to choose whether to bring in layers ‘grouped’ or ‘ungrouped’ by control file.

Sort / Filter Open Layers - Improved Sorting Algorithm

The sorting algorith has been altered slightly so that layers with the same name (w/o ‘_L’, ‘_P’, ‘_R’ suffix) will be sorted by geometry in order of points, line, polygon. The tool’s speed at sorting layers has also been improved.

Convert TUFLOW Model GIS Format - Restrict Conversion by Scenario

Provides user with the option to restrict conversion by scenario name.

Configure TUFLOW Project - New Icon

New icon and added to toolbar.

TUFLOW Layer Styling - Adds Missing Styles

Added styling for 2d_qnl layers.

TUFLOW Utilities - Auto Find 2dm

TUFLOW to GIS will automatically find the 2dm file if using a post-processed XMDF.

Bug Fixes

TUFLOW Viewer

  • Cross-section plot lines could become offset if start or end of line was outside the mesh
  • Fixes bug for long section plotting of Flood Modeller results that could sometimes produce a python error
  • Fixes bug in hiding inactive area on cross-section when M column header isn’t defined in GIS file
  • Fixes bug with cross-section plot that wouldn’t update plot when a result type was deselected
  • Fixes bug when loading results from TCF which could produce a python error when ~s~ flag was just before extension .tcf in the name
  • Fixes ‘load results from TCF’ when output path is an absolute path
  • Fix bug when loading TUFLOW release 2013 time series results which could produce a python error
  • New method for loading results from TCF backported to be compatible with Python versions earlier than 3.9 and QGIS versions earlier than 3.22

Other

  • 1D Integrity Tool - Fixes a bug with the ouput symbol renderer in QGIS 3.26
  • TUFLOW Utilities - Fixes bug with TUFLOW to GIS common tool using correct scalar/vector type and loading timesteps from a post-processed XMDF
  • TUFLOW Styling - Fixes a bug that would not render TUFLOW style for GPKG layers
  • Import Empty - Fixes a bug where open layers with the same name as the imported layer were removed from the workspace
  • ReFH2 to TUFLOW - Fixes bug that would cause GUI to hang if 2 different output types (within rainfall or hydrograph) was selected (e.g. Direct Runoff and Total Runoff)
  • ReFH2 to TUFLOW - Fixes python error that could occur if the selected GIS layer was removed
  • Load From TCF - Fixes bug in new routine that wasn’t finding all scenario names