Skip to main content
U.S. flag

An official website of the United States government

Model archive component 2, Model Code, in: Machine learning methods for downscaling stream temperature predictions, tested in eight watersheds of the conterminous United States

Published by U.S. Geological Survey | Department of the Interior | Catalog Last Checked: October 23, 2026 at 07:37 AM | Dataset Last Updated: October 20, 2026 at 12:00 AM
This model archive component contains model codes used in the methods experiments of Barclay and others (2026). Code files are archived within a single zip file, code.zip, that preserves the necessary file structure to reproduce simulations. Contents of code.zip are described in the metadata file (2_code.xml) and also in 2_code_file_dictionary.csv. Notes on use of the code files are in 2_code_README_model_code.md. This component is part of a model archive that provides all data, code, and model outputs used in the corresponding manuscript (Barclay and others, 2026) to test machine learning (ML) methods for downscaling and multi-scale modeling of stream temperature to combine an ML model and/or input data at coarse spatial resolution with an ML model and/or input data at fine spatial resolution to predict stream temperatures at fine spatial resolution in a watershed. The models were tested in eight watersheds across the conterminous United States for the period of 1979 through 2021. The data are organized into these components: 1. Model Inputs (https://www.sciencebase.gov/catalog/item/687127e6d4be026e1750edaf) - Meteorological data, river network matrices, and stream temperature observations 2. [THIS ITEM] Model Code (https://www.sciencebase.gov/catalog/item/687128f8d4be026e1750ee0d) - Python files and README for reproducing model training and evaluation 3. Coarse Model (https://www.sciencebase.gov/catalog/item/6871290dd4be026e1750ee0f) - Trained coarse stream temperature model to be downscaled 4. Model Outputs (https://www.sciencebase.gov/catalog/item/6871292ad4be026e1750ee13) - Model simulation outputs and evaluation metrics The publication associated with this model archive is: Barclay, J.R., Koenig, L.E., Fan, Y., Jia, X., Appling, A.P., (2026). Big data for small streams: Leveraging a coarse national model to enhance fine-resolution stream temperature predictions, http://doi.org/10.1029/2025WR041874.

Resources

2 resources available

Find Related Datasets

data.gov

An official website of the GSA's Technology Transformation Services

Looking for U.S. government information and services?
Visit USA.gov