Introduction to Geospatial Raster and Vector Data with Python

University of Twente

Sep 18-19, 2024

9:30 am - 05:00 pm CEST For Day 1, 9:15 am - 12:30 pm CEST for Day 2

Instructors: Robert Ohuru, Indupriya Mydur, Adhitya Bhawiyuga

Helpers: Jay Gohil, Jay Pandya

General Information

Python is one of the most popular programming languages for data science and analytics, with a large and steadily growing community in the field of Earth and Space Sciences. In this workshop, we will help participants with a working knowledge of Python to familiarize with the world of geospatial raster and vector data. We will introduce a set of tools from the Python ecosystem and show how these can be used to carry out practical geospatial data analysis tasks. In particular, we will consider satellite images and public geo-datasets and demonstrate how these can be opened, explored, manipulated, combined, and visualized using Python.

This workshop organized by the Center of Expertise in Big Geodata Science (CRIB) will cover the following aspects of geospatial data processing:

This is a pilot workshop, testing out a lesson that is still under development. The lesson authors would appreciate any feedback you can give them about the lesson content and suggestions for how it could be further improved.

Where: LA 2105, Langezijds, Hallenweg 8, Enschede. Get directions with OpenStreetMap or Google Maps.

When: Sep 18-19, 2024; 9:30 am - 05:00 pm CEST For Day 1, 9:15 am - 12:30 pm CEST for Day 2 Add to your Google Calendar.

Requirements: Participants must bring a laptop with a Mac, Linux, or Windows operating system (not a tablet, Chromebook, etc.) that they have administrative privileges on. They should have a few specific software packages installed (listed below).

Accessibility: We are committed to making this workshop accessible to everybody. The workshop organizers have checked that:

We are dedicated to providing a positive and accessible learning environment for all. We do not require participants to provide documentation of disabilities or disclose any unnecessary personal information. However, we do want to help create an inclusive, accessible experience for all participants. We encourage you to share any information that would be helpful to make your Carpentries experience accessible. To request an accommodation for this workshop, please fill out the accommodation request form. If you have questions or need assistance with the accommodation form please email us.

Glosario is a multilingual glossary for computing and data science terms. The glossary helps learners attend workshops and use our lessons to make sense of computational and programming jargon written in English by offering it in their native language. Translating data science terms also provides a teaching tool for Carpentries Instructors to reduce barriers for their learners.

Contact: Please email j.h.gohil@utwente.nl or a.bhawiyuga@utwente.nl for more information.

Roles: To learn more about the roles at the workshop (who will be doing what), refer to our Workshop FAQ.


Code of Conduct

Everyone who participates in Carpentries activities is required to conform to the Code of Conduct. This document also outlines how to report an incident if needed.


Collaborative Notes

We will use this collaborative document for taking notes, and sharing URLs and bits of code.


Surveys

Please be sure to complete these surveys before and after the workshop.

Pre-workshop Survey

Post-workshop Survey


Schedule

Day 1

9:30 - 9:45 Welcome and icebreaker
9:45 - 10:00 Introduction to raster, vector, and CRS
10:00 - 11:00 Access satellite imagery using Python
11:00 - 11:15 Coffee break
11:15 - 12:30 Read and visualize raster data
12:30 - 13:30 Lunch break
13:30 - 14:30 Vector data in Python
14:30 - 14:45 Coffee break
14:45 - 15:45 Raster data preprocessing with rioxarray and geopandas
15:45 - 16:00 Short break
16:00 - 16:40 Raster calculations in Python
16:45 - 17:00 Wrap-up
17:00 End of Day 1

Day 2

9:15 - 9:30 Welcome and icebreaker
9:30 - 10:45 Calculating Zonal Statistics on Rasters
10:45 - 11:00 Coffee break
11:00 - 12:15 Parallel raster computations using Dask
12:15 - 12:30 Wrap-up
12:30 END

Setup

To participate in a workshop, you will need access to software as described below. In addition, you will need an up-to-date web browser.

We maintain a list of common issues that occur during installation as a reference for instructors that may be useful on the Configuration Problems and Solutions wiki page.

Please check the "Setup" page of the lesson homepage for instructions to follow to obtain the software and data you will need to follow the lesson.