Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r.accumulate: Add a link to r.flowaccumulation manual; Change double dir_format to unsigned char #955

Merged
merged 3 commits into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/raster/r.accumulate/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* AUTHOR(S): Huidae Cho <grass4u gmail.com>
*
* PURPOSE: Calculates weighted flow accumulation, subwatersheds, stream
* networks, and longest flow paths using a flow direction map.
* networks, and longest flow paths using a flow direction map.
*
* COPYRIGHT: (C) 2018, 2020 by Huidae Cho and the GRASS Development Team
*
Expand Down Expand Up @@ -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;
Expand Down
6 changes: 5 additions & 1 deletion src/raster/r.accumulate/r.accumulate.html
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ <h3>Longest flow path calculation and subwatershed delineation in one run</h3>
<h2>SEE ALSO</h2>

<em>
<a href="r.flowaccumulation.html">r.flowaccumulation</a>,
<a href="https://grass.osgeo.org/grass-stable/manuals/r.watershed.html">r.watershed</a>,
<a href="https://grass.osgeo.org/grass-stable/manuals/r.stream.extract.html">r.stream.extract</a>,
<a href="r.stream.distance.html">r.stream.distance</a>
Expand All @@ -298,7 +299,10 @@ <h2>SEE ALSO</h2>

<h2>REFERENCES</h2>

Huidae Cho, September 2020. <em>A Recursive Algorithm for Calculating the Longest Flow Path and Its Iterative Implementation.</em> Environmental Modelling &amp; Software 131, 104774. <a href="https://doi.org/10.1016/j.envsoft.2020.104774">doi:10.1016/j.envsoft.2020.104774</a>.
Huidae Cho, September 2020. <em>A Recursive Algorithm for Calculating the
Longest Flow Path and Its Iterative Implementation.</em> Environmental
Modelling &amp; Software 131, 104774.
<a href="https://doi.org/10.1016/j.envsoft.2020.104774">doi:10.1016/j.envsoft.2020.104774</a>.

<h2>AUTHOR</h2>

Expand Down
Loading