Skip to content

Commit

Permalink
r.flowaccumulation: Rename flowaccumulation_diff to flow_accum_diff i…
Browse files Browse the repository at this point in the history
…n the manual (#958)
  • Loading branch information
HuidaeCho authored Oct 18, 2023
1 parent 59a9207 commit 14f89cd
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/raster/r.flowaccumulation/r.flowaccumulation.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,17 @@ <h2>EXAMPLES</h2>
r.colors map=flow_accum_new raster=flow_accum

# check difference between flow_accum and flow_accum_new
r.mapcalc expression="flowaccumulation_diff=if(flow_accum-flow_accum_new, flow_accum-flow_accum_new, null())"
r.mapcalc expression="flow_accum_diff=if(flow_accum-flow_accum_new, flow_accum-flow_accum_new, null())"
</pre></div>

<img src="r_flowaccumulation_nc_example.png">

<p>For some reason, there are slight differences between the two output maps.
The yellow and purple cells show the difference raster map
(<i>flowaccumulation_diff</i>). The red arrows and numbers represent drainage
directions (<i>drain_directions</i>) and flow accumulation by
<em>r.watershed</em> (<i>flow_accum</i>), respectively. Note that some cells
close to headwater cells are assigned 1 even though they are located downstream
of other cells.
<p>There are slight differences between the two output maps. The yellow and
purple cells show the difference raster map (<i>flow_accum_diff</i>). The red
arrows and numbers represent drainage directions (<i>drain_directions</i>) and
flow accumulation by <em>r.watershed</em> (<i>flow_accum</i>), respectively.
Note that some cells close to headwater cells are assigned 1 even though they
are located downstream of other cells.

<p><img src="r_flowaccumulation_r_watershed_nc_example.png">

Expand Down

0 comments on commit 14f89cd

Please sign in to comment.