Published September 14, 2026 | Version v2

Code and Data for: "Environmental drivers of river ecosystem metabolism and their implications for enhanced weathering across the contiguous United States"

  • 1. EDMO icon Texas A&M University

Contributors

  • 1. EDMO icon Texas A&M University
  • 2. EDMO icon University of Washington

Description

This repository contains the code and data used to support the analyses presented in “Environmental drivers of river ecosystem metabolism and their implications for enhanced weathering across the contiguous United States.” It includes datasets and R scripts for random forest model training and evaluation, model interpretation using SHAP and partial dependence analyses, and dissolved inorganic carbon (DIC) enrichment scenario analyses.

Files

Code.zip

Files (2.5 MB)

Name Size
md5:7436c0a90f2cf6aefcb3898391525da3
21.2 kB Preview Download
md5:de98e27942cd42333e06733fd8458bf6
2.5 MB Preview Download

Additional details

Dates

Updated
2026-09-14

Software

Programming language
R

References

  • United States Geological Survey, Annual National Land Cover Database (NLCD) Collection 1 Products (ver. 1.1, June 2025), U.S. Geological Survey (2025); https://doi.org/10.5066/P94UXNTS.
  • T. Maavara, Z. Yuan, A. M. Johnson, S. Zhang, K. S. Aho, C. B. Brinkerhoff, L. A. Logozzo, P. Raymond, River metabolism in the contiguous United States: A West of extremes. Science 390, 622–627 (2025); https://www.science.org/doi/10.1126/science.adu9843
  • A. P. Appling, J. S. Read, L. A. Winslow, M. Arroita, E. S. Bernhardt, N. A. Griffiths, R. O. Hall, J. W. Harvey, J. B. Heffernan, E. H. Stanley, E. G. Stets, C. B. Yackulic, The metabolic regimes of 356 rivers in the United States. Sci. Data 5, 180292 (2018); https://doi.org/10.1038/sdata.2018.292
  • Environmental Protection Agency, United States Geological Survey, Water Quality Portal, U.S. Geological Survey (2013); https://doi.org/10.5066/P9QRKUVJ.
  • A. J. Sekellick, C. E. Sherr, Nitrogen and phosphorus inputs from fertilizer and manure in the Continental United States, 2002-2017, U.S. Geological Survey; https://doi.org/10.5066/P9WDBIXC.