Skip to main content
U.S. flag

An official website of the United States government

This site is currently in beta, and your feedback is helping shape its ongoing development.

Return to search results

1. Model code for model archive: Identifying structural priors in a hybrid differentiable model for stream water temperature modeling

Published by U.S. Geological Survey | Department of the Interior | Metadata Last Checked: January 27, 2026 | Last Modified: 2023-11-28T00:00:00Z
<p>This section provides model code described by Rahmani et al. (2023b). This code accepts basin attributes and forcings and predicts stream temperatures using a differentiable model with neural network and process-based equation components. Code files are contained within code.zip. A description of each code file is given in the 01_code.xml metadata file and also in code_file_dictionary.csv. Instructions on how to run the code are given in code_readme.md.</p> <p>The <a href="https://www.sciencebase.gov/catalog/item/64888368d34ef77fcafe3936">full model archive</a> is organized into these four child items: <li><a href="https://www.sciencebase.gov/catalog/item/648f9bbdd34ef77fcb001ffc"> [THIS ITEM] 1. Model code </a>- Python files and README for reproducing model training and evaluation </li> <li><a href="https://www.sciencebase.gov/catalog/item/648f9c49d34ef77fcb001fff"> 2. Inputs </a>- Basin attributes and shapefiles, forcing data, and stream temperature observations </li> <li><a href="https://www.sciencebase.gov/catalog/item/648f9caed34ef77fcb002001"> 3. Simulations </a>- Simulation descriptions, configurations, and outputs </li> <li><a href="https://www.sciencebase.gov/catalog/item/6495df90d34ef77fcb01e285"> 4. Figure code </a>- Jupyter notebook to recreate the figures in Rahmani et al. (2023b) </li> </p> <p>The publication associated with this model archive is: Rahmani, F., Appling, A.P., Feng, D., Lawson, K., and Shen, C. 2023b. Identifying structural priors in a hybrid differentiable model for stream water temperature modeling. Water Resources Research. <a href=https://doi.org/10.1029/2023WR034420>https://doi.org/10.1029/2023WR034420</a>.</p>

data.gov

An official website of the GSA's Technology Transformation Services

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