SAGA 9.4.2 | Tool Library Documentation

Constant Grid


Description

Constant grid creation.


Parameters

 NameTypeIdentifierDescriptionConstraints
InputTarget Systemgrid, input, optional, CMDTEMPLATEuse this grid's system for output grids-
OutputTarget Gridgrid, outputOUT_GRID--
OptionsNametextNAME-Default: Constant Grid
Constant Valuefloating point numberCONST-Default: 1.000000
Data Typedata typeTYPE-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 4 byte integer [6] signed 4 byte integer [7] unsigned 8 byte integer [8] signed 8 byte integer [9] 4 byte floating point number [10] 8 byte floating point number Default: 9
Target Grid SystemchoiceDEFINITION-Available Choices: [0] user defined [1] grid or grid system Default: 0
Cellsizefloating point numberUSER_SIZE-Minimum: 0.000000 Default: 1.000000
Westfloating point numberUSER_XMIN-Default: 0.000000
Eastfloating point numberUSER_XMAX-Default: 100.000000
Southfloating point numberUSER_YMIN-Default: 0.000000
Northfloating point numberUSER_YMAX-Default: 100.000000
Columnsinteger numberUSER_COLSNumber of cells in East-West direction.Minimum: 1 Default: 101
Rowsinteger numberUSER_ROWSNumber of cells in North-South direction.Minimum: 1 Default: 101
FitchoiceUSER_FITS-Available Choices: [0] nodes [1] cells Default: 0
Grid Systemgrid systemSYSTEM--

Command Line


Usage: saga_cmd grid_tools 4 [-NAME ] [-CONST ] [-TYPE ] [-DEFINITION ] [-USER_SIZE ] [-USER_XMIN ] [-USER_XMAX ] [-USER_YMIN ] [-USER_YMAX ] [-USER_COLS ] [-USER_ROWS ] [-USER_FITS ] [-TEMPLATE ] [-OUT_GRID ]
  -NAME:        	Name
	text
	Default: Constant Grid
  -CONST:    	Constant Value
	floating point number
	Default: 1.000000
  -TYPE:        	Data Type
	data type
	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 4 byte integer
	[6] signed 4 byte integer
	[7] unsigned 8 byte integer
	[8] signed 8 byte integer
	[9] 4 byte floating point number
	[10] 8 byte floating point number
	Default: 9
  -DEFINITION:  	Target Grid System
	choice
	Available Choices:
	[0] user defined
	[1] grid or grid system
	Default: 0
  -USER_SIZE:	Cellsize
	floating point number
	Minimum: 0.000000
	Default: 1.000000
  -USER_XMIN:	West
	floating point number
	Default: 0.000000
  -USER_XMAX:	East
	floating point number
	Default: 100.000000
  -USER_YMIN:	South
	floating point number
	Default: 0.000000
  -USER_YMAX:	North
	floating point number
	Default: 100.000000
  -USER_COLS:   	Columns
	integer number
	Minimum: 1
	Default: 101
  -USER_ROWS:   	Rows
	integer number
	Minimum: 1
	Default: 101
  -USER_FITS:   	Fit
	choice
	Available Choices:
	[0] nodes
	[1] cells
	Default: 0
  -TEMPLATE:    	Target System
	grid, input, optional, CMD
  -OUT_GRID:    	Target Grid
	grid, output