r.neighbors
How GRASS runs Focal Statistics: r.neighbors.
| Engine | GRASS |
|---|---|
| Tool name | r.neighbors |
| Interface | cli |
| Implements | Focal Statistics |
| Documentation | Not stated |
| Effects | modifies input: no, network: no |
| Notes | Not stated |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
input | string | yes | Not stated | Not stated | cell name |
selection | string | no | Not stated | Not stated | cell name |
output | string | yes | Not stated | Not stated | output cell; multiple values |
size | integer | no | 3 | Not stated | Not stated |
method | string | no | average | average, median, mode, minimum, maximum, range, stddev, sum, count, variance, diversity, interspersion, quart1, quart3, perc90, quantile | multiple values |
weighting_function | string | no | none | none, gaussian, exponential, file | Not stated |
weighting_factor | float | no | Not stated | Not stated | Not stated |
weight | string | no | Not stated | Not stated | file name |
quantile | float | no | Not stated | 0.0-1.0 | multiple values |
title | string | no | Not stated | Not stated | Not stated |
nprocs | integer | no | 0 | Not stated | Not stated |
memory | integer | no | 300 | Not stated | Not stated |
flag_a | boolean | no | Not stated | Not stated | flag -a |
flag_c | boolean | no | Not stated | Not stated | flag -c |
flag_overwrite | boolean | no | Not stated | Not stated | flag --overwrite |
How it maps to the operation
| Operation parameter | Parameter here | Note |
|---|---|---|
raster | input | Not stated |
output | output | Not stated |
statistic | method | mean = average; sum = sum; min = minimum; max = maximum; median = median; std = stddev |
size | size | Not stated |
Differences from the operation
- The c flag uses a circular window.
Harvested by the grass harvester from engine version
8.5.0. Names can change when an engine is harvested again.