Difference between revisions of "Check Files 2d DEM M"

From Tuflow
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
This raster file contains the final material ID values in the model, it includes both 2D areas of the model and also 1D sections which utilise the 1D Water Level Line (1D mapping) functionality.  If not using the material land use functionality (e.g. "<font color="blue"><tt>Set CnM </tt></font> <font color="red"><tt>==</tt></font><tt> 0.035</tt>"), this file may contain zero values. <br>
+
This raster file contains the final material ID values used in the model. It includes both 2D areas of the model and 1D sections which utilise the 1D Water Level Line (1D mapping) functionality.  <br>
<br>
+
'''Note:''' If the material land use functionality is not used (e.g. the legacy command: "<font color="blue"><tt>Set CnM </tt></font> <font color="red"><tt>==</tt></font><tt> 0.035</tt>"), this file may contain zero values. <br>
Output grid formats currently supported by TUFLOW include the ESRI ASCII grid format (.asc), binary grids (.flt) and geodetic grids (.tif). The .tcf command "<font color="blue"><tt>Grid Format </tt></font> <font color="red"><tt>==</tt></font><tt> ASC</tt>" or "<font color="blue"><tt>Grid Format </tt></font> <font color="red"><tt>==</tt></font><tt> FLT</tt>" or "<font color="blue"><tt>Grid Format </tt></font> <font color="red"><tt>==</tt></font><tt> TIF</tt>" can be used to set the preferred output format. The default output format is TIF. The [[ASC_to_ASC#2023-03-AA_.28and_later.29 | asc_to_asc utility]] can be used to convert between ASC and TIF (in both directions).<br>
+
 
<br>
+
Output grid formats currently supported by TUFLOW include GeoTIFF grids (.tif), binary grids (.flt) and ESRI ASCII grid format (.asc). The preferred format can be set in the TUFLOW Control File (.tcf) using: <font color="blue"><tt>Grid Format </tt></font> <font color="red"><tt>==</tt></font><tt> TIF | FLT | ASC</tt>. The default output format is TIF. All of these formats are widely recognised (QGIS, MapInfo, ArcMap, SMS etc). The [[ASC_to_ASC#2023-03-AA_.28and_later.29 | asc_to_asc utility]] can be used to convert between ASC and TIF formats (in both directions).<br>
Both of these formats are widely recognised (QGIS, MapInfo, ArcMap, SMS etc).  The cell size of the DEM_M check file (and all raster outputs from TUFLOW) can be set with the .tcf command:<br>
+
 
"<font color="blue"><tt>Grid Output Cell Size </tt></font> <font color="red"><tt>==</tt></font><tt> <cell size in metres or feet></tt>"<br>
+
The cell size of the DEM_M check file (and all raster outputs from TUFLOW) can be set with the .tcf command:<br>
This raster is a north-south aligned raster and so minor interpolation is required to display the TUFLOW model on this grid. To view the exact values at the cell side points the [[Check_Files_2d_uvpt | 2d_uvpt]] check file can be used. The _uvpt_check file is more suited to viewing the values at individual cells.  Whilst the DEM_M can be used to quickly check large areas.<br>
+
<font color="blue"><tt>Grid Output Cell Size </tt></font> <font color="red"><tt>==</tt></font><tt> <grid_cell_size></tt><br>
<br>
+
 
The DEM_M check file can be styled in your GIS software and you can also perform grid calculation between simulations.   
+
This raster is aligned north-south, so minor interpolation is required to display the TUFLOW model on this grid. To view the exact values at the cell side points, use the [[Check_Files_2d_uvpt | 2d_uvpt]] check file, which is more suitable for viewing the values at individual cells.  Whilst the DEM_M is useful for quickly checking large areas.<br>
<br>
+
 
In the image below the DEM_M check file is shown for the the spatial distribution of the land use.<br>
+
The DEM_M check file can be styled in GIS software and used for grid-based comparisons between simulations.   
<br>
+
 
[[File:Check Files dem M 01.jpg]]<br>
+
The image below shows the spatial distribution of land use represented in the DEM_M check file. The layer has been styled based on the material ID values.<br>
 
<br>
 
<br>
 +
[[File:2d_DEM_M_check_01a.png]]<br>
 
<br>
 
<br>
  

Latest revision as of 13:31, 5 August 2025

This raster file contains the final material ID values used in the model. It includes both 2D areas of the model and 1D sections which utilise the 1D Water Level Line (1D mapping) functionality.
Note: If the material land use functionality is not used (e.g. the legacy command: "Set CnM == 0.035"), this file may contain zero values.

Output grid formats currently supported by TUFLOW include GeoTIFF grids (.tif), binary grids (.flt) and ESRI ASCII grid format (.asc). The preferred format can be set in the TUFLOW Control File (.tcf) using: Grid Format == TIF | FLT | ASC. The default output format is TIF. All of these formats are widely recognised (QGIS, MapInfo, ArcMap, SMS etc). The asc_to_asc utility can be used to convert between ASC and TIF formats (in both directions).

The cell size of the DEM_M check file (and all raster outputs from TUFLOW) can be set with the .tcf command:
Grid Output Cell Size == <grid_cell_size>

This raster is aligned north-south, so minor interpolation is required to display the TUFLOW model on this grid. To view the exact values at the cell side points, use the 2d_uvpt check file, which is more suitable for viewing the values at individual cells. Whilst the DEM_M is useful for quickly checking large areas.

The DEM_M check file can be styled in GIS software and used for grid-based comparisons between simulations.

The image below shows the spatial distribution of land use represented in the DEM_M check file. The layer has been styled based on the material ID values.

2d DEM M check 01a.png

Up
Go-up.png TUFLOW Check Files