SAGA-GIS Module Library Documentation (v2.2.2)

Module Resampling

Resampling of grids.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridsGrid list (input)INPUT--
Target System (*)Grid (optional input)TARGET_TEMPLATEuse this grid's system for output grids-
OutputOutput (*)Grid list (optional output)OUTPUT--
OptionsPreserve Data TypeBooleanKEEP_TYPE-Default: 0
Upscaling MethodChoiceSCALE_UP-Available Choices:
[0] Nearest Neighbor
[1] Bilinear Interpolation
[2] Inverse Distance Interpolation
[3] Bicubic Spline Interpolation
[4] B-Spline Interpolation
[5] Mean Value
[6] Mean Value (cell area weighted)
[7] Minimum Value
[8] Maximum Value
[9] Majority
Default: 6
Downscaling MethodChoiceSCALE_DOWN-Available Choices:
[0] Nearest Neighbor
[1] Bilinear Interpolation
[2] Inverse Distance Interpolation
[3] Bicubic Spline Interpolation
[4] B-Spline Interpolation
Default: 4
Target Grid SystemChoiceTARGET_DEFINITION-Available Choices:
[0] user defined
[1] grid or grid system
Default: 0
LeftFloating pointTARGET_USER_XMIN-Default: 0.000000
RightFloating pointTARGET_USER_XMAX-Default: 100.000000
BottomFloating pointTARGET_USER_YMIN-Default: 0.000000
TopFloating pointTARGET_USER_YMAX-Default: 100.000000
CellsizeFloating pointTARGET_USER_SIZE-Minimum: 0.000000
Default: 1.000000
FitChoiceTARGET_USER_FITS-Available Choices:
[0] nodes
[1] cells
Default: 0
(*) optional

Command-line

Usage: saga_cmd grid_tools 0 [-INPUT <str>] [-OUTPUT <str>] [-KEEP_TYPE <str>] [-SCALE_UP <str>] [-SCALE_DOWN <str>] [-TARGET_DEFINITION <str>] [-TARGET_USER_XMIN <str>] [-TARGET_USER_XMAX <str>] [-TARGET_USER_YMIN <str>] [-TARGET_USER_YMAX <str>] [-TARGET_USER_SIZE <str>] [-TARGET_USER_FITS <str>] [-TARGET_TEMPLATE <str>]
  -INPUT:<str>            	Grids
	Grid list (input)
  -OUTPUT:<str>           	Output
	Grid list (optional output)
  -KEEP_TYPE:<str>        	Preserve Data Type
	Boolean
	Default: 0
  -SCALE_UP:<str>         	Upscaling Method
	Choice
	Available Choices:
	[0] Nearest Neighbor
	[1] Bilinear Interpolation
	[2] Inverse Distance Interpolation
	[3] Bicubic Spline Interpolation
	[4] B-Spline Interpolation
	[5] Mean Value
	[6] Mean Value (cell area weighted)
	[7] Minimum Value
	[8] Maximum Value
	[9] Majority
	Default: 6
  -SCALE_DOWN:<str>       	Downscaling Method
	Choice
	Available Choices:
	[0] Nearest Neighbor
	[1] Bilinear Interpolation
	[2] Inverse Distance Interpolation
	[3] Bicubic Spline Interpolation
	[4] B-Spline Interpolation
	Default: 4
  -TARGET_DEFINITION:<str>	Target Grid System
	Choice
	Available Choices:
	[0] user defined
	[1] grid or grid system
	Default: 0
  -TARGET_USER_XMIN:<str> 	Left
	Floating point
	Default: 0.000000
  -TARGET_USER_XMAX:<str> 	Right
	Floating point
	Default: 100.000000
  -TARGET_USER_YMIN:<str> 	Bottom
	Floating point
	Default: 0.000000
  -TARGET_USER_YMAX:<str> 	Top
	Floating point
	Default: 100.000000
  -TARGET_USER_SIZE:<str> 	Cellsize
	Floating point
	Minimum: 0.000000
	Default: 1.000000
  -TARGET_USER_FITS:<str> 	Fit
	Choice
	Available Choices:
	[0] nodes
	[1] cells
	Default: 0
  -TARGET_TEMPLATE:<str>  	Target System
	Grid (optional input)