GRID to GRID draft: Difference between revisions
Content deleted Content added
No edit summary |
|||
Line 38:
'''"-conv"'''<br>
Converts grid formats as specified by the output switch.<br>
*Converts all FLT grids to TIF format.<br>
:<tt>grid_to_grid.exe -conv -tif *.flt</tt>
Line 53:
*A numerical grid containing the maximum value.<br>
*A classified grid with the suffix _src which contains the source grid for the maximum value.<br>
*Creates a new grid containing the maximum of the 3 input water level grids.<br>
:<tt>grid_to_grid.exe -max Q100_30min_h.tif Q100_45min_h.tif Q100_60min_h.tif</tt><br>
Line 89:
*If two grids are specified, the first value is used for setting the cutoff depth and the values from the second grid are processed.<br>
*If three grids are specified, the third grid is used for setting the filename for the output grid. This is ignored if the "-out" option is used.<br>
Example:
*Creates a new depth grid only where the depth is greater than 0.1m.<br>
:<tt>grid_to_grid.exe -cd0.1 depth.tif</tt>
Line 120:
==Transform==
Transforms the values using a simple y = mx + c approach the multiplier (m) is specified with flag '''-trans_m<value>'''. The add value (c)'''-trans_c<value>'''. Only one values is required to be specified.<br>
Example:
*Multiplies all values by 0.3048.<br>
:<tt>grid_to_grid.exe -trans_m0.3048 DEM.tif</tt>
Line 146:
|}
Example:
*Outputs a classified grid, based on the cut off values and names in the "classifications.csv".<br>
:<tt>grid_to_grid.exe -classify classifications.csv results_VMax.tif</tt>
Line 200:
This feature was added to the 2014-03-AB version of the utility.<br>
Calculates the number of cells and percentage of cells that fall in each range. Requires and input .csv file containing the bin values.<br>
Example:
*An example inputs bin file is:<br>
:{| class="wikitable"
Line 332:
|FLC per Unit Length == <form loss per unit length> || The form loss per unit length is written to the "exit_loss" attribute of all 1d_nwk channels.
|}
Example
*<tt>grid_to_grid.exe -egc MR_1d_001.egc</tt>
Line 360:
The input GIS region file should have the same attributes as the 1d_tab file format produced by TUFLOW. The first attribute ("Source" ) should contain a valid .csv file name.<br>
The out nodal area table extends from the minimum to the maximum elevation in the DEM. A user defined minimum value can be specified using the "Skew" attribute of the GIS region.<br>
Example
*<tt>grid_to_grid.exe -na 1d_na_storage_R.shp DEM_1m.tif</tt>
Line 372:
'''"-cpmm<mm>"''' (optional)<br>
The second search radius used to search for maximum and minimum values in meters.<br>
Example
*<tt>grid_to_grid.exe -cp Flood_Marks.MIF -config diff_config.csv -cpsd100 -cpmm50 results_h_Max.tif</tt><br>
Line 396:
* A value grid: the resulting median value
* An SRC grid: a grid listing which source input grid the median result value came from (a corresponding .csv file is also written as a legend)<br>
Example
*<tt>grid_to_grid.exe -statMedian Q100_30min_TP1_h.tif Q100_30min_TP2_h.tif Q100_30min_TP3_h.tif Q100_30min_TP4_h.tif Q100_30min_TP5_h.tif </tt><br>
Line 410:
* A value grid: the resulting value
* An SRC grid: a grid listing which source input grid the result value came from or was the next above (a corresponding .csv file is also written as a legend)<br>
Example
*<tt>grid_to_grid.exe -statMean Q100_30min_*_h.tif</tt><br>
Line 418:
The utility outputs one grid:
* A Frac grid: the resulting Fraction value<br>
Example
*<tt>grid_to_grid.exe -statFrac Q100_30min_*_h.tif</tt><br>
Line 427:
* A value grid: the resulting value
* An SRC grid: a grid listing which source input grid the minimum result value came from (a corresponding .csv file is also written as a legend)<br>
Example
*<tt>grid_to_grid.exe -statMin Q100_30min_*_h.tif</tt><br>
Line 436:
* A value grid: the resulting value
* An SRC grid: a grid listing which source input grid the maximum result value came from (a corresponding .csv file is also written as a legend)<br>
Example
*<tt>grid_to_grid.exe -statMax Q100_30min_*_h.tif</tt><br>
Line 446:
* An SRC grid: for the median, mean, min and max calculations (calculation of source grids as detailed above)
* A .csv file that contains the legend for all SRC grids<br>
Example
*<tt>grid_to_grid.exe -statAll Q100_30min_*_h.tif</tt><br>
Line 455:
* A value grid: the resulting value
* An SRC grid: a grid listing which source input grid the ranked result value came from (a corresponding .csv file is also written as a legend)<br>
Example
*<tt>grid_to_grid.exe -statRank5 Q100_30min_*_h.tif</tt><br>
==Flood Extent==
Returns a simple grid with value of 1 where the input grid has an active, non-zero value.<br>
Example
*<tt>grid_to_grid.exe -fe results_dMax.tif</tt><br>
Line 470:
Sets the finer resolution DEM.<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:
*The utility can also remap additional map output grids (e.g. velocity, hazard and others) to the resolution of the DEM file, e.g.<br>
:<tt>grid_to_grid.exe -remap -wl lowres_h.tif -dem DEM_highres.tif</tt>
|