SAGA-GIS Tool Library Documentation (v9.2.0)

Tool Grid Histogram

This tool creates a histogram for the supplied grid using the specified classification.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridgrid, inputGRID--
OutputHistogramtable, outputHISTOGRAM--
OptionsGrid Systemgrid systemPARAMETERS_GRID_SYSTEM--
ClassificationchoiceCLASSIFY-Available Choices:
[0] value range and number of classes
[1] lookup table
Default: 0
Number of Classesinteger numberBINS-Minimum: 1
Default: 64
Value Rangevalue rangeRANGE--
Lookup Tablestatic tableLUT-2 Fields:
- 1. [8 byte floating point number] Minimum
- 2. [8 byte floating point number] Maximum
Report Unclassified CellsbooleanUNCLASSED-Default: 0
ParallelizedbooleanPARALLEL-Default: 1
Maximum Samplesfloating point numberMAXSAMPLESMaximum number of samples [percent].Minimum: 0.000000
Maximum: 100.000000
Default: 100.000000

Command-line

Usage: saga_cmd statistics_grid 21 [-GRID <str>] [-HISTOGRAM <str>] [-CLASSIFY <str>] [-BINS <num>] [-RANGE_MIN <double>] [-RANGE_MAX <double>] [-LUT <str>] [-UNCLASSED <str>] [-PARALLEL <str>] [-MAXSAMPLES <double>]
  -GRID:<str>         	Grid
	grid, input
  -HISTOGRAM:<str>    	Histogram
	table, output
  -CLASSIFY:<str>     	Classification
	choice
	Available Choices:
	[0] value range and number of classes
	[1] lookup table
	Default: 0
  -BINS:<num>         	Number of Classes
	integer number
	Minimum: 1
	Default: 64
  -RANGE_MIN:<double> 	Value Range
	value range
  -RANGE_MAX:<double> 	Value Range
	value range
  -LUT:<str>          	Lookup Table
	static table
	2 Fields:
	- 1. [8 byte floating point number] Minimum
	- 2. [8 byte floating point number] Maximum
	
  -UNCLASSED:<str>    	Report Unclassified Cells
	boolean
	Default: 0
  -PARALLEL:<str>     	Parallelized
	boolean
	Default: 1
  -MAXSAMPLES:<double>	Maximum Samples
	floating point number
	Minimum: 0.000000
	Maximum: 100.000000
	Default: 100.000000