Skip to main content
U.S. flag

An official website of the United States government

Software

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

Filter Total Items: 637

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

fluvial-particle, U.S. Geological Survey software release

This Python package provides functions to simulate advection and dispersion of numerical particles using a lagrangian particle-tracking algorithm for 2 and 3-dimensionl hydraulic simulation results. Users may customize particle subclasses to provide custom particle classes. For example, the drift of larval fish, by creating classes to add behavior to particles. (McDonald and Nelson, 2021).

WREG: Weighted Least Squares Regression for Streamflow Frequency Statistics

Software package to support regression-based regionalization of streamflow frequency statistics that follow a log-Pearson type III distribution.

Code to Examine How the Influence of Fine-Scale Habitat Characteristics on Greater Sage-Grouse (Centrocercus urophasianus) Nest Site Selection and Nest Survival Varies by Mesic and Xeric Site Conditions version 1.0

This repository centralizes R code used to examine how the influence of fine-scale habitat characteristics on Greater sage-grouse (Centrocercus urophasianus) nest site selection and nest survival varies by mesic and xeric site conditions, utilizing data collected from a wide range of study sites in Nevada and California, USA. The R script "nest_selection_model.R" provides code for a GLMM framewor

plumeria PMAP software release 1.0.3

The PMAP tool is a one-dimensional plume model that predicts ash aggregation within an erupting volcanic plume. The tool was developed by D. W. Hoffman at Stanford, extending from the Plumeria model written by L. G. Mastin at USGS CVO. The code operates using Matlab. The purpose of this repository is to present the code used in the following publication, currently under review at Journal of Geop

Workflow to acquire and process large spatial data and build complex models

This software involves R scripts to download and process large-scale spatial data defined by an extent input by the user. The code then resamples data to the desired resolution, downloads metadata from a public website on West Nile virus prevalence in mosquito pools, then extracts spatial layer data as covariates for each record. Also, this software involves R script to fit models of abundance of

GSFLOW: Coupled Groundwater and Surface-Water Flow Model

Groundwater and Surface-water FLOW (GSFLOW) was developed to simulate coupled groundwater and surface-water resources. The model is based on the integration of the U.S. Geological Survey Precipitation-Runoff Modeling System (PRMS) and the U.S. Geological Survey Modular Groundwater Flow Model (MODFLOW).

Analysis of Grass Carp eDNA Data

This product contains code to analyze a dataset that was collected to compare a LAMP assay and a qPCR assay for Grass Carp in a pond study. This repository contains the RMarkdown and R files used to analyze the data. It was created to allow for reproducible results. The code assumes the user is experience with R, especially the Tidyverse, and Stan.

inlcolor---Color palettes for the U.S. Geological Survey Idaho National Laboratory Project Office

The R package inlcolor provides access to a variety color schemes. Used to support packages and scripts written by researchers at the United States Geological Survey (USGS) Idaho National Laboratory Project Office (INLPO). Key features of this package are (1) a simple and consistent API, (2) support for qualitative, diverging, and sequential color schemes, (3) support for combining color pallets u

PopEquus: A Predictive Modeling Tool to Support Management Decisions for Free-roaming Horse Populations, Version 1.0.1

PopEquus is a website application that can be used to understand trade-offs and inform decisions in free-roaming horse (Equus caballus) population management. The application (https://rconnect.usgs.gov/popequus/) contains a predictive population modeling tool that can be used to simulate how different management actions drive changes in horse population size, while measuring management costs and o

rsgis v1.0

rsgis: A package to facilitate greater sage-grouse management in the western US The rsgis package centralizes several publicly available geospatial datasets that are essential to mapping and modeling for Greater sage-grouse (Centrocercus urophasianus) management applications, including important habitat and breeding areas for sage-grouse and political/regional boundaries. To cite the package, plea