Software
An official USGS software project is code reviewed and approved at the bureau-level for distribution.
Filter Total Items: 898
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...
Code for Projected Canadian Forest Fire Danger Rating System (CFFDRS) metrics within Fire Danger Rating Areas in Alaska (1980–2099) (version 1.0.0) Code for Projected Canadian Forest Fire Danger Rating System (CFFDRS) metrics within Fire Danger Rating Areas in Alaska (1980–2099) (version 1.0.0)
Effective future fire planning and decision-making in Alaska requires accessible, interpretable, and locally relevant climate data to anticipate fire danger. To meet this need, we utilized an existing dataset of projected fire danger metrics from the Canadian Forest Fire Danger Rating System (Young et al. 2025). This dataset contains daily projections from 1980 through 2099 for key...