Skip to main content
U.S. flag

An official website of the United States government


This is a subset of our downloadable software for earthquake research. USGS uses GitHub for all new software development, as well as open sourcing older software as time allows. For a comprehensive listing of all available software, see how our applications work, and to collaborate with us, please go to USGS GitHub.

Filter Total Items: 57


This set of utilities is used to extract geologic profiles from the NCM geologic framework (Boyd, 2019). Running the code in either MATLAB or Python requires the NCM geologic framework and related databases,,, and ( These data and codes are part of an effort to produce a three dimensio

libcomcat Software Release

libcomcat is a project designed to provide a Python equivalent to the ANSS ComCat search API. This includes a Python library that provides various classes and functions wrapping around the ComCat API, and a number of command line programs that use those functions.

Electromagnetic Transfer Function File Conversion Utilities (EMTF FCU)

Magnetotelluric impedances and other similar transfer functions are important for geophysical interpretation and for space weather hazards. I helped develop and continue to curate a database known as IRIS EMTF, which uses something called EMTF XML format for storing the data. EMTF FCU v4.1 software consists of a set of freely available format conversion tools that can

Quality control tools for seismic catalogs (qc_report and qc_multi)

Generate plots and statistics for single earthquake catalogs and for catalog to catalog comparisons.


This program is used to calculate anharmonic p- and s-wave velocity and density for zero-porosity mineral aggregates. It is based on the work of Hacker and Abers (2004, updated in 2016) with additional minerals and optimized for related work. Running the code in either MATLAB or Python requires a mineral physics database, ( Combined with

USGS automated ground motion processing software

The goal of this project is to update, restructure, and consolidate existing USGS ground-motion processing software to incorporate recent advances from researchers at the USGS, PEER, and others. It will standardize tools for multiple USGS ground-motion products and enable scientists within the USGS and the external community to develop and expand ground-motion datasets used in many different appli


A three-dimensional compilation of global subduction geometries, separated into regional models for each major subduction zone.


These programs solve the equations of static equilibrium in a spherically layered isotropic medium using a decomposition into spheroidal and toroidal motions.

strainz17: Earthquake Strains and Rotations

Strainz17.m is a MATLAB-language function for deriving the best-fitting uniform strain tensor and rigid body rotation as functions of time, based on ground displacement or velocity recordings made on an array of sensors.


Produce approximated finite fault distances and variance corrections given point source information, for example, Repi (epcentral distance) to Rjb (Joyner-Boore distance) or Rrup (closest distance to rupture).


SATSI (Spatial And Temporal Stress Inversion) is a modified version of Michael's (JGR 1984, 1987) code that inverts focal mechanism data for a spatially and/or temporally varying stress field.


A uniform ANSS standard for seismic parametric data.