Tool Change a Grid's No-Data Value
This tool allows changing a grid's no-data value or value range definition. It does not change the cell values of the grid, unless you check the 'Change Values' option. Its main purpose is to support this type of operation for tool chains and scripting environments. If the 'Change Values' option is checked all no-data cells will be changed to the new no-data value.
- Author: O.Conrad (c) 2016
- Menu: Grid|Values
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Grid | Grid, input | GRID | - | - |
Output | Changed Grid (*) | Grid, output, optional | OUTPUT | - | - |
Options | Grid System | Grid system | PARAMETERS_GRID_SYSTEM | - | - |
Type | Choice | TYPE | - | Available Choices: [0] single value [1] value range Default: 0 |
No-Data Value | Floating point | VALUE | - | Default: -99999.000000 |
No-Data Value Range | Value range | RANGE | - | - |
Change Values | Boolean | CHANGE | - | Default: 0 |
(*) optional |
Command-line
Usage: saga_cmd grid_tools 36 [-GRID <str>] [-OUTPUT <str>] [-TYPE <str>] [-VALUE <double>] [-RANGE_MIN <double>] [-RANGE_MAX <double>] [-CHANGE <str>]
-GRID:<str> Grid
Grid, input
-OUTPUT:<str> Changed Grid
Grid, output, optional
-TYPE:<str> Type
Choice
Available Choices:
[0] single value
[1] value range
Default: 0
-VALUE:<double> No-Data Value
Floating point
Default: -99999.000000
-RANGE_MIN:<double> No-Data Value Range
Value range
-RANGE_MAX:<double> No-Data Value Range
Value range
-CHANGE:<str> Change Values
Boolean
Default: 0