Tutorial M01 Results QGIS update V2 draft: Difference between revisions

Content deleted Content added
 
(9 intermediate revisions by 2 users not shown)
Line 1:
= Introduction =
QGIS is used to view the 2D grid and mesh 2D results (as well as the TUFLOW 1D results). This section describes how to view the following results using the TUFLOW Viewer 2:
:*The '''grid results (.tif)''' are inspected with the '''Profile Tool plugin'''. For installation, see <u>[https://wiki.tuflow.com/index.php?title=QGIS_Profile_Tool Installation of Profile Tool]</u>
:*The '''mesh results (.xmdf, .tpc)''', including the bed elevation and time series, are inspected with the '''TUFLOW Viewer 2''' as part of the '''TUFLOW Plugin'''. MoreFor more information on TUFLOW Viewer 2 documentationand includinginstallation installationinstructions, please see the <u> [https://docs.tuflow.com/qgis-tuflow-plugin/2026.0latest/tuflow-viewer/installation/ TUFLOW Viewer 2 installation]</u>. For installation of the TUFLOW plugin, please see <u>[https://wiki.tuflow.com/index.php?title=TUFLOW_QGIS_Plugin#Installation_of_Plugin Installation of TUFLOW PluginDocumentation]</u>.
:*The '''time series results (tpc)''' using the 2d_po using the '''TUFLOW Viewer 2'''.
 
=Method=
Line 19 ⟶ 18:
<br>
<ol>
<li>SelectEnsure TUFLOW Viewer 2; morehas informationbeen onactivated. howFor tobackwards installcompatibility, the legacy TUFLOW Viewer 2,is pleasestill seeselected <u>by [https://docs.tuflowdefault.com/qgis-tuflow-plugin/2026.0/tuflow-viewer/installation/ To activate TUFLOW Viewer 2 installation]</u>.:
* Under the TUFLOW Plugin menu, check on the 'TUFLOW Viewer V2' option to enable the new viewer.<br>
<libr>
Click on the TUFLOW Viewer 2 from the TUFLOW plugin toolbar:<br>
[[File: TUFLOW Viewer2_Selection_2.png|600px]]<br>
<br>
* To confirm the new viewer has been activated, check that the legacy TUFLOW Viewer icon [[File: TUFLOW_Viewer_legacy_icon.png | 20px]] has been replaced with the TUFLOW Viewer Plot Window icon [[File:results_2.png | 20px]]. The TUFLOW Plugin toolbar should look like:<br>
<br>
[[File:TUFLOW Viewer 2 Txt.png]]<br>
<br>
<li>Open the Map Outputs and Time Series results, independently usingeither:
:* Within the QGIS Browser Panel drag the following layers into the QGIS workspace, or
:*Drag and drop the '''M01_5m_001.xmdf''' from the Module_01\TUFLOW\results\ folder > to select the time series output results
::*Drag and drop the '''M01_5m_001.tpc''' from the Module_01\TUFLOW\results\plot folderM01_5m_001.xmdf''' > to selectloads the time seriesmap output resultsmesh results
::*Drag and drop the '''M01_5m_001.xmdf''' from the Module_01\TUFLOW\results\ folderplot\M01_5m_001.tpc''' > to selectloads the time series output results
:* In File Explorer, navigate to the files above and drag and drop them into the QGIS workspace.
<li>The Map Outputs show scalar datasets, e.g. depth and velocity, and vector datasets, e.g. velocity vectors. Only one scalar and one vector dataset can be displayed at the same time.<br>
<br>
{{Video|name=Animation_M01_LoadResults_e02_Animation_M01_LoadResults_V2_b.mp4|width=1265}}
<br><br>
 
<li>SelectIn the layers panel, select '''M01_5m_001'''. fromIn the Layers'Layer Styling' Panepanel, then in the 'Datasets' tab, click on the scalar dataset 'Depth' under the Result Type. Using the 'Temporal Controller', hit the Play icon and "Go to next frame' icon to scroll through the output times. The results update as new output times are selected. </li>
Note: The styling of the Map Outputs can be changed byin rightthe clicking'Contours' ontab. eachVarious resulttimesteps datasetcan andbe editingchosen in the 'Contours'.Temporal Controller.<br>
<br>
{{Video|name=Animation_M01_Depth_c03_Animation_M01_Depth_V2_b.mp4|width=12651264}}
<br><br>
<li>Click on a vector dataset 'Vector Velocity' by selecting the arrow icon to add it to the displayed 'Depth' and visualise them together. The vector output shows both direction and magnitude. <br>
Note: The appearance of vectors (colour, line width, symbology) can be changed by selectingin the 'Vectors' tab. <br>
<br>
{{Video|name=Animation_M01_VVec_01f04_Animation_M01_VVec_V2_b.mp4|width=1265}}
<br><br>
</ol>
View mesh results (Time Series) with TUFLOW Viewer 2 from the 2d_po files:
<ol>
<li>ViewSelect the'''M01_5m_001_PLOT_L''' linein timethe seriesLayers forpanel flowand (Typeclick Q_).'TUFLOW ChooseViewer thePlot '''M01_5m_001_PLOT_L''Window' infrom the layerTUFLOW panelPlugin toolbar. SelectThe TUFLOWplot Viewerwidget will open. Within the plot 2widget, use the 'Result Names' menu to ensure the results '''M01_5m_001''' isare selected,. thenThen choose aselect 'Flow' as the data type, and using the 'Data Types' menu. Finally, use the 'Selection' tool, clickto onselect the PO2d_po line. This shows the flow data across the 2d_po line (Type Q_).
<li>View the point time series for Level and Velocity dataset (Type H_ and V_). ChooseSelect '''M01_5m_001_PLOT_P''' in the Layers panel, ensureand the resultsselect 'Level' and 'M01_5m_001''Velocity' isfrom selected,the then'Data chooseTypes' amenu Level(ensure and'Flow' Velocityis asunselected). the data type, and usingUse the 'Selection' tool, clickto onselect the PO2d_po point. This shows level and velocity at the point (Type H_ and V_). ATo secondarymove axisthe canvelocity alsoto bea chosensecondary axis, by right clicking onclick the graphplot and use optionselect 'moveMove to secondary axis'.
<br><br>
{{Video|name=Animation_M01_TimeSeries_01g05_Animation_M01_TimeSeries_V2_a.mp4|width=1265}}
<br>
<br>