Show/Hide Toolbars

CatchmentSIM Help

 

Zonal Statistics

 

The following variables relate to the Zonal Statistic variable category.  

 

Before accessing these variables the RunZonalStatistics procedure must be triggered.

 

Project Variable
(%ZonalStatistics.)

Description

Output Type

Units

NumberOfZones

Number of Grid Layers

integer

 

Zone[i].Name

The name or number of the zone (the distinct categories in the Zonal Grid.

text

 

Zone[i].Average

The Average value of the Statistics Grid for this Zone.

decimal

 

Zone[i].Min

The Minimum value of the Statistics Grid for this Zone.

decimal

 

Zone[i].Max

The Maximum value of the Statistics Grid for this Zone.

decimal

 

Zone[i].Count

The Cell Count of the Statistics Grid for this Zone.

integer

 

 

 

Categorised Zonal Statistics

 

The following variables relate to the Categorised Zonal Statistic variable category.  

 

Before accessing these variables the RunCategorisedZonalStatistics procedure must be triggered.

 

Project Variable
(%CatZonalStatistics.)

Description

Output Type

Units

NumberOfCategories

Number of Categories generated (This is the limit of the [i] variable)

integer

 

NumberOfGridsUsed

Number of Grids selected in analysis (This is the limit of the [j] variable)

integer

 

Cat[i].GridValuesCSV

a text value giving the grid values for each grid in the category [i].

text

 

Cat[i].CellCount

The number of cells in the category [i].

integer

 

Cat[i].Grid[j].GridName

The name of the grid[j] for category [i] (will be the same for all categories)

text

 

Cat[i].Grid[j].GridValue

The value of the grid [j] for the category[i].

text