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

Integrated population model for red knot in Delaware Bay

This is code for an integrated population model developed to understand the effect of horseshoe crab abundance on population demographics of red knot, an Arctic-breeding shorebird. This model was developed as part of the revision to the Atlantic States Marine Fisheries Commission Adaptive Resource Management Plan for horseshoe crabs.

Optimal horseshoe crab harvest policies via approximate dynamic programming

Approximate Dynamic Programming relies on forward simulation of the system, so two population projection models are used, one for crabs and one for red knots. The two models are linked: HSC abundance is a predictor variable in the REKN model. Other useful outputs are produced as well, such as predictions of future harvest.

R scripts for analysis of fall photographic waterfowl surveys, Izembek NWR, Alaska, 2017-2019

This code repo contains three novel scripts used in Weiser et al. (2022): one to calculate the footprint of an aerial photo (01_function_photo_footprint.r), one to run a simulation to evaluate sample sizes for the photographic survey (02_photo_sample_size_sim.r), and one to run a simulation to evaluate sample sizes for the ocular survey (03_ocular_sample_size_sim.r). For more information on the ba

BatTool R package

This R package was developed to help the USFWS understand the effects of wind turbine mortality and WNS on the Indiana bat. The model has been described in a peer-reviewd (and open access publication). The package includes both a GUI and command line interface. The GUI only works for Myotis spp., although the command line tool has been expanded for two other genera of bats: Lasiurus spp. and Pipis

Behavioral and Reproductive Effects of the Lampricides TFM and TFM:1% Niclosamide on Native Freshwater Mussels - SPSS Code Release

This study continues our investigations into the effects of lampricides on mussels by extending research into potential effects on behavioral and reproductive endpoints on the mussel plain pocketbook (Lampsilis cardium). We hypothesized that TFM and TFM:NIC would reduce the viability of free glochidia in a dose-dependent manner, that older glochidia would be more sensitive than younger glochidia,

spatial_nsm: Spatial estimates of soil-climate properties using a modified Newhall simulation model

We developed a software framework to estimate high-resolution spatiotemporal soil moisture (monthly, annual, and seasonal) and temperature-moisture regimes. Our approach builds on the Newhall simulation model, allowing for the substitution of data and parameters, such as climate, snowmelt, soil properties, alternative potential evapotranspiration equations, and air-soil temperature offsets. The Ne

Spatial modeling of two mosquito vectors of West Nile virus using integrated nested Laplace approximation

This software involves R script to fit models of abundance of mosquito vectors (' Script_for_ECS22-0193_9_13_2215.R') to landscape and environmental covariates using INLA and SPDE. The dataset used for this analysis were originally provided by the Pennsylvania Department of Environmental Protection (DEP) with a confidentiality agreement. The majority of the data used in this study, however, have s

StreamStats Channel Width Weighting Services

This software release contains Python functions for weighting multiple non-independent estimates of a variable. Weighting is determined by the standard error of prediction of each estimate and the correlation between the estimation methods. The methodology for weighting estimates from either two or three different methods is described in Chase and others (2020). A function is also included to han

Predicting climate change impacts on poikilotherms

This software involves files to fit the physiologically-guided abundance (PGA) model ('fish_predictions_pga.R'), a naive model ('fish_predictions_naive.R'), and a PGA model using simulated data ('PGA_sim.R'). Each R file calls as associated .stan file that contains the model code that is executed by stan when running the R code ('fish_prediction.stan', 'fish_prediction_naive.stan', and 'fish_predi

High-throughput calculations of climatch scores

Matching climate envelopes allows people to examine how potential invasive species may match habitats. This repository contains code for using the climatchR package for high-throughput calculations of climatch scores for species using GBIF data. Climatch is based upon the climatch algorithm as implemented through the climatchR package.

Analysis code for Quantitative method development to determine feed consumption using a dye

This repository contains code for the analysis of Wamboldt JJ, Nelson JE, Thomas LM, Steiner JN, Hebert JL, Erickson RA, Putnam JG. Quantitative method development to determine feed consumption using a dye. North American Journal of Aquaculture The purpose of the repository is to document what analysis was run for publication and is intended for an archive rather than a production or development

AMMonitor

AMMonitor is an open source R package dedicated to collecting, storing, and analyzing AMU information in a way that 1) is cost-effective, 2) can efficiently process and store information, and 3) can take advantage of the vast and growing community of R analytics.