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

pymaxspots: Computing and connecting horizontal gradient maxima in potential-field geophysics pymaxspots: Computing and connecting horizontal gradient maxima in potential-field geophysics

"Max spots" or "maxspots" refers to the locations of the local maxima of the horizontal gradient of potential fields such as gravity or magnetic anomalies. Because maxspots mark locations of abrupt change in the anomalies, they can be used to identify the edges of subsurface features with significant contrasts in density and/or magnetization, such as faults, intrusions, or lithologic...

Pysochron Pysochron

Pysochron is a Python-based tool designed to calculate isochron burial ages from in-situ cosmogenic 26Al and 10Be data. It uses orthogonal distance regressions to fit isochron lines to 1000 Monte Carlo simulations of nuclide concentration measurements to account for uncertainty, and allows the user to modify various aspects of the fitting process, including constants relating to the...

Python Tools in Support of 'Geochemical Data for Rock, Sediment, Soil, and Mineral Samples, United States and Territories, 1962 to 2023' Python Tools in Support of 'Geochemical Data for Rock, Sediment, Soil, and Mineral Samples, United States and Territories, 1962 to 2023'

This software release consists of two tools for filtering and reformatting geochemical data from the associated data release of Granitto and others, 2025. They are provided as a Python toolbox for use in ArcGIS Pro, and scripts that can be used in the open-source software QGIS. Inputs to the ArcGIS tools should be stored in the file geodatabase or GeoPackage formats. The QGIS tools can...

R code for the workflow and analysis of spatio-temporal analysis of smallmouth bass (Micropterus dolomieu) growth in Pennsylvania Rivers R code for the workflow and analysis of spatio-temporal analysis of smallmouth bass (Micropterus dolomieu) growth in Pennsylvania Rivers

Using a 36-year dataset of smallmouth bass length-at-age, we assess the effect of population density, average critical period temperature, and average spring flow rate on early life growth rate. We also looked at how a disease outbreak in 2004 impacted early life growth rates in reaches with and without the disease. The code in this release provides the R scripts to perform this analysis...

R Script to Run a Simulation-based Power Analysis for Eelgrass Biomass R Script to Run a Simulation-based Power Analysis for Eelgrass Biomass

This script simulates data under an example scenario and applies a model to the simulated dataset to estimate trend, thus evaluating the power to detect the trend. The study was designed to evaluate various scenarios (sampling designs, as well as biological parameters that differ between the two study lagoons).

R script to simulate point-count data and estimate population trend under various scenarios of changing phenology R script to simulate point-count data and estimate population trend under various scenarios of changing phenology

The script in this code repository simulates point-count data under an example scenario, sets up model input, and runs an N-mixture model with two components of detection (availability and perceptibility) to estimate the population trend. This simulation and analysis were developed to evaluate the consequences of changing spring phenology for estimating population trend of breeding bird

R scripts to run model of bird density and habitat associations R scripts to run model of bird density and habitat associations

The script (habitat_density_model.r) in this code repository filters data, sets up model input, and runs an N-mixture model with two components of detection (availability and perceptibility) to estimate bird density from point-count data. This analysis was developed to evaluate covariates of population density for three species of boreal birds: Lesser Yellowlegs, Olive-sided Flycatcher...

R workflow for quantifying inter-population and inter-individual variation in heat stress response mRNA expression profiles in wild brook trout (Salvelinus fontinalis) populations R workflow for quantifying inter-population and inter-individual variation in heat stress response mRNA expression profiles in wild brook trout (Salvelinus fontinalis) populations

Brook trout are a recreationally important fish species that need cold water for survival. The objective of this study was to quantify within- and among-population variability in HSP47 and CIRBP expression in four wild populations of brook trout (Salvelinus fontinalis) to quantify seasonal changes in gene expression. The code release contains a R script for the analysis of brook trout...

R workflow for the analysis of fish tissue mercury concentrations following the invasion of zebra mussels in Minnesota Lakes R workflow for the analysis of fish tissue mercury concentrations following the invasion of zebra mussels in Minnesota Lakes

Aquatic invasive species can influence mercury methylation and bioaccumulation in lake ecosystems by altering chemical and biological pathways and dynamics. Invasive zebra mussels Dreissena polymorpha, which have invaded lakes and rivers throughout North America, may amplify mercury bioavailability by disrupting food webs and altering biogeochemical processes. This potential...

Research software technical note and source code for creation of statistical models for prediction of typical well depths and related spatial diagnostics for the Chicot aquifer system, southwestern Louisiana Research software technical note and source code for creation of statistical models for prediction of typical well depths and related spatial diagnostics for the Chicot aquifer system, southwestern Louisiana

This "software technical note" (`TECHNOTE.md`) provides extensive details involving the construction of typical well-depth grids from research-grade statistical study of the Chicot aquifer system. The README also within this directory is designed and intended to parallel the documentation of individual covariate construction as part of the primal feature of the **covCHICOTla** software...

Sea Ice Proxy App Sea Ice Proxy App

This is the repository for an R Shiny App that allows users to create sea ice records for the Bering and Chukchi seas from diatom data. Users will upload a data set of diatom percentages and the app will return predictions of spring (March, April, May, June_ sea ice concentrations based on a generalized additive model of surface sediment assemblages in the Bering and Chukchi Seas. Please...

Sea Otter Survey Data Visualization Tool Sea Otter Survey Data Visualization Tool

Code for R Shiny application to visualize and download sea otter population survey data in Alaska. The Sea Otter Survey Data Visualization Tool was developed by the U.S. Geological Survey (USGS) to facilitate visualizing and downloading sea otter population survey data in an interactive mapping application. Numerous survey efforts have occurred over the years. Sea otter survey data can...
Was this page helpful?