Skip to main content
U.S. flag

An official website of the United States government


An official USGS software project is code reviewed and approved at the bureau-level for distribution.

Filter Total Items: 400

Source code in R for creation of regional regression equations for estimation of four hydraulic properties of streams at approximate bankfull conditions for different ecoregions in Texas associated with U.S. Geological Survey Scientific Investigations Rep

This repository contains R language source code used for creation of regional regression equations for estimation of four hydraulic properties of streams at approximate bankfull conditions for different ecoregions in Texas. This code is in support of the following study: Asquith, W.H., Gordon, J.D., and Wallace, D.S., 2020, Regional regression equations for estimation of four hydraulic properties


USGS developed, in cooperation with the Office of Surface Mining Reclamation and Enforcement, “user-friendly” aqueous geochemical modeling tools to simulate changes in water quality during passive and active treatment of acid mine drainage.

DGMETA (Dissolved Gas Modeling and Environmental Tracer Analysis)

DGMETA (Dissolved Gas Modeling and Environmental Tracer Analysis) is a Microsoft Excel-based computer program that is used for modeling air-water equilibrium conditions from measurements of dissolved gases and for computing concentrations of environmental tracers that rely on air-water equilibrium model results.

Interactive PHREEQ-N-AMDTreat Water-Quality Modeling Tools to Evaluate Performance and Design of Treatment Systems for Acid Mine Drainage (software download)

The PHREEQ-N-AMDTreat aqueous geochemical modeling tools described herein simulate changes in pH and solute concentrations resulting from passive and active treatment of acidic or alkaline mine drainage (AMD). The “user-friendly” interactive tools, which are publicly available software, utilize PHREEQC equilibrium aqueous and surface speciation

Python GIS Flood Tool (pygft)

The Python GIS Flood Tool (pygft) was designed to process stream, catchment, and elevation datasets in order to assess the extent and depth of flooding for each stream reach. The model itself is light-weight, created with the capability to scale to larger regions or CONUS (conterminous United States) scales.

Subaerial Barrier Sediment Partitioning (SBSP) Model Version 1.0

The Subaerial Barrier Sediment Partitioning (SBSP) model is a framework to simulate the morphological development of an idealized barrier coast in the cross-shore domain. The model code, built in MATLAB, consists of two scripts which must reside within the same folder when executed. The first, SBSP_InputControl.m, contains the user-defined input variables to run the simulation. The second, SBSP_Pr


A repository of all geologic fault section data included in USGS National Seismic Hazard Models


This set of utilities is used to extract geophysical information from the NCM (Boyd, 2020) including, for example, S-wave, P-wave, and density profiles, as well as attributes for ground motions models including VS30, Z1.0, and Z2.5. Running the code in either MATLAB or Python requires all of the NCM databases (

EDEN: Everglades Depth Estimation Network Water Level And Depth Surfaces

An R package that provides a set of functions for the Everglades Depth Estimation Network (EDEN). EDEN is an integrated network of water-level gages, interpolation models that estimate daily water-level data at ungaged locations, and applications that generate derived hydrologic data across the freshwater part of the Greater Everglades landscape. This package contains the scripts that run the inte


The WaveLab software was designed to extract sea and barometric pressure data from selectively deployed instruments, calculate water levels, and finally compute wave statistics where applicable. There is also a utility to extract slices from the sea and barometric pressure time series for multiple purposes including getting values of interest and cropping out spurious values. The output includes

GeoBIPy – Geophysical Bayesian Inference in Python

GeoBIPy – Geophysical Bayesian Inference in Python – is an open-source algorithm for quantifying uncertainty in airborne electromagnetic (AEM) data and associated geological interpretations. This package uses a Bayesian formulation and Markov chain Monte Carlo sampling methods to derive posterior distributions of subsurface electrical resistivity based on measured AEM data.

Flow-Conditioned Parameter Grid Tools

The Flow-Conditioned Parameter Grid (FCPG) Tools are a Python 3 library to make FCPGs for either two-digit Hydrologic Unit Code (HUC2) regions, four-digit Hydrologic Unit Code (HUC4) regions, or other geospatial tiling schemes. These tools can be used in a Linux-based high performance computing (HPC) environment or locally on your system.