SAGA-GIS Tool Library Documentation (v8.1.0)

Tool Constant Grid

Constant grid creation.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputTarget System (*)Grid, input, optional, CMDTEMPLATEuse this grid's system for output grids-
OutputTarget GridGrid, outputOUT_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
WestFloating pointUSER_XMIN-Default: 0.000000
EastFloating pointUSER_XMAX-Default: 100.000000
SouthFloating pointUSER_YMIN-Default: 0.000000
NorthFloating pointUSER_YMAX-Default: 100.000000
ColumnsIntegerUSER_COLSNumber of cells in East-West direction.Minimum: 1
Default: 101
RowsIntegerUSER_ROWSNumber of cells in North-South direction.Minimum: 1
Default: 101
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_COLS <num>] [-USER_ROWS <num>] [-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>	West
	Floating point
	Default: 0.000000
  -USER_XMAX:<double>	East
	Floating point
	Default: 100.000000
  -USER_YMIN:<double>	South
	Floating point
	Default: 0.000000
  -USER_YMAX:<double>	North
	Floating point
	Default: 100.000000
  -USER_COLS:<num>   	Columns
	Integer
	Minimum: 1
	Default: 101
  -USER_ROWS:<num>   	Rows
	Integer
	Minimum: 1
	Default: 101
  -USER_FITS:<str>   	Fit
	Choice
	Available Choices:
	[0] nodes
	[1] cells
	Default: 0
  -TEMPLATE:<str>    	Target System
	Grid, input, optional, CMD
  -OUT_GRID:<str>    	Target Grid
	Grid, output