Skip to content

tutorial: soil informed overland flow - #147

Open
cwhite911 wants to merge 42 commits into
OSGeo:mainfrom
cwhite911:rossetta-simwe-tutorial
Open

cwhite911 wants to merge 42 commits into
OSGeo:mainfrom
cwhite911:rossetta-simwe-tutorial

Conversation

@cwhite911

Copy link
Copy Markdown
Contributor

Tutorial demonstrating how to run r.sim.water using soil data derived from SSURGO and Rosetta.

@cwhite911 cwhite911 self-assigned this Sep 30, 2026
@cwhite911 cwhite911 added the new tutorial Adding a new tutorial label Sep 30, 2026
Comment thread content/tutorials/soil_hydrology/soil_informed_overland_flow.qmd Outdated
Comment thread content/tutorials/soil_hydrology/soil_informed_overland_flow.qmd Outdated
Comment thread content/tutorials/soil_hydrology/soil_informed_overland_flow.qmd Outdated
Comment thread content/tutorials/soil_hydrology/soil_informed_overland_flow.qmd
Comment thread content/tutorials/soil_hydrology/soil_informed_overland_flow.qmd Outdated
Comment thread content/tutorials/soil_hydrology/soil_informed_overland_flow.qmd Outdated
Comment thread content/tutorials/soil_hydrology/soil_informed_overland_flow.qmd Outdated
Comment thread content/tutorials/soil_hydrology/soil_informed_overland_flow.qmd Outdated
Comment thread content/tutorials/soil_hydrology/soil_informed_overland_flow.qmd Outdated
Comment thread content/tutorials/soil_hydrology/soil_informed_overland_flow.qmd Outdated
@cwhite911
cwhite911 marked this pull request as ready for review October 2, 2026 01:59
Comment thread content/tutorials/soil_hydrology/images/depth_noinfil.webp
@cwhite911
cwhite911 requested a review from petrasovaa October 8, 2026 02:20

[r.sim.water](https://grass.osgeo.org/grass-stable/manuals/r.sim.water.html)
accepts infiltration two ways: by setting the rainfall excess rate, where
**rainfall excess** is $\text{rainfall} - \text{infiltration}$, or by setting the

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I downloaded the artifact, the math rendering works, but here it looks confusing with the different font.

conductivity (Ksat) with a pedotransfer function (ROSETTA). To do this we will
follow the steps outlined below.

1. Import USDA SSURGO soil texture with

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and ksat

We will install the two addons used in this tutorial.

```{python}
tools = Tools()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can't install without active session.

mapset_path = grassdata / "secref_northcarolina_usa_epsg6542" / "work"
gs.create_mapset(mapset_path)
session = gj.init(mapset_path)
tools = Tools(session=session)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you want simpler:

Suggested change
tools = Tools(session=session)
tools = Tools()

texture already averaged over the top 25.4 cm, so the estimate inherits that
approximation.

## A map unit table

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be clarified what is in the table and maybe why are we showing it.


![](images/ksat_rosetta_vs_ssurgo.webp)

Every map unit sits above the 1:1 line. The two map units covering 85% of the

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude really likes "sits above"

it by a factor of 260. The magnitude of Ksat matters more than its spatial
pattern, and `r.univar` will tell you that before you map it.

Next steps:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what next steps mean in the context of this tutorial.

Comment thread content/tutorials/soil_hydrology/references.bib
Comment thread content/tutorials/soil_hydrology/references.bib

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new tutorial Adding a new tutorial

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants