The objective of this tutorial is to model the habitat of the adult barbel from several TELEMAC 2D hydraulic simulations. The results will be visualised in interactive figures, in GIS output and in 3D. The main steps are as follows:
These files are EDF data and can only be used for HABBY tutorials.
File(s) used | Description |
---|---|
d1.slf, d2.slf, d3.slf, d4.slf, d5.slf, d6.slf d7.slf, d8.slf, d9.slf | 2D TELEMAC modelling of a multi-flow braided river. These files are permanent discharge simulation result files. Each file represents a simulated constant discharge. Each file contains a single time step. |
indexHYDRAU.txt | To use multiple hydraulic input files at the same time in HABBY, it is necessary to have previously created a indexHYDRAU.txt file to assign a discharge value to each input file. |
discharge_chronicle.txt | This file is used with the HABBY interpolation tool (optional for habitat calculation). |
Here are the contents of the indexHYDRAU.txt file:
EPSG=unknown filename Q[m3/s] d1.slf 9.2 d2.slf 21.2 d3.slf 35 d4.slf 48.4 d5.slf 74.7 d6.slf 110 d7.slf 150 d8.slf 175 d9.slf 259
These files are fictitious data and are used only for the tutorial.
File(s) used | Description |
---|---|
sub_PolygonSandreCoarser-dom.shp (and associated files .shx, dbf, ..) | This GIS data is of type Shapefile and represents polygons of homogeneous substrate. Mapping method : Polygon (Polygon). Classification code : Sandre (Malavoi and Souchon 1989). Classification method: coarser-dominant (PlusGros-Dominant). |
sub_PolygonSandreCoarser-dom.txt | It is necessary to have previously created a file with the same name as the Shapefile, i.e. 'sub_PolygonSandreCoarser-dom.txt' in order to indicate to HABBY the classification code and the classification method of the substrate as well as the default substrate values (in case of not complete superposition of the substrate on the hydraulic). The latter is provided with the example data set. |
Here are the contents of the file 'sub_PolygonSandreCoarser-dom.txt':
substrate_classification_code=Sandre substrate_classification_method=coarser-dominant default_values=12, 12
This opens the HABBY - New Project window.
The project is then created and gives you access to new tabs.
This opens the input file manager for TELEMAC.
Once the process is complete, a file 'd1_to_d9.hyd' is created.
Once the process is finished, a file 'sub_PolygonSandreCoarser-dom.sub' is created.
Once the process is finished, a 'd1_to_d9_sub_PolygonSandreCoarser-dom.hab' file is created.
This opens the biological model explorer.
The model 'Barbus barbus - adult - BAF01' has been added to the list of models to be calculated.
Once the process is finished, the result of the model 'BAF01_adult_HV_Dominant' has been added to the file 'd1_to_d9_sub_PolygonSandreCoarser-dom.hab'. By default, at each calculation, the text habitat calculation result file is created: 'd1_to_d9_sub_PolygonSandreCoarser-dom_spu.txt' describing the habitat values and the weighted usable area of adult barbel for each simulated discharge.
You can view the results in detail, either via the figures or via exports from the explorateur de données.
The *User guide: Calculating habitat from a .hab file explains in more detail the possibilities offered by HABBY.
In this tutorial, for the adult barbel, we will :
To view the data in detail as a figure and as a file export:
Interactive map
An interactive habitat map is then displayed.
NB: To close all interactive figure windows, use the button in the main window's quick menu.
Interactive Chronicle
An interactive habitat chronicle is then displayed.
NB: To close all interactive figure windows, use the button in the main window's quick menu.
In the Data Explorer tab, for file types, check that 'habitat' is selected.
At the end of the process, all the requested files have been exported.
NB: All exported files are located in the project's output directory. To access them, use the button in the main window's quick menu.
SIG
First, we will look at the exports Geopackage (.gpkg) Mesh units, which is the file 'd1_to_d9_sub_PolygonSandreCoarser-dom_Troncon D_mesh.gpkg'.
This Geopackage file contains several layers (each equivalent to a Shapefile) of triangular polygons (mesh data) for each discharge.
The attribute tables of these layers contain all the mesh data including the habitat data of the adult barbel.
3D
In a second step, we will look at the exports 3D (.stl) Mesh whole profile, i.e. the file 'd1_to_d9_sub_PolygonSandreCoarser-dom_Troncon D_unit_all_wholeprofile_mesh.stl'. This 3D .stl (stereolithography) file represents the digital terrain model of the watercourse in 3 dimensions.
In a third step, we will look at the exports 3D (.pvd, .vtu) Mesh units, namely:
Together, these 3D .pvd and .vtu files represent the water level in 3 dimensions for each unit.
TXT
Finally, we will look at the TXT exports in the '…\Tuto_TELEMAC\outputtext' project directory, i.e. :
These can be directly used in a spreadsheet by drag and drop.
The objective of this last part of the tutorial is to find out the habitat values for a discharge time series using the Interpolation tool.
The Desired data group is then ready to choose the data to be interpolated.
The interpolated results are then displayed in the Interpolated results group.