Change Grid Values
- Author: O.Conrad (c) 2001
- Menu: Grid | Values
Description
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. 
Parameters
|  | Name | Type | Identifier | Description | Constraints | 
|---|
| Input | Grid | grid, input | INPUT | - | - | 
| Classified Grid | grid, input | GRID | Synchronize with look-up table classification of another grid (gui only). | - | 
| Output | Changed Grid | grid, output, optional | OUTPUT | - | - | 
| Options | Grid System | grid system | PARAMETERS_GRID_SYSTEM | - | - | 
| Replace Condition | choice | METHOD | - | Available Choices:
[0] identity
[1] range
[2] synchronize look-up table classification
Default: 0 | 
| Lookup Table | static table | IDENTITY | - | 2 Fields:
- 1. [8 byte floating point number] New Value
- 2. [8 byte floating point number] Value | 
| Lookup Table | static table | RANGE | - | 3 Fields:
- 1. [8 byte floating point number] New Value
- 2. [8 byte floating point number] Minimum
- 3. [8 byte floating point number] Maximum | 
Command Line
Usage: saga_cmd grid_tools 12 [-INPUT ] [-GRID ] [-OUTPUT ] [-METHOD ] [-IDENTITY ] [-RANGE ]
  -INPUT:   	Grid
	grid, input
  -GRID:    	Classified Grid
	grid, input
  -OUTPUT:  	Changed Grid
	grid, output, optional
  -METHOD:  	Replace Condition
	choice
	Available Choices:
	[0] identity
	[1] range
	[2] synchronize look-up table classification
	Default: 0
  -IDENTITY:	Lookup Table
	static table
	2 Fields:
	- 1. [8 byte floating point number] New Value
	- 2. [8 byte floating point number] Value
	
  -RANGE:   	Lookup Table
	static table
	3 Fields:
	- 1. [8 byte floating point number] New Value
	- 2. [8 byte floating point number] Minimum
	- 3. [8 byte floating point number] Maximum