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

webDR: Spatial exploration of invasion risk of dreissenid mussels in the Missouri River Basin at the HUC10 watershed scale webDR: Spatial exploration of invasion risk of dreissenid mussels in the Missouri River Basin at the HUC10 watershed scale

The spread of non-native dreissenid mussels across North America has resulted in significant ecological and economic damage. Management efforts implementing early detection efforts (including watercraft inspections) may help reduce potential spread and new introductions, but optimizing effective deployment of these efforts in a resource-constrained environment is challenging. Raymond et...

MODFLOW 6: USGS Modular Hydrologic Model MODFLOW 6: USGS Modular Hydrologic Model

MODFLOW is a popular open-source groundwater flow model distributed by the U.S. Geological Survey.

R scripts to identify optimized grassland restoration sites in Kansas (version 1.0.0) R scripts to identify optimized grassland restoration sites in Kansas (version 1.0.0)

Ecological restoration is essential to meeting global biodiversity conservation goals. Given limited conservation budgets, deciding where to restore habitat is a key challenge for the coming decade. We developed a modeling approach to maximize conservation benefit/restoration cost ratios to optimize restoration. We illustrate this approach using a case study for highly threatened...

A Shiny application to support sample size estimation under the Wet Season Aquatic Fauna Agreement A Shiny application to support sample size estimation under the Wet Season Aquatic Fauna Agreement

The qualitative review document titled "QualitativeReviewWSAF_ForRECOVERReview_2025May5_FINAL.pdf" provides the motivation and background for developing this Shiny Application. The document provides a review of the Wet Season Aquatic Fauna (WSAF) MAP Agreement’s monitoring design using a qualitative statistical review framework that emphasizes connecting desired measurable objectives...

Visualizing a site prioritization tool for invasive species management: code for an R shiny application Visualizing a site prioritization tool for invasive species management: code for an R shiny application

This software release consists of R shiny code for a site prioritization tool for invasive species management: https://rconnect.usgs.gov/site-prioritization-tool/

NLDI Flow Tools NLDI Flow Tools

NLDI Flowtools is a Python package for basin delineation and flow path tracing from any point within CONUS. It can return either the full upstream drainage basin or just the portion within the local NHD catchment (i.e., splitcatchment). The flow path tracing tool follows terrain downhill until it intersects the nearest NHD stream line, returning both the traced path and the intersected...

First Infrastructure Line Generator Version 1.0 First Infrastructure Line Generator Version 1.0

This software script is designed to generate a first infrastructure line polyline vector that delineates the seaward-most extent of impervious infrastructure, including parking lots, buildings, and roads. The software requires two inputs which include A) a raster representing the coverage of impervious surface B) a polyline baseline located seaward of and running parallel to the first

A finite difference code for the calculation of Fe-Mg interdiffusion timescales in orthopyroxene with initial condition optimization (version 1.0) A finite difference code for the calculation of Fe-Mg interdiffusion timescales in orthopyroxene with initial condition optimization (version 1.0)

These Python scripts calculate Fe-Mg diffusion timescales in orthopyroxene crystals for use in studies of pre-eruption processes. The model is based on a centered space, forward time implicit finite difference solution to the diffusion equation with with a compositionally depended diffusivity. The model includes an initial condition optimization step and a Monte Carlo approach to...

Code to evaluate occupancy and surface availability of Siskiyou Mountains salamanders (Plethodon stormi) and Scott Bar salamanders (P. asupak) in northern California, 2023-2024 Code to evaluate occupancy and surface availability of Siskiyou Mountains salamanders (Plethodon stormi) and Scott Bar salamanders (P. asupak) in northern California, 2023-2024

The code in this repository generates and analyzes directed acyclic graphs (DAGs) representing hypotheses about variables affecting the occurrence and surface availability of Plethodon salamanders in northern California; formats data from field surveys and GIS for analysis; and analyzes multi-scale occupancy models, including model selection, to evaluate the model and variables with the...

Bull Trout Population Dynamics Simulation Tool Bull Trout Population Dynamics Simulation Tool

Welcome to the README for the Bull Trout Population Dynamics Simulation Tool. This tool can be used directly in an R console (including IDEs such as RStudio) or it can be used via the web and an R Shiny interface (https://rconnect.usgs.gov/BullTroutPopulationDynamicsSimulationTool/).

Shakingstats (Version 1.0.0) Shakingstats (Version 1.0.0)

shakingstats is a Python package for calculating earthquake statistics from continuous seismic amplitudes. It calculates the time-varying amplitude completeness (A_C) and amplitude-based b‑value (b_A​) by fitting the joint distribution of seismic noise and earthquake shaking. It also provides an implementation of the b-positive (β+) method for comparison to catalog-based statistics.

ocelote 1.1.0 ocelote 1.1.0

This release adds functionality for building debris-flow likelihood lookup tables, and uploading the results to the National Weather Service (NWS) FTP endpoint. The release: * Adds the `authenticate nws` command, which collects authentication credentials for uploading to the NWS FTP endpoint * Updates the `run` command to compute debris-flow likelihood lookup tables, and save the results...
Was this page helpful?