Skip to content

Commit

Permalink
make some tasks optional
Browse files Browse the repository at this point in the history
  • Loading branch information
hmitaso committed Nov 19, 2024
1 parent 7a0bebb commit b59b647
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions grass/hydrology_erosion.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ <h3>Start GRASS GIS</h3>
# can you comment on where is the highest topographic potential
# for erosion predicted by the 2d and 3d models? -->

<p>
Equations and units used in this assignment are explained in this
<a href="https://ncsu-geoforall-lab.github.io/geospatial-modeling-course/resources/erosion_notes.pdf">
Brief theoretical background for GIS-based erosion modeling with RUSLE3D and USPED</a>
Expand Down Expand Up @@ -133,7 +134,9 @@ <h4>Compute soil detachment for spatially variable land cover</h4>
r.support map=soillossbare_1m units="ton/(acre.year)"
r.support map=soillossgrow_1m units="ton/(acre.year)"
</code></pre>
Remove previous layers and display the new ones:

Remove previous layers, display the soil loss maps for two different seasons
and compute the summary statistics for erosion rates:
<pre><code>
d.erase
d.rast soillossbare_1m
Expand All @@ -146,7 +149,7 @@ <h4>Compute soil detachment for spatially variable land cover</h4>
r.univar soillossgrow_1m
</code></pre>

<h3>Compute net erosion/deposition maps (using USPED)</h3>
<h3>Compute net erosion/deposition maps using USPED model</h3>

Compute net erosion/deposition maps as divergence of sediment flow (USPED).
<p>
Expand All @@ -167,7 +170,8 @@ <h3>Compute net erosion/deposition maps (using USPED)</h3>
instead of elevation raster as input and partial derivatives dx and dy as output
of the r.slope.aspect tool.
The change of sediment flow in the direction of flow (aspect) is then computed as
divergence. Display the map of erosion and depsotion pattern using custom color ramp<br>
divergence resulting in net erosion and deposition map erdep.
Display the map of erosion and deposition pattern using custom color ramp.<br>

<pre><code>
r.slope.aspect elevation=qsx dx=qsx_dx
Expand All @@ -191,6 +195,10 @@ <h4>Compute summary statistics</h4>
r.recode erdep output=erdep_class rules=erdep_class.txt
r.category erdep_class rules=erdep_label.txt sep=:
r.report erdep_class unit=p,h,a
r.colors erdep_class color=differences
d.rast erdep_class
d.legend -c erdep_class at=60,80,2,6
d.out.file erdep_classes
</code></pre>

<p>
Expand All @@ -215,16 +223,15 @@ <h4>Compute summary statistics</h4>
<span class="question">Comment on advantages, disadvantages and risks of
classifying erosion/deposition data into categories.</span>

<p>
Compute univariate statistics:
<h3>Optional</h3>

<h4>Estimate amount of excess sediment transported out of the studied site.</h4>
Compute univariate statistics for the erdep map and extract the line with sum:

<pre><code>
r.univar erdep
</code></pre>

<p>
Look for line with sum:

<pre>
sum: -2374.473814
</pre>
Expand All @@ -235,8 +242,6 @@ <h4>Compute summary statistics</h4>
to get total ton per year transported from the watershed.
You can use the Python shell in the <em>Python</em> tab do the division.

<h3>Optional</h3>

<h4>Compute new DEM with erosion carved-in</h4>

<pre><code>
Expand Down

0 comments on commit b59b647

Please sign in to comment.