GRID to GRID draft: Difference between revisions
Content deleted Content added
Anne.Kolega (talk | contribs) m →Introduction: The |
|||
| (4 intermediate revisions by one other user not shown) | |||
Line 1:
=Introduction=
The grid_to_grid.exe is a utility that can be used to perform a range of operations on gridded files. The input grids can be a combination of GeoTIFF (.tif), ESRI ASCII (.asc), binary float (.flt) geopackage (.gpkg), NetCDF (.nc) and Cloud Optimised GeoTIFFs (.cog) grids, all of which can be input and output from TUFLOW and any of the format can be set as output from the utility.<br>
For some options (such as processing maximums or differences) the input files must be of the same row/column dimensions.<br>
Line 455:
==Flood Extent==
Returns a simple grid with value of 1 where the input grid has an active, non-zero value.<br>
Example:
Line 460 ⟶ 461:
==Remap==
'''"-wl <wl_file> -dem <dem_file>"'''<br>▼
▲'''"-wl <wl_file>"'''<br>
▲'''"-dem <dem_file>"'''<br>
The default interpolation method is TIN. But "-idw_npt<number of points>" flag can be used to change the interpolation method to IDW and set the number of points used for IDW interpolation (default is 12).<br>
Example:
*
:<tt>grid_to_grid.exe -remap -wl lowres_h.tif -dem DEM_highres.tif</tt>
*The utility can also
:<tt>grid_to_grid.exe -remap -wl lowres_h.tif -dem DEM_highres.tif
*The utility can also apply a buffer distance or add a freeboard. The below applies a buffer distance of 20m, and adds a freeboard of 0.2m to the original water level grid.<br>
:<tt>grid_to_grid.exe -remap -fb0.2 -bd20 -wl lowres_h.tif -dem DEM_highres.tif</tt>
Note
=GPKG and NetCDF=
| |||