calculate_mean_value_in_neighbouring_cells
This is an old revision of the document!
Mean of neighboring cells
This script calculates the mean of a continuous variable (e.g. % forest cover) in a specified window around each cell. It runs before the first iteration (i.e. to prepare the input data).
The script is used in the Habitat suitability example, to calculate the mean forest cover in a 500m-window around each cell.
Download the habitat suitability network and spatial data to run this script in gBay.
Input:
- continuous raster (1 band) [Forest_cover]
- window size (distance) [500 m]
Output:
- hard evidence on a continuous node [Forest_cover_neighb]
calculate_mean_value_in_neighbouring_cells.1551112401.txt.gz · Last modified: 2023/04/21 15:30 (external edit)