Note: (i) means input; (o) means output; (o/i) means input or output
The -i flag indicates that input data are given for (o/i). Without this flag, all inputs (i) and intermediate outputs (o/i) should be given. For example, [belevation] map will be created from [elevation] and [basin] in every run. However, given the same [elevation] and [basin], [belevation] output will be the same all the time, so r.topmodel can directly take [belevation] as an input with this flag to save time.
r.fill.dir input=elevation elev=depressionless dir=direction type=grass
r.mapcalc "belevation = if(basin == 0 || isnull(basin), null(), elevation)"
r.topidx input=elevation output=topidx
GRASS port by Huidae Cho
Hydro Laboratory, Kyungpook National University, South Korea
Last changed: $Date$