ASC to ASC: Difference between revisions

Content deleted Content added
No edit summary
Line 17:
<li><tt>asc_to_asc.exe -conv DEM_M01.asc</tt><br>
Converts the file "DEM_M01.asc" for .flt format.
 
==Maximum==
'''"-max"'''<br>
Line 38 ⟶ 39:
Creates new grids comparing the differences in flood levels and extents for:<br>
"difference.asc" = "after_h.asc" - "before_h.asc"</li><br>
 
==Cutoff Depth==
'''"-cd<cutoff value>"''' <br>
Line 66 ⟶ 68:
<li><tt>asc_to_asc.exe -resize5 -rm_max -out DEM_10m_max.asc DEM_2m.asc</tt><br>
Creates a new 10m DEM (DEM_10m_max.asc) based on the the 2m DEM using an maximum approach.</li><br>
 
==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.
Line 72 ⟶ 75:
<li><tt>asc_to_asc.exe -trans_m0.3048 -trans_c10 DEM.asc</tt><br>
Multiplies all values by 0.3048 and then adds 10.0.</li><br>
 
==Decimals==
Converts .flt to .asc format with specified number of decimal spaces. ASC format created directly from TUFLOW comes only with three decimal spaces, FLT format has more decimal spaces.
Example:<br>
<li><tt>asc_to_asc.exe -conv -decimal5 *.flt</tt><br>
Converts all .flt grids to .asc format with 5 decimal spaces.
 
==Classify==
Classifies the grid based on the input classifications. The output file is a classified .asc grid. The classification .csv file should have two columns cutoff value and name (in that order). The first line in .csv treated as a header line and ignored. Any values over the greatest cutoff with be outputted to class "above".<br>