SAGA-GIS Tool Library Documentation (v9.2.0)

Tool Wa-Tor

Wa-Tor - an ecological simulation of predator-prey populations - is based upon A. K. Dewdney's 'Computer Recreations' article in the December 1984 issue of Scientific American.


References


Parameters

 NameTypeIdentifierDescriptionConstraints
InputTarget System (*)grid, input, optional, CMDTARGET_TEMPLATEuse this grid's system for output grids-
OutputWa-Torgrid, outputGRID--
Cyclestable, outputTABLE--
OptionsTarget Grid SystemchoiceTARGET_DEFINITION-Available Choices:
[0] user defined
[1] grid or grid system
Default: 0
Cellsizefloating point numberTARGET_USER_SIZE-Minimum: 0.000000
Default: 1.000000
Westfloating point numberTARGET_USER_XMIN-Default: 0.000000
Eastfloating point numberTARGET_USER_XMAX-Default: 100.000000
Southfloating point numberTARGET_USER_YMIN-Default: 0.000000
Northfloating point numberTARGET_USER_YMAX-Default: 100.000000
Columnsinteger numberTARGET_USER_COLSNumber of cells in East-West direction.Minimum: 1
Default: 101
Rowsinteger numberTARGET_USER_ROWSNumber of cells in North-South direction.Minimum: 1
Default: 101
FitchoiceTARGET_USER_FITS-Available Choices:
[0] nodes
[1] cells
Default: 0
Grid Systemgrid systemTARGET_SYSTEM--
RefreshbooleanREFRESH-Default: 1
Initial Number of Fishes [%]floating point numberINIT_FISH-Minimum: 0.000000
Maximum: 100.000000
Default: 30.000000
Initial Number of Sharks [%]floating point numberINIT_SHARK-Minimum: 0.000000
Maximum: 100.000000
Default: 7.500000
Birth Rate of Fishesinteger numberFISH_BIRTH-Minimum: 0
Default: 3
Birth Rate of Sharksinteger numberSHARK_BIRTH-Minimum: 0
Default: 12
Max. Starvation Time for Sharksinteger numberSHARK_STARVE-Minimum: 0
Default: 4
(*) optional

Command-line

Usage: saga_cmd sim_cellular_automata 1 [-TARGET_DEFINITION <str>] [-TARGET_USER_SIZE <double>] [-TARGET_USER_XMIN <double>] [-TARGET_USER_XMAX <double>] [-TARGET_USER_YMIN <double>] [-TARGET_USER_YMAX <double>] [-TARGET_USER_COLS <num>] [-TARGET_USER_ROWS <num>] [-TARGET_USER_FITS <str>] [-TARGET_TEMPLATE <str>] [-GRID <str>] [-REFRESH <str>] [-INIT_FISH <double>] [-INIT_SHARK <double>] [-TABLE <str>] [-FISH_BIRTH <num>] [-SHARK_BIRTH <num>] [-SHARK_STARVE <num>]
  -TARGET_DEFINITION:<str>  	Target Grid System
	choice
	Available Choices:
	[0] user defined
	[1] grid or grid system
	Default: 0
  -TARGET_USER_SIZE:<double>	Cellsize
	floating point number
	Minimum: 0.000000
	Default: 1.000000
  -TARGET_USER_XMIN:<double>	West
	floating point number
	Default: 0.000000
  -TARGET_USER_XMAX:<double>	East
	floating point number
	Default: 100.000000
  -TARGET_USER_YMIN:<double>	South
	floating point number
	Default: 0.000000
  -TARGET_USER_YMAX:<double>	North
	floating point number
	Default: 100.000000
  -TARGET_USER_COLS:<num>   	Columns
	integer number
	Minimum: 1
	Default: 101
  -TARGET_USER_ROWS:<num>   	Rows
	integer number
	Minimum: 1
	Default: 101
  -TARGET_USER_FITS:<str>   	Fit
	choice
	Available Choices:
	[0] nodes
	[1] cells
	Default: 0
  -TARGET_TEMPLATE:<str>    	Target System
	grid, input, optional, CMD
  -GRID:<str>               	Wa-Tor
	grid, output
  -REFRESH:<str>            	Refresh
	boolean
	Default: 1
  -INIT_FISH:<double>       	Initial Number of Fishes [%]
	floating point number
	Minimum: 0.000000
	Maximum: 100.000000
	Default: 30.000000
  -INIT_SHARK:<double>      	Initial Number of Sharks [%]
	floating point number
	Minimum: 0.000000
	Maximum: 100.000000
	Default: 7.500000
  -TABLE:<str>              	Cycles
	table, output
  -FISH_BIRTH:<num>         	Birth Rate of Fishes
	integer number
	Minimum: 0
	Default: 3
  -SHARK_BIRTH:<num>        	Birth Rate of Sharks
	integer number
	Minimum: 0
	Default: 12
  -SHARK_STARVE:<num>       	Max. Starvation Time for Sharks
	integer number
	Minimum: 0
	Default: 4