SAGA 9.6.1 | Tool Library Documentation

Change 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

 NameTypeIdentifierDescriptionConstraints
InputGridgrid, inputINPUT--
Classified Gridgrid, inputGRIDSynchronize with look-up table classification of another grid (gui only).-
OutputChanged Gridgrid, output, optionalOUTPUT--
OptionsGrid Systemgrid systemPARAMETERS_GRID_SYSTEM--
Replace ConditionchoiceMETHOD-Available Choices: [0] identity [1] range [2] synchronize look-up table classification Default: 0
Lookup Tablestatic tableIDENTITY-2 Fields: - 1. [8 byte floating point number] New Value - 2. [8 byte floating point number] Value
Lookup Tablestatic tableRANGE-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