uwescience / SciPy2024-GitHubActionsTutorial

Content for SciPy 2024 Tutorial "Github Actions for Scientific Data Workflows."
https://scipy2024-githubactionstutorial.readthedocs.io/
26 stars 46 forks source link

Github Actions for Scientific Data Workflows

Tutorial presented at SciPy 2024 Conference

Authors: Valentina Staneva, Quinn Brencher, Scott Henderson

Abstract

In this tutorial we will introduce GitHub Actions to scientists as a tool for lightweight automation of scientific data workflows. We will demonstrate that GitHub Actions are not just a tool for software testing, but can be used in various ways to improve the reproducibility and impact of scientific analysis. Through a sequence of examples, we will demonstrate some of Github Actions' applications to scientific workflows, such as scheduled deployment of algorithms to sensor streams, updating visualizations based on new data, processing large datasets, model versioning and performance benchmarking. GitHub Actions can particularly empower Python scientific programmers who are not willing to build fully-fledged applications or set up complex computational infrastructure, but would like to increase the impact of their work. The goal is that participants will leave with their own ideas of how to integrate Github Actions in their own work.

Description:

GitHub Actions are quite popular within the software engineering community, but a scientific Python programmer may not have seen their use beyond a continuous integration framework for unit testing. We would like to increase their visibility through a scientific workflow lens. We will use examples that are relevant to the community: wrangling a messy realtime hydrophone data stream to display noise sounds from the Puget Sound (not far from the conference venue!) or processing hundreds of satellite radar images over glacial lakes in High-Mountain Asia to study flood hazards. We assume no knowledge on Github Actions and will start slowly with a “Hello World” step, but build quickly to create complex and exciting workflows. We will also showcase their value for scientific collaborations across institutions as a means to share reproducible workflows and computing infrastructure.

Prerequisites:

GitHub account, familiarity with git, GitHub, and Python (conda, scipy, matplotlib), some maturity in manipulating scientific data and exposure to the challenges associated with it, ability to read code (our examples may use libraries not familiar to the audience, but the focus will be on the steps these libraries accomplish rather than the details)

Installation Instructions:

Participants can make edits from the GitHub interface, but if they are willing to make updates locally, they need to have a functioning git (set up instructions)

Outline

Outline:

References