diff --git a/src/raster/r.watersheds/main.c b/src/raster/r.watersheds/main.c index 20960da6eb..a8a129fa69 100644 --- a/src/raster/r.watersheds/main.c +++ b/src/raster/r.watersheds/main.c @@ -61,7 +61,7 @@ int main(int argc, char *argv[]) G_add_keyword(_("watershed delineation")); module->description = _("Delineates a large number of watersheds using the " "Memory-Efficient Watershed Delineation (MESHED) " - "OpenMP parallel algorithm by Cho (2024)."); + "OpenMP parallel algorithm by Cho (2025)."); opt.dir = G_define_standard_option(G_OPT_R_INPUT); opt.dir->key = "direction"; diff --git a/src/raster/r.watersheds/r.watersheds.html b/src/raster/r.watersheds/r.watersheds.html index 081cf34b43..062310a4e9 100644 --- a/src/raster/r.watersheds/r.watersheds.html +++ b/src/raster/r.watersheds/r.watersheds.html @@ -36,7 +36,7 @@
Calculate flow accumulation using r.watershed and delineate all watersheds from draining cells using r.watersheds: @@ -64,7 +64,23 @@
Perform the same analysis for 10,938 bridges in North Carolina: +
+# set computational region +g.region -ap raster=elev_state_500m + +# calculate drainage directions using r.watershed +r.watershed -s elevation=elev_state_500m drainage=drain_state + +# delineate all watersheds using r.watersheds +r.watersheds dir=drain_state outlets=bridges output=bridge_wsheds nproc=$(nproc) +