Skip to content

Commit 36d4da1

Browse files
authored
New tutorial on parallelization and SIMWE (#76)
This is advanced tutorial showing parallelization of SIMWE by splitting computation by subwatersheds.
1 parent 17cc372 commit 36d4da1

12 files changed

+822
-5
lines changed

content/tutorials/get_started/fast_track_grass_and_python.qmd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ i.e., there's an existing GRASS project.
101101
Be sure you also have the following Python libraries installed in your
102102
environment: `folium` or `ipyleaflet`, `numpy`, `seaborn`, `matplotlib`, `pandas`.
103103

104-
The first thing we need to do is to
105-
*import GRASS python packages*. In order to do so, we need to
106-
*add GRASS python package to PATH*. Let's see how we do that.
104+
The first thing we need to do (for some environments) is to
105+
*import GRASS Python packages*. In order to do so, we need to
106+
*add GRASS Python package to path*. Let's see how we do that.
107107

108108
```{python}
109109
# import standard Python packages
@@ -114,14 +114,14 @@ from pathlib import Path
114114
```
115115

116116
```{python}
117-
# check where GRASS python packages are and add them to PATH
117+
# check where GRASS Python packages are and add them to path
118118
sys.path.append(
119119
subprocess.check_output(["grass", "--config", "python_path"], text=True).strip()
120120
)
121121
```
122122

123123
```{python}
124-
# import GRASS python packages
124+
# import GRASS Python packages
125125
import grass.script as gs
126126
import grass.jupyter as gj
127127
```
15.7 KB
Loading
31.1 KB
Loading
34.8 KB
Loading
9.31 KB
Loading
15.8 KB
Loading
32.2 KB
Loading
14.2 KB
Loading
14.5 KB
Loading
12.2 KB
Loading

0 commit comments

Comments
 (0)