Research Code and Repositories

This page lists selected research workflows, reproducible scripts, and external tools relevant to my work in earthquake seismology, induced seismicity, waveform processing, clock-drift correction, and seismic imaging. Some project-specific codes are available upon request because they are linked to active collaborations and unpublished datasets.

Current Research Workflows

Ambient-noise cross-correlation and station timing inspection

Scripts for preparing station-pair tables, grouping dense/sparse arrays, computing daily ambient-noise cross-correlations, and checking station timing offsets through lag measurements and waveform residuals.

Dense-array earthquake detection, association, and relocation

Python-based workflows using waveform preprocessing, phase picking, association, catalog construction, and relative relocation for dense temporary seismic arrays in the Sichuan Basin and Longmenshan fault zone.

Induced seismicity and waveform-based fluid indicators

Analysis scripts for studying migration patterns, low-frequency waveforms, attenuation signatures, and seismicity evolution associated with hydraulic-fracturing operations in the Weiyuan shale gas field.

Useful Open-Source Codes

ObsPy

Python toolbox for reading seismic waveform data, MiniSEED/SAC processing, filtering, metadata handling, and waveform visualization. ObsPy GitHub repository

PhaseNet

Deep-learning phase picker used for high-throughput P- and S-wave arrival picking in dense seismic networks. PhaseNet GitHub repository

GaMMA

Earthquake phase association package useful for building earthquake catalogs from machine-learning picks. GaMMA GitHub repository

GMT

Generic Mapping Tools for publication-quality maps, focal mechanisms, station maps, and seismicity visualization. GMT GitHub repository

Legacy and Educational Codes

Finite-difference and earthquake-cycle examples

Selected external C/C++, MATLAB, and Python examples for wave propagation, finite elements, and earthquake-cycle modeling. These are useful for teaching and learning numerical seismology.

fdfault | Dynearthsol3D | FIN2WAVE | 1Dwaveprop

Tutorials

Seismology tutorials and practical processing notes are under development. Tutorials Page