Software

I believe that open-source software development is an essential ingredient to sustainable science, international and interdisciplinary collaborations, and universities’ role to serve the rest of society. While not always compatible with modern academic short-termism, this is my motivation to spend much of my work time (and recently free time) producing useful and documented code. In addition to having participated on international projects such as PISM and Xarray, I develop several (mostly Python) open-source packages for the geosciences.

Geoscientific software

Hyoga
A Python library I am newly working on to plot ice-sheet model results. I hope to find the time and funds to let hyoga grow into a more developed library around CF-compliant glacier and ice sheet models, encompassing the functionality from several other packages I worked on over the years:
[PISM]
PISM-Palseries: Prepare scalar modifiers for PISM.
PISM-Palwrapper: Run SLURM job chains for PISM.
[GIS]
r.out.pism: Generate PISM input files in GRASS GIS
r.in.worldclim: Import WorldClim data in GRASS GIS
r.interp: Fill data holes using 2D interpolation in GRASS GIS.
r.in.narr: Import NARR data in GRASS GIS
r.in.erai: Import ERA-Interim data in GRASS GIS.
[Python]
cartowik: Draw Wikipedia style location and topographic maps.
iceplotlib: A Python 2 plotting library for PISM.
PyPDD
A positive degree-day model for glacier surface mass balance with snowpack evolution and melt retention that was used by myself and others in publications.
SentinelFlow
An automated satellite image workflow for Sentinel-2, developed in the early days of Sentinel to facilitate fieldwork planning with limited internet in Greenland.

Other utilities

Absplots
A small but functional Python package to make subplots with absolute margins and dimensions in millimetres instead of the matplotlib defaults relative to a figure size in inches.
Gitplots
A small script to plot comparative commit history across mutiple git repositories.
Keels
A custom fork of Sleek, a Jekyll theme with focus on performance, updated for improved compatibility with Github Pages and beautiful image galleries.
PISM-pkgbuild
The Archlinux package build for PISM, which I always forget to update for new releases.

No longer maintained

Aftershocks
A small script I wrote after experiencing the 2018 Iburi earthquake in Sapporo. It used to plot recent earthquakes in Japan by region, but does no longer work with the new Japan Meteorological Agency (JMA) webpage.
PISM-SHMIP
Scripts to test PISM hydrology within the framework of the Subglacial Hydrology Model Intercomparison Project (SHMIP). The results are available in a publication.