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: 63

GRAPES.jl - GRAph Prediction of Earthquake Shaking in Julia (Version 1.0.0)

GRAPES.jl is a Julia-language code for earthquake early warning. GRAPES.jl implements the GRAph Prediction of Earthquake Shaking (GRAPES) algorithm using graph neural networks. The GRAPES.jl package provides code for EEW ground motion predictions.

SYNthetic DEPTH Phase Modeling (SYNDEPTH)

This python code models event depths by comparing high-frequency (~0.5-0.04 Hz) teleseismic body-wave waveforms to synthetics. High-frequency body waves contain depth information, primarily in the form of depth phases. While lower frequencies are used to generate moment tensor solutions, high-frequency body waves allow for more accurate estimates of source depth. A moment tensor solution must exis

OAF Tools - R package

This repository contains the source code for the oaftools package. The package creates visual tools to study aftershock behavior and the performance of the Operational Aftershock Forecasting system. The visual tools are: A global map, rendered by Leaflet to show the distribution of earthquakes with forecasts A local map, rendered by Leaflet to show the aftershock sequence and the aftershock zone

Did You Feel It?

Did You Feel It? (DYFI) collects information from people who felt an earthquake and creates maps that show what people experienced and the extent of damage.


National Seismic Hazard Model (NSHM) for the State of Hawaii. This model is intended for use with U.S. Geological Survey (USGS) hazard software nshmp-haz.


National Seismic Hazard Model (NSHM) for the conterminous U.S. This model is intended for use with U.S. Geological Survey (USGS) hazard software nshmp-haz. This model was last updated in 2018.


U.S. Geological Survey (USGS) National Seismic Hazard Model Project (NSHMP) codes for performing probabilistic seismic hazard (PSHA) and related analyses. These codes are intended for use with seismic hazard models developed by the NSHMP for the U.S. and its territories. This project includes a variety of command line applications and web service classes and relies on the nshmp-lib hazard library,


nshmp-lib is a USGS developed Java library that supports probabilistic seismic hazard (PSHA) and related analyses. This project includes all the code required to load, process and query USGS National Seismic Hazard Models (NSHMs). nshmp-lib is used by command line applications and web services found in the nshmp-haz project. See that project for running PSHA calculations.

Seismic Network Detection Modeling

This DOI points to the code repository for codes used in David C. Wilson, Emily Wolin, William L. Yeck, Robert E. Anthony, Adam T. Ringler; Modeling Seismic Network Detection Thresholds Using Production Picking Algorithms. Seismological Research Letters 2021; 93 1: doi:

STEPS: Slip Time Earthquake Path Simulations applied to the San Andreas and Toe Jam Hill faults to redefine geologic slip rate uncertainty (Matlab code)

Geologic slip rates are a time-averaged measurement of fault displacement calculated over 100s- to 1,000,000-year time scales and are a primary input for probabilistic seismic hazard analyses (PSHA), which forecast expected ground shaking in future earthquakes. Despite their utility for seismic hazard calculations, longer-term geologic slip rates represent a time-averaged measure of the tempo of s

Code to access the Central United States Velocity Model, v1.3

We have developed a new three-dimensional seismic velocity model of the central United States (CUSVM) that includes the New Madrid Seismic Zone (NMSZ) and covers parts of Arkansas, Mississippi, Alabama, Illinois, Missouri, Kentucky, and Tennessee (Ramirez Guzman et al, 2012). The model represents a compilation of decades of crustal research consisting of seismic, aeromagnetic, and gravity profiles