Skip to content

Commit ab1110a

Browse files
committed
headers
1 parent c1bb362 commit ab1110a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/tutorials/numpy_integration/grass_numpy_integration.qmd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ execute:
2121
jupyter: python3
2222
---
2323

24-
# Using GRASS, NumPy, and Landlab for Scientific Modeling
24+
# Introduction
2525

2626
This short tutorial shows how to integrate NumPy arrays with GRASS tools to create a smooth workflow for scientific modeling and analysis in Python.
2727

@@ -41,7 +41,7 @@ and [Get started with GRASS in Google Colab](../get_started/grass_gis_in_google_
4141

4242
![](logos.webp)
4343

44-
## Generating a fractal surface in GRASS
44+
# Generating a fractal surface in GRASS
4545

4646
First we will import GRASS packages:
4747

@@ -87,7 +87,7 @@ resolution = 10
8787
tools.g_region(s=0, w=0, n=rows * resolution, e=cols * resolution, res=resolution)
8888
```
8989

90-
### Creating a fractal surface as a NumPy array
90+
## Creating a fractal surface as a NumPy array
9191

9292
We will create a simple fractal surface with [r.surf.fractal](https://grass.osgeo.org/grass-stable/manuals/r.surf.fractal.html).
9393

@@ -149,7 +149,7 @@ plt.show()
149149

150150
![Modified fractal surface](fractal_numpy_abs.webp)
151151

152-
## From GRASS to Landlab
152+
# From GRASS to Landlab
153153

154154
Now, let's use Landlab's modeling capabilities to burn in an initial drainage network using the
155155
Landlab's [Fastscape Eroder](https://landlab.readthedocs.io/en/latest/generated/api/landlab.components.stream_power.fastscape_stream_power.html).
@@ -192,7 +192,7 @@ plt.show()
192192

193193
![Eroded fractal surface with Landlab](fractal_landlab.webp)
194194

195-
## From Landlab to GRASS
195+
# From Landlab to GRASS
196196

197197
Now we will bring the eroded topography back to GRASS for additional hydrology modeling.
198198
We will derive streams using the [r.watershed](https://grass.osgeo.org/grass-stable/manuals/r.watershed.html) and [r.stream.extract](https://grass.osgeo.org/grass-stable/manuals/r.stream.extract.html) tools.

0 commit comments

Comments
 (0)