To run online use: WholeTale
This is a set of Jupyter Notebooks for a workshop at FOSS4G NA 2023.
The workshop was created for GRASS GIS version 8.3.
Learn to develop high-quality workflows in Python for geospatial analytics with GRASS GIS. Together, we will develop a parallelized custom tool with Python, command line, and graphical user interfaces.
GRASS GIS works as a powerful geospatial processing tool everywhere from a small laptop to a huge supercomputer. GRASS GIS also makes it easy to move from using a graphical user interface (GUI) to command line interface or Python API. This workshop will use a viewshed modeling application as an example to cover basics of Python scripting with GRASS GIS focusing on best practices, such as resource management and code structure. While there are many parallelized tools in GRASS GIS for speeding up data processing, together we will simply and safely parallelize our own workflows in Python. To make tools reusable, we will provide our scripted workflows with a GUI and a command line interface to provide convenience for all kinds of users. We will show how to distribute the resulting tool through GRASS Addons repository, a community-maintained repository with more than 400 hundred specialized processing tools. The bonus material for this workshop will also cover tools written in C.
To get the most out of this workshop, basic Python and GIS experience is recommended. The workshop will use an online environment, so no software installation on laptops is required from participants. However, emailing the workshop presenters ahead of time to set up the software locally is certainly allowed.
- Vaclav Petras, NC State University, Center for Geospatial Analytics
- Corey White, NC State University, Center for Geospatial Analytics
This material is dual licensed under GNU FDL 1.3 and CC BY-SA 4.0 with an additional option to use GNU GPL >=2 for source code if applicable.