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

Source code in R for creation of regional regression equations for estimation of four hydraulic properties of streams at approximate bankfull conditions for different ecoregions in Texas associated with U.S. Geological Survey Scientific Investigations Rep Source code in R for creation of regional regression equations for estimation of four hydraulic properties of streams at approximate bankfull conditions for different ecoregions in Texas associated with U.S. Geological Survey Scientific Investigations Rep

This repository contains R language source code used for creation of regional regression equations for estimation of four hydraulic properties of streams at approximate bankfull conditions for different ecoregions in Texas. This code is in support of the following study: Asquith, W.H., Gordon, J.D., and Wallace, D.S., 2020, Regional regression equations for estimation of four hydraulic...

squid5-software squid5-software

This software was developed for and used by the structure-from-motion (SfM) quantitative underwater imaging device with five cameras (SQUID-5) project. The SQUID-5's camera exposure and sensor gain settings are set identically using a program written with the Spinnaker SDK and examples. Another Spinnaker SDK based program was created to collect, format and save image data to long-term...

StreamStats Data Preparation Tools, version 4 StreamStats Data Preparation Tools, version 4

A Python package to pre-process and hydro-enforce digital elevation models using hydrography features for use in the U.S. Geological Survey (USGS) StreamStats project.

Subaerial Barrier Sediment Partitioning (SBSP) Model Version 1.0 Subaerial Barrier Sediment Partitioning (SBSP) Model Version 1.0

The Subaerial Barrier Sediment Partitioning (SBSP) model is a framework to simulate the morphological development of an idealized barrier coast in the cross-shore domain. The model code, built in MATLAB, consists of two scripts which must reside within the same folder when executed. The first, SBSP_InputControl.m, contains the user-defined input variables to run the simulation. The...

Summarize raster layers within overlapping polygons Summarize raster layers within overlapping polygons

Python code generated for the purpose of summarizing a defined set of discrete/categorical and/or continuous raster layers within zones that may be overlapping. Many widely used GIS tools to summarize raster layers within zones are not capable of handling overlapping zones. This code also allows for the computations to be completed over a number of separate raster layers at once and...

TherMod TherMod

This set of utilities is used to extract temperature profiles and maps from the NCM thermal model (Boyd, 2019). Running the code requires the NCM thermal model, NCM_TemperatureGrids.nc (https://doi.org/10.5066/P935DT1G), and the NCM spatial grid, NCM_SpatialGrid.nc (https://doi.org/10.5066/P9SBQENM). These codes and datasets are part of an effort to produce a three dimensional national...

Thornthwaite Monthly Water Balance Model Thornthwaite Monthly Water Balance Model

The Thornthwaite water balance (Thornthwaite, 1948; Mather, 1978; 1979) uses an accounting procedure to analyze the allocation of water among various components of the hydrologic system. Inputs to the model are monthly temperature and precipitation. Outputs include monthly potential and actual evapotranspiration, soil moisture storage, snow storage, surplus, and runoff.

TracerLPM TracerLPM

An Excel® Workbook for Interpreting Groundwater Age Distributions from Environmental Tracer Data

trajPipeFlow, Discharge from horizontal and vertical flowing pipes by trajectory methods trajPipeFlow, Discharge from horizontal and vertical flowing pipes by trajectory methods

The trajPipeFlow package in the R language provides functions for computation of discharge from horizontal and vertical flowing pipes using trajectory methods of the U.S. Bureau of Reclamation Water Measurement Manual (2001, chap. 14, sec. 13).

USGS Geomagnetism ProgramInterpolated Magnetic Perturbations (Geomag-IMP) USGS Geomagnetism ProgramInterpolated Magnetic Perturbations (Geomag-IMP)

Geomag-IMP is an open-source Python library for interpolating magnetic field perturbations onto geographic coordinates. Geomag-IMP provides two (for now) classes for interpolating magnetic fields:

utc2nwislocal, UTC date-times to NWIS local time zones using UTC offsets utc2nwislocal, UTC date-times to NWIS local time zones using UTC offsets

The utc2nwislocal package in the R language provides a light-weight, dependency-free utility for converting Coordinated Universal Time (UTC) base::as.POSIXct() date-time values into character-string representations for time zones. The UTC offsets for individual time zones are determined from the time-zone codes recognized by the U.S. Geological Survey National Water Information System...
Was this page helpful?