ASC to ASC: Difference between revisions

Content deleted Content added
Line 25:
|"-nc"||Output to NetCDF format. Note: the old -nc command is deprecated in the 2023-Beta release. For backward compatibility the following commands can be used instead <tt>"-conv -nc"</tt>
|-
|"-co"||Creation option switch. See <b><u>[[#Creation_Options | Creation Options]]</u></b> section below.
|}
 
Line 34:
 
===Creation Options===
The 2023-Beta release supports GDAL style creation options. Creation options can be passed in using the -co flag then the name of the creation option and the value:<Br>
<pre>-co COMPRESS=DEFLATE</pre>
Multiple creation options can be used (each will require its own -co flag).<Br>
<Br>
The creation options use the same syntax as GDAL uses (more information on the options can be found at <b><u>[https://gdal.org https://gdal.org]</u></b>) however not all options are supported. The following creation options are supported in the ASC_to_ASC 2023-Beta:<Br>
====GeoTIFF====
* COMPRESS=NONE/DEFLATE/LZW - output compression. Default - DEFLATE
* ZLEVEL=[0-9] - Compression level. Zero is no compression, 9 is hightest compression. Only supported for DEFLATE compression method. Default - 9
* PREDICTOR=1/2 - Compression predictor. Supported options are none [1] and horizontal differencing [2]. Default 2.
* NUM_THREADS=N/ALL_CPUS - Number of threads to use when processing GeoTIFFs. Default - ALL_CPUS
* BIGTIFF=YES/NO/IF_NEEDED - Controls whether the ouput file uses the BigTIFF format or classic TIFF. Default - IF_NEEDED.
 
====GeoPackage====
* COMPRESS=NONE/LZW - output compression. Default - LZW
* PREDICTOR=1/2 - Compression predictor. Supported options are none [1] and horizontal differencing [2]. Default 2.
 
====NetCDF====
* COMPRESS=NONE/DEFLATE- output compression. Default - DEFLATE
* ZLEVEL=[0-9] - Compression level. Zero is no compression, 9 is hightest compression. Only supported for DEFLATE compression method. Default - 9
 
====ASC====
* DECIMAL_PRECISION=N - The number of decimal places in the output. This command is analogous to the <tt>"-decimal[N]"</tt> switch. Default - 3
 
=Operations=