2. Tutorial

Run online

You can run the tutorial online using this link:

Open In Colab

If you have Python setup you can find the Jupyter Notebook on Github.

Run in a conda environment

Here are the steps if you would like to run the Jupyter Notebook locally in a conda environment on windows.

1. Install Miniconda from here
2. Open Miniconda Prompt from the Windows Start Menu
3. Type:

conda create --name tutorials -c conda-forge rasterio owslib jupyterlab git

This will create a new environment with the name tutorials and will install the necessary libraries that we'll use.

4. Activate the new environment by typing

conda activate tutorials

5. Use the commands to go to the folder where you want to save the tutorials (note that the next step will create a subdirectory workshops there).

6. Go to https://github.com/jvdkwast/workshops

7. Click the Code button


8. Copy the HTTPS link

9. With git we can interact with git repositories such as GitHub. Run the following command:

git clone https://github.com/jvdkwast/workshops.git

This will download all the tutorial materials to the subdirectory workshops.

To run the tutorials go to the workshops subdirectory and run the command

jupyter lab

This will open your browser and you can choose the notebook.

This video shows the procedure for running notebooks in github repositories locally: