SAGA-GIS Module Library Documentation (v2.3.0)

Module Constant Grid

Constant grid creation.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputTarget System (*)Grid (optional input)TEMPLATEuse this grid's system for output grids-
OutputTarget GridGrid (output)OUT_GRID--
OptionsNameTextNAME-Default: Constant Grid
Constant ValueFloating pointCONST-Default: 1.000000
Data TypeChoiceTYPE-Available Choices:
[0] bit
[1] unsigned 1 byte integer
[2] signed 1 byte integer
[3] unsigned 2 byte integer
[4] signed 2 byte integer
[5] unsigned 8 byte integer
[6] signed 8 byte integer
[7] 4 byte floating point number
[8] 8 byte floating point number
Default: 7
Target Grid SystemChoiceDEFINITION-Available Choices:
[0] user defined
[1] grid or grid system
Default: 0
CellsizeFloating pointUSER_SIZE-Minimum: 0.000000
Default: 1.000000
LeftFloating pointUSER_XMIN-Default: 0.000000
RightFloating pointUSER_XMAX-Default: 100.000000
BottomFloating pointUSER_YMIN-Default: 0.000000
TopFloating pointUSER_YMAX-Default: 100.000000
FitChoiceUSER_FITS-Available Choices:
[0] nodes
[1] cells
Default: 0
Grid SystemGrid systemSYSTEM--
(*) optional

Command-line

Usage: saga_cmd grid_tools 4 [-NAME <str>] [-CONST <double>] [-TYPE <str>] [-DEFINITION <str>] [-USER_SIZE <double>] [-USER_XMIN <double>] [-USER_XMAX <double>] [-USER_YMIN <double>] [-USER_YMAX <double>] [-USER_FITS <str>] [-TEMPLATE <str>] [-OUT_GRID <str>]
  -NAME:<str>        	Name
	Text
	Default: Constant Grid
  -CONST:<double>    	Constant Value
	Floating point
	Default: 1.000000
  -TYPE:<str>        	Data Type
	Choice
	Available Choices:
	[0] bit
	[1] unsigned 1 byte integer
	[2] signed 1 byte integer
	[3] unsigned 2 byte integer
	[4] signed 2 byte integer
	[5] unsigned 8 byte integer
	[6] signed 8 byte integer
	[7] 4 byte floating point number
	[8] 8 byte floating point number
	Default: 7
  -DEFINITION:<str>  	Target Grid System
	Choice
	Available Choices:
	[0] user defined
	[1] grid or grid system
	Default: 0
  -USER_SIZE:<double>	Cellsize
	Floating point
	Minimum: 0.000000
	Default: 1.000000
  -USER_XMIN:<double>	Left
	Floating point
	Default: 0.000000
  -USER_XMAX:<double>	Right
	Floating point
	Default: 100.000000
  -USER_YMIN:<double>	Bottom
	Floating point
	Default: 0.000000
  -USER_YMAX:<double>	Top
	Floating point
	Default: 100.000000
  -USER_FITS:<str>   	Fit
	Choice
	Available Choices:
	[0] nodes
	[1] cells
	Default: 0
  -TEMPLATE:<str>    	Target System
	Grid (optional input)
  -OUT_GRID:<str>    	Target Grid
	Grid (output)