Skip to content

Commit ca1499a

Browse files
committed
update running-glm instructions for glm-py
1 parent 68189e9 commit ca1499a

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

glmpy-exercise.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Bonus exercise: GLM + Python
1+
# Bonus exercise: GLM + Python {#glmpy-exercise}
22

33
<br>
44

running-glm.Rmd

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -165,23 +165,14 @@ If you are new to Visual Studio Code and the software is being run for the first
165165

166166
### Running GLM in Python with glm-py {-}
167167

168-
glm-py provides a suite of Python tools for running GLM simulations. glm-py can
169-
be installed with `pip` by running:
168+
glm-py is Python API for GLM. You can use it to configure, run, and visualise GLM simulations in just a few lines of code. If you already have a Python installation on your computer, you can install glm-py with `pip`:
170169

171170
```
172171
pip install glm-py
173172
```
174173

175-
If you're running Python from a notebook (e.g., Jupyter, Colab) use:
174+
For users new to Python, it is recommended that you first complete the [Bonus Exercise](#glmpy-exercise) before installing Python and glm-py on your computer. You will use a browser-based Python notebook that won't require any installing any software on your computer.
176175

177-
```
178-
!pip install glm-py
179-
```
180-
181-
Read the [documentation website](https://aquaticecodynamics.github.io/glm-py/)
182-
for information on using glm-py, including a
183-
[tutorial](https://aquaticecodynamics.github.io/glm-py/blog/2024/06/24/modelling-sparkling-lake-with-glm-py/)
184-
on modelling Sparkling Lake.
185176

186177
## Visualising Results {-}
187178

0 commit comments

Comments
 (0)