Skip to content

Commit 9f558af

Browse files
committed
differences for PR #171
1 parent 692a3dc commit 9f558af

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

md5sum.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
"episodes/10-zonal-statistics.md" "90edeb980d0bc716becda6a750ccb2df" "site/built/10-zonal-statistics.md" "2023-08-14"
1717
"episodes/11-parallel-raster-computations.md" "abf3942aef90750228d659914a8fec70" "site/built/11-parallel-raster-computations.md" "2023-08-14"
1818
"instructors/instructor-notes.md" "1b1cbfc8fff44565421842208ccdab4f" "site/built/instructor-notes.md" "2023-08-14"
19-
"learners/setup.md" "c8efe7f5a88db9f82d4c43820e8897ce" "site/built/setup.md" "2023-10-03"
19+
"learners/setup.md" "979ce08e5ed2c1d6ec5dded4e619e470" "site/built/setup.md" "2024-04-30"
2020
"profiles/learner-profiles.md" "ab92fe3511bf951857b47c0ecbf2ab79" "site/built/learner-profiles.md" "2023-08-14"

setup.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,16 @@ If you run into any difficulties, please request help before the workshop begins
9393

9494
:::::::::::::::::::::::::
9595

96+
### Setting up the workshop environment from Anaconda
97+
After installing Anaconda follow the steps below:
98+
1. Open [https://raw.githubusercontent.com/carpentries-incubator/geospatial-python/main/files/environment.yaml][https://raw.githubusercontent.com/carpentries-incubator/geospatial-python/main/files/environment.yaml] in your web browser, right-click on the page, and select Save As... Keep the default name and click Save.
99+
2. Open Anaconda-Navigator and click the **Environments** tab on the left of the GUI.
100+
3. Then while on the **Environments** tab, from the bottom of the GUI click **Import**.
101+
4. From the popup that appears, click the folder icon next to the local drive text field and choose the "environment.yaml" file downloaded earlier.
102+
5. Accept the default name, then click the ""Import"" button from the popup and wait while the environment is created.
103+
6. Now click the newly created **geospatial** environement. A play icon should appear next to it once activated.
96104

97-
### Setting up the workshop environment
105+
### Setting up the workshop environment using conda
98106

99107
If Anaconda was properly installed, you should have access to the `conda`
100108
command in your terminal (use the **Anaconda prompt** on **Windows**).
@@ -161,7 +169,17 @@ environment with `conda activate geospatial` to use the Python libraries
161169
required for the lesson and to start JupyterLab, which is also installed in the
162170
`geospatial` environment.
163171

164-
### Starting JupyterLab
172+
### Starting JupyterLab from Anaconda-Navigator
173+
With the **geospatial** virtual environment selected from the **Environements** tab:
174+
Click the **Home** tab and then click the Launch button beneath JupyterLab.
175+
176+
Once you have launched JupyterLab, create a new Python 3 notebook, type the following code snippet in a cell and press the "Play" button:
177+
178+
```python
179+
import rioxarray
180+
```
181+
182+
### Starting JupyterLab from the Command Line
165183

166184
In order to follow the lesson, you should launch JupyterLab. After activating the
167185
geospatial conda environment, enter the following command in your terminal (use the **Anaconda prompt** on **Windows**):

0 commit comments

Comments
 (0)