Sarah C. Shi (史恂如)

sarahshi@berkeley.edu / C.V. / GitHub / Google Scholar

I am a Ph.D. student in the Department of Earth and Planetary Science at UC Berkeley, advised by Professor Penny Wieser. My research is at the intersection of volcanology, geochemistry, and machine learning, with a focus on what minerals and melt inclusions can tell us about eruption triggers, crustal processes, and our planet.

I combine microanalysis and modeling, and I build open-source tools like PyIRoGlass for quantifying volatiles in glasses and mineralML for probabilistic mineral classification.

I previously completed an M.Phil. at the University of Cambridge and my B.A. at Columbia University. Following my time in Cambridge, I worked as a Data Science Fellow in the Geoinformatics Research Group at the Lamont-Doherty Earth Observatory.

When I am not thinking about rocks, I enjoy hiking, biking, rowing, fermenting things, and playing with sound.

Research

I am interested in how magma forms, migrates, and ultimately erupts at Earth's surface. Underlying each volcano lies a dynamic magmatic system shaped by storage, mixing, and transport. Minerals and melt inclusions are capsules that preserve records of these processes in their chemistry and textures. We can use them to reconstruct the hidden histories of magmatic systems and better understand what leads to explosive volcanic activity. My work has taken me to Fuego in Guatemala, Poás in Costa Rica, Medicine Lake in California, and volcanoes across Iceland.

I develop open-source tools to these ends, using Bayesian inference and machine learning. These tools help reduce uncertainty, scale investigations across large datasets, and reveal patterns that may not be immediately obvious. My current work focuses on two main questions: (1) How can we use diffusion chronometry and volatile measurements to constrain timescales of magma mixing and depths of magma storage before eruption? And (2) how can probabilistic machine learning approaches help classify minerals and melts in SEM-EDS maps and large geochemical databases, to reveal new patterns and relationships?

Side-by-side EBSD and mineralML EDS phase maps of a Mount Hood andesite
A co-collected EBSD and EDS (processed with mineralML) phase map of a Mount Hood andesite. EDS mapping picks out interstitial glass that EBSD cannot index and resolves zoning in plagioclase and pyroxene.
FTIR spectrum with fitted baselines and H2O and CO2 peaks
Quantifying H2O and CO2 in volcanic glasses by fitting FTIR baselines with PyIRoGlass.
Olivine crystals hosting melt inclusions
Probing syn-eruptive dynamics of the Fuego 2018 eruption with diffusion chronometry in olivine and volatiles in melt inclusions.
Comparison of predicted and measured temperatures for olivine-melt thermometers
Developing new olivine-saturated melt geothermometers with inversions for reducing temperature uncertainties.

Code

Open, accessible, and reproducible science is the future. All the tools below are open source and archived with a citable DOI. PyIRoGlass and mineralML also run in your browser, with nothing to install.

PyIRoGlass logo
PyIRoGlass, a Bayesian MCMC algorithm for fitting baselines to the FTIR spectra of basaltic-andesitic glasses
Manuscript / Code DOI / GitHub Repository / Web App
mineralML logo
mineralML, a Python package leveraging machine learning for probabilistic mineral classification in analytical data
Manuscript Preprint / Dataset DOI / Code DOI / GitHub Repository / Web App
GPyEDS mineral classification of an EDS map
Using Gaussian Process Autoencoders to perform dimensionality reduction for high-throughput mineral classification in EDS maps.
Manuscript / Code DOI / GitHub Repository

Publications

[7, in press] Shi, S.C., Wieser, P.E., Gordon, C., Toth, N., Gleeson, M., Antoshechkina, P., Lehnert, K. (2026). mineralML: Leveraging Machine Learning for Probabilistic Mineral Classification. Geochemistry, Geophysics, Geosystems. Preprint on EarthArXiv.

[6] Tweedy, R.R., Shi, S.C., Uno, K.T. (2026). Supervised Machine Learning Approaches to African Plant Chemotaxonomy from n-Alkane Chain Length Abundances. Organic Geochemistry, 221, 105295.

[5] Toth, N.*, Shi, S.C.*, Maclennan, J., Tung, P.Y. (2025). EDS Analysis for Petrology: a Probabilistic Framework with GPyEDS. JGR: Machine Learning and Computation, 2(4), e2025JH000751. [* demarcates co-lead authors]

[4] Wieser, P.E., Shi, S.C., Gleeson, M., Rangel, B., DeVitre, C., Bearden, A., Lynn, K., Trusdell, F., Caumon, M.-C. (2025). Fluid inclusion constraints on the geometry of the magmatic plumbing system beneath Mauna Loa: Part 1: Lavas and Tephras. Bulletin of Volcanology, 87(10), 1–24.

[3] Gleeson, M., Wieser, P., DeVitre, C., Shi, S.C., Millet, M.-A., Muir, D., Stock, M., Lissenberg, J. (2025). Persistent high-pressure storage beneath a near-ridge ocean island volcano (Isla Floreana, Galapagos). Journal of Petrology, 66(5), egaf031.

[2] Moussallam, Y., Towbin, W.H., Plank, T.A., Bureau, H., Khodja, H., Guan, Y., Ma, C., Baker, M.B., Stolper, E.M., Naab, F.U., Monteleone, B.D., Gaetani, G.A., Shimizu, K., Ushikubo, T., Lee, H., Ding, S., Shi, S.C., Rose-Koga, E.F. (2024). ND70 series basaltic glass reference materials for volatile elements (H2O, CO2, S, Cl, F) analysis and the C ionisation efficiency suppression effect of water in silicate glasses in SIMS analysis. Geostandards and Geoanalytical Research, 48(3), 637–660.

[1] Shi, S.C., Towbin, W.H., Plank, T.A., Barth, A.C., Rasmussen, D., Moussallam, Y., Lee, H., Menke, W. (2024). PyIRoGlass: An Open-Source, Bayesian MCMC Algorithm for Fitting Baselines to FTIR Spectra of Basaltic-Andesitic Glasses. Volcanica, 7(2), 471–501.

Teaching

At Berkeley, I was a Graduate Student Instructor for EPS 100B (Genesis and Interpretation of Rocks) and received an Outstanding Graduate Student Instructor Award in 2026. I mentor undergraduate and master’s researchers, including students whose projects have resulted in AGU posters, and I mentor STEM graduate students through STEM*FYI.

I developed a suite of Jupyter notebooks designed to teach computational basics, statistical thinking, machine learning, and petrology. These materials support the educational mission of the IEDA2 data infrastructure, funded by NSF through a cooperative agreement. All notebooks are available on my earthchem-teaching GitHub repository.

python_fundamentals

Introduces students to the Python programming language. It covers core topics including basic syntax, numerical operations with NumPy, data manipulation with pandas, and visualization using matplotlib.

Open python_fundamentals in Colab

SERC_MORB_colab

Developed for and taught in the Earth's Environmental Systems: Solid Earth course at Columbia University. It guides students through the analysis of mid-ocean ridge basalt (MORB) data, highlighting trends in mantle melting, crustal thickness, and seismic velocities.

Open SERC_MORB_colab in Colab

mineralML_colab

Developed for and taught in the Goldschmidt 2023 Conference Workshop - Open Data in Geochemistry and the NFDI4Earth Lecture Series. It provides tools for visualizing petrologic mineral data and applying machine learning to mineral classification.

Open mineralML_colab in Colab

Field

Field photo, Sierra Nevada Batholith: orbicular rock with concentric orbicules beside a rock hammer
Field photo, Sierra Nevada Batholith: outcrop full of orbicules under a blue sky

Sierra Nevada Batholith, California

Field photo, Medicine Lake
Field photo, Medicine Lake
Field photo, Medicine Lake
Field photo, Medicine Lake

Medicine Lake, California

Field photo, Death Valley and Southwest US
Field photo, Death Valley and Southwest US
Field photo, Death Valley and Southwest US
Field photo, Death Valley and Southwest US

Death Valley and Southwest US

Field photo, Poás Volcano, Costa Rica
Field photo, Poás Volcano, Costa Rica
Field photo, Poás Volcano, Costa Rica
Field photo, Poás Volcano, Costa Rica

Poás Volcano, Costa Rica

Field photo, Highlands, Iceland
Field photo, Highlands, Iceland
Field photo, Highlands, Iceland
Field photo, Highlands, Iceland

Highlands, Iceland

Field photo, Aberdare National Park, Kenya
Field photo, Aberdare National Park, Kenya
Field photo, Aberdare National Park, Kenya
Field photo, Aberdare National Park, Kenya

Aberdare National Park, Kenya

Field photo, Cornwall (ESB Field Geology), UK
Field photo, Cornwall (ESB Field Geology), UK
Field photo, Cornwall (ESB Field Geology), UK
Field photo, Cornwall (ESB Field Geology), UK

Cornwall (ESB Field Geology), UK