Skip to main content
U.S. flag

An official website of the United States government

Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.


Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Exploring the exceptional performance of a deep learning stream temperature model and the value of streamflow data

Environmental Research Letters
By: , and 



Stream water temperature (Ts) is a variable of critical importance for aquatic ecosystem health. Ts is strongly affected by groundwater-surface water interactions which can be learned from streamflow records, but previously such information was challenging to effectively absorb with process-based models due to parameter equifinality. Based on the long short-term memory (LSTM) deep learning architecture, we developed a basin-centric lumped daily mean Ts model, which was trained over 118 data-rich basins with no major dams in the conterminous United States, and showed strong results. At a national scale, we obtained a median root-mean-square error of 0.69°C, Nash–Sutcliffe model efficiency coefficient of 0.985, and correlation of 0.994, which are marked improvements over previous values reported in literature. The addition of streamflow observations as a model input strongly elevated the performance of this model. In the absence of measured streamflow, we showed that a two-stage model could be used, where simulated streamflow from a pre-trained LSTM model (Qsim) still benefited the Ts model even though no new information was brought directly into the inputs of the Ts model. The model indirectly used information learned from streamflow observations provided during the training of Qsim, potentially to improve internal representation of physically meaningful variables. Our results indicate that strong relationships exist between basin-averaged forcing variables, catchment attributes, and Ts that can be simulated by a single model trained by data on the continental scale.

Study Area

Publication type Article
Publication Subtype Journal Article
Title Exploring the exceptional performance of a deep learning stream temperature model and the value of streamflow data
Series title Environmental Research Letters
DOI 10.1088/1748-9326/abd501
Volume 16
Issue 2
Year Published 2021
Language English
Publisher IOP Science
Contributing office(s) Wisconsin Water Science Center, Upper Midwest Water Science Center
Description 024025, 11 p.
Country United States
Google Analytic Metrics Metrics page
Additional publication details