Module Change Grid Values
Changes values of a grid according to the rules of a user defined lookup table. Values or value ranges that are not listed in the lookup table remain unchanged. If the target is not set, the changes will be stored to the original grid.
- Author: (c) 2001 by O.Conrad
- Specification: grid
- Menu: Grid|Values
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Grid | Grid (input) | GRID_IN | - | - |
Output | Changed Grid (*) | Grid (optional output) | GRID_OUT | - | - |
Options | Replace Condition | Choice | METHOD | - | Available Choices: [0] Grid value equals low value [1] Low value < grid value < high value [2] Low value <= grid value < high value Default: 0 |
Lookup Table | Static table | LOOKUP | - | 3 Fields: - 1. [8 byte floating point number] Low Value - 2. [8 byte floating point number] High Value - 3. [8 byte floating point number] Replace with
|
(*) optional |
Command-line
Usage: saga_cmd grid_tools 12 [-GRID_IN <str>] [-GRID_OUT <str>] [-METHOD <str>] [-LOOKUP <str>]
-GRID_IN:<str> Grid
Grid (input)
-GRID_OUT:<str> Changed Grid
Grid (optional output)
-METHOD:<str> Replace Condition
Choice
Available Choices:
[0] Grid value equals low value
[1] Low value < grid value < high value
[2] Low value <= grid value < high value
Default: 0
-LOOKUP:<str> Lookup Table
Static table
3 Fields:
- 1. [8 byte floating point number] Low Value
- 2. [8 byte floating point number] High Value
- 3. [8 byte floating point number] Replace with