SAGA 9.12.3 | Tool Documentation

Focal PCA on a Grid

Author(s) A.Thomas, O.Conrad (c) 2016
Library IDstatistics_grid
Tool ID 15
Version 1.0
Menu Spatial and Geostatistics | Grids | Principal Components

Description

This tool uses the difference in cell values of a center cell and its neighbours (as specified by the kernel) as features for a Principal Component Analysis (PCA). This method has been used by Thomas and Herzfeld (2004) to parameterize the topography for a subsequent regionalization of climate variables with the principal components as predictors in a regression model.

References

Benichou, P., Lebreton, O. (1987): Prise en compte de la topographie pour la cartographie des champs pluviometriques statistiques. Meteorologie 7. Serie, no. 19.

Thomas, A., Herzfeld, U.C. (2004): REGEOTOP: New Climatic Data Fields for East Asia Based on Localized Relief Information and Geostatistical Methods. International Journal of Climatology, 24(10), 1283-1306. DOI:10.1002/joc.1058. Wiley Online Library

Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridgrid, inputGRID--
OutputBase Topographiesgrid list, output, optionalBASE--
Principal Componentsgrid list, outputPCA--
Eigen Vectorstable, output, optionalEIGEN--
OptionsGrid Systemgrid systemPARAMETERS_GRID_SYSTEM--
Number of Componentsinteger numberCOMPONENTSnumber of first components in the output; set to zero to get allMinimum: 1 Default: 7
Output of Base TopographiesbooleanBASE_OUT-Default: 0
Overwrite Previous ResultsbooleanOVERWRITE-Default: 1
Kernel TypechoiceKERNEL_TYPE-Available Choices: [0] Square [1] Circle Default: 1
Kernel Radiusinteger numberKERNEL_RADIUSKernel radius in cells.Minimum: 1 Default: 2
MethodchoiceMETHOD-Available Choices: [0] correlation matrix [1] variance-covariance matrix [2] sums-of-squares-and-cross-products matrix Default: 1

Command Line


Usage: saga_cmd statistics_grid 15 [-GRID ] [-BASE ] [-PCA ] [-EIGEN ] [-COMPONENTS ] [-BASE_OUT ] [-OVERWRITE ] [-KERNEL_TYPE ] [-KERNEL_RADIUS ] [-METHOD ]
  -GRID:            Grid
	grid, input
  -BASE:            Base Topographies
	grid list, output, optional
  -PCA:             Principal Components
	grid list, output
  -EIGEN:           Eigen Vectors
	table, output, optional
  -COMPONENTS:      Number of Components
	integer number
	Minimum: 1
	Default: 7
  -BASE_OUT:        Output of Base Topographies
	boolean
	Default: 0
  -OVERWRITE:       Overwrite Previous Results
	boolean
	Default: 1
  -KERNEL_TYPE:     Kernel Type
	choice
	Available Choices:
	[0] Square
	[1] Circle
	Default: 1
  -KERNEL_RADIUS:   Kernel Radius
	integer number
	Minimum: 1
	Default: 2
  -METHOD:
                         Method
                         	choice
                         	Available Choices:
                         	[0] correlation matrix
                         	[1] variance-covariance matrix
                         	[2] sums-of-squares-and-cross-products matrix
                         	Default: 1