Skip to contents

preMetabolizer provides helpers for building the environmental time series commonly needed before fitting stream metabolism models. It includes tools to download external meteorological and elevation data, align irregular time series, convert hydrology and atmospheric units, calculate water and gas chemistry quantities, and assemble light and pressure inputs for streamMetabolizer.

Coordinates

Functions that require locations use latitude and longitude in decimal degrees. Latitude ranges from -90 to 90, longitude ranges from -180 to 180, and western longitudes are negative.

Main workflows

Built-in datasets

french_creek contains 5-minute dissolved oxygen and water temperature observations for a complete metabolism-preparation example. kings_discharge contains daily USGS discharge, gage height, and water temperature observations for flow-duration and seasonal summaries.

Author

Maintainer: Connor Brown ConnorBrown1996@gmail.com (ORCID)

Authors: