SAGA-GIS Module Library Documentation (v2.3.0)

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.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridGrid (input)GRID_IN--
OutputChanged Grid (*)Grid (optional output)GRID_OUT--
OptionsGrid systemGrid systemPARAMETERS_GRID_SYSTEMGrid system-
Replace ConditionChoiceMETHOD-Available Choices:
[0] Grid value equals low value
[1] Low value < grid value < high value
[2] Low value <= grid value < high value
Default: 0
(*) 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