ASC to ASC: Difference between revisions
Content deleted Content added
Line 105:
<b>"-ndv <val>"</b><br>
An additional option to set the "no data value" is also possible when running the conversion function: <tt>-ndv <val></tt>. Note, this option will identify NaN values ("not a number") in the input grid, and treat them as no data values during the conversion (regardless of whether they are explicitly labelled as "no data values" in the grid header). This is useful if the user wants to remove all NaN values from the grid. Note, from the 2025.1 release and onwards, NaN's values in grid inputs are always treated as “no data values” and therefore grids can be read into TUFLOW directly without undertaking the below process.
*Converts asc to tif and sets the "no data value" to -999
Line 111:
*Removes all NaN values in a tif and replace them with -999
:<tt>asc_to_asc.exe -conv -tif -ndv -999 <input.tif> -out <output.tif></tt><nowiki>**</nowiki><br>
==Maximum==
| |||