ASC to ASC: Difference between revisions

Content deleted Content added
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 7:
 
=2023-03-AA (and later)=
<span style="color:red;font-size:14">This release incorporates new GIS/GRID formats included in the 2023-03-AA TUFLOW release. Some slight changes to the commandconsole linewindow interface have been made to accomodate the new formats therefore please be aware that some of behaviour in 2023 release contradicts documentation presented elsewhere on this page (these are explicitly listed in <b><u>[[#Changes_to_Old_Switches | Changes to Old Switches]]</u></b> below). Where contradiction occurs, the behaviour listed here is the latest information and supersedes the behaviour listed elsewhere. </span> <span style="font-size:11"></span><br>
 
The '''ASC_to_ASC-2023-03-AA''' release incorporates several new GIS formats - '''GeoTIFF''', '''GPKG''', '''NetCDF''' (note: NetCDF was previously supported but now has better integration with all operations). The commands are largely unchanged and now support input and output to a range of new formats.
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>
<nowiki>**</nowiki> <b>Note</b>, in the above example it is important to specify an output name with <tt>-out</tt> when converting to the same format (e.g. tif to tif) as otherwise the output will overwrite the input.<br>
 
==Maximum==