From 7d46395908af1cbe504516d2854549f7b498ec0f Mon Sep 17 00:00:00 2001 From: Huidae Cho Date: Sun, 15 Oct 2023 10:06:25 -0600 Subject: [PATCH] r.accumulate: Add a link to r.flowaccumulation manual; Change double dir_format to unsigned char --- src/raster/r.accumulate/main.c | 3 ++- src/raster/r.accumulate/r.accumulate.html | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/raster/r.accumulate/main.c b/src/raster/r.accumulate/main.c index f234d99ad8..1d416d6e72 100644 --- a/src/raster/r.accumulate/main.c +++ b/src/raster/r.accumulate/main.c @@ -64,7 +64,8 @@ int main(int argc, char *argv[]) *accum_name, *subaccum_name, *subwshed_name, *stream_name, *outlet_name, *lfp_name; int dir_fd; - double dir_format, thresh; + unsigned char dir_format; + double thresh; struct Range dir_range; CELL dir_min, dir_max; char neg_accum, zero_accum, accum_lfp, conf_stream, recur; diff --git a/src/raster/r.accumulate/r.accumulate.html b/src/raster/r.accumulate/r.accumulate.html index 67e992a7b3..33e91e9c77 100644 --- a/src/raster/r.accumulate/r.accumulate.html +++ b/src/raster/r.accumulate/r.accumulate.html @@ -288,6 +288,7 @@

Longest flow path calculation and subwatershed delineation in one run

SEE ALSO

+r.flowaccumulation, r.watershed, r.stream.extract, r.stream.distance