/2024-04-15-geospatial-python-EGU

Material for the EGU 2024 Short Course 6.4: "Introduction to Geospatial Raster and Vector Data with Python"

Primary LanguageJupyter NotebookApache License 2.0Apache-2.0

Introduction to Geospatial Raster and Vector Data with Python

Material for the EGU24 Short Course 6.4

Links

Run the tutorial

Click on the following badge to run the tutotial on Google Colab (a Google account is required):

Colab

Run the tutorial locally

Clone and access this repository:

git clone https://github.com/esciencecenter-digital-skills/2024-04-15-geospatial-python-EGU.git
cd 2024-04-15-geospatial-python-EGU

In order to run the tutorial, some Python dependencies need to be installed. Python>=3.X is required (it can be downloaded from here).

It is best to install dependencies in an isolated environment, which can be created in the following way:

python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Note that every time a new shell is started, one needs to run source venv/bin/activate to activate the environment.

Start JupyterLab by running:

jupyter-lab

JupyterLab should start in a new broweser window, if this does not happen navigate to this address: http://localhost:8888/lab

Open the notebook geospatial-python.ipynb using the file browser in the left tab.