Iranian Water Research Journal

Iranian Water Research Journal

Modeling Streamflow During the Snowmelt-Dominated Period Using LSTM and ERA5-LAND Reanalysis Data (A Case Study: The Snow-Covered Bazoft Basin)

Document Type : Original Article

Authors
1 Ph D. Student of Faculty of Water and Environmental Engineering, Shahid Chamran University of Ahvaz, Ahvaz, Iran.
2 Associate Professor, Faculty of Water and Environmental Engineering, Shahid Chamran University of Ahvaz, Ahvaz, Iran
3 Assistant Professor, Faculty of Water and Environmental Engineering, Shahid Chamran University of Ahvaz, Ahvaz, Iran
Abstract
Extended Abstract
Introduction
Mountain snow reserves are a crucial component of the hydrological cycle in high-altitude basins, supplying a substantial portion of river flow during the warm season. Forecasting discharge during the snowmelt-dominated period is therefore essential for water resource management and flood mitigation, a challenge intensified by climate change impacts on melt timing. While physically-based and conceptual temperature-index models are common, they face limitations due to data scarcity or an inability to capture complex, non-linear melt-runoff processes. Consequently, this study employed a data-driven approach using a Long Short-Term Memory (LSTM) deep learning network to model the non-linear temporal dynamics of snowmelt. Specifically, an LSTM model was developed and evaluated to forecast daily discharge during the snowmelt period in the data-scarce, snow-fed Bazoft Basin, Iran. To address the lack of in-situ data, meteorological time series from the ERA5 reanalysis product were utilized as model inputs. The results demonstrated the LSTM model's effectiveness in learning the long-term dependencies between snowmelt processes and streamflow, offering a robust framework for seasonal runoff prediction in snow-dominated regions to support sustainable water management.

Materials and Methods
This study was conducted in the snow-covered Bazoft Basin, located in the northern Karun River catchment, Iran (31.6°–32.65° N, 49.56°–50.46° E). The basin experiences snow accumulation from December to March, with the snowmelt-dominated period occurring from mid-February to April, during which snowmelt is the primary contributor to streamflow. Daily streamflow data from the Landi hydrometric station were used as the target variable. Due to the scarcity of ground-based meteorological stations in this mountainous region, this study utilized the ERA5-LAND reanalysis dataset from the European Centre for Medium-Range Weather Forecasts (ECMWF). ERA5-LAND provides improved spatial resolution (9 km) compared to ERA5 (31 km) and has been extensively validated in previous studies over Iran, demonstrating high correlation with ground observations, particularly for temperature (R² > 0.95). The following daily variables were extracted: air temperature (T), precipitation (P), and snow water equivalent (SWE). The Gamma Test (GT), a non-parametric method for identifying the optimal input combination, was employed to select the most relevant input variables. Four different input combinations were evaluated: M1 (Q and SWE), M2 (Q, T, and SWE), M3 (Q, P, and SWE), and M4 (Q, P, T, and SWE). The combination with the minimum Gamma value and V-ratio was selected as the optimal input set. A Long Short-Term Memory (LSTM) neural network was developed to model the non-linear, long-term temporal dependencies inherent in the snowmelt-runoff process. The LSTM architecture includes forget, input, and output gates that regulate information flow, enabling the network to retain relevant information over extended time steps. The model was implemented using the Keras framework. The dataset was randomly divided into training (80%) and testing (20%) subsets. Various hyperparameters were optimized, including the number of hidden layers (1–3), the number of hidden units (10–40), and seven optimization algorithms (Adam, Adamax, SGD, RMSprop, Nadam, Adagrad, and Adadelta). Model performance was evaluated using the Nash-Sutcliffe Efficiency (NSE), Root Mean Square Error (RMSE), and Coefficient of Determination (R²).
Results and Discussion
The Gamma Test results identified the optimal input combination for LSTM modeling. Among the four evaluated combinations, M2 (discharge, temperature, and snow water equivalent) exhibited the minimum Gamma value (0.00151) and V-ratio (0.00412), indicating the smoothest input-output relationship with the lowest irreducible noise. Consequently, M2 was selected as the most appropriate input set for subsequent LSTM modeling. Evaluation of LSTM hyperparameters revealed that a single hidden layer architecture outperformed deeper configurations (2-3 layers), achieving the lowest RMSE (0.220) and MAE (0.125). Regarding hidden units, 20 neurons yielded optimal performance. Among seven optimization algorithms compared, Adamax demonstrated superior results with RMSE and MAE values of 0.37 and 0.18, respectively, and was therefore selected as the optimizer for the final model. The LSTM model with M2 inputs (Q, T, SWE) demonstrated exceptional performance in simulating daily streamflow during the snowmelt-dominated period. During the training phase, the model achieved NSE=0.994, R²=0.991, and RMSE=0.08. In the testing phase, performance remained excellent with NSE=0.994, R²=0.991, and RMSE=0.174. Visual comparison of observed and simulated hydrographs for the 2021-2022 and 2022-2023 water years showed that the LSTM accurately captured both low-flow conditions and peak discharges during snowmelt events. Scatter plots further confirmed this accuracy, with points closely clustered around the 1:1 line and R² values of 0.997, demonstrating that the model effectively reproduced the variance in observed streamflow across the entire flow regime. The superior performance of the LSTM model can be attributed to its inherent capability to capture long-term temporal dependencies through memory cells and gating mechanisms, which is particularly advantageous for snowmelt-runoff processes characterized by lagged responses and memory effects. The inclusion of SWE as an input variable proved crucial, as it directly represents the accumulated snowpack available for melt, while temperature controls the melt energy. Notably, the M2 combination (Q, T, SWE) outperformed combinations including precipitation (M3 and M4), suggesting that during the snowmelt-dominated period, the hydrological signal is primarily governed by snowmelt dynamics rather than concurrent rainfall. Comparison with previous studies demonstrated the competitiveness of the proposed approach. The obtained NSE (0.994) substantially exceeded values reported for traditional temperature-index models (NSE~0.80) and was higher than ANN-based snowmelt runoff predictions (NSE~0.93). The results were comparable with other LSTM applications in hydrological modeling (NSE~0.99). However, this study specifically contributed to the limited literature on LSTM application for snowmelt-dominated period streamflow modeling in data-scarce mountainous regions. The successful integration of ERA5-LAND reanalysis data addresses the critical challenge of data scarcity in mountainous basins. The high accuracy achieved demonstrated that reanalysis products can effectively substitute for ground-based meteorological observations when the latter are unavailable, provided they are appropriately validated for the study region.

Conclusion
This study demonstrated that the LSTM model, forced with ERA5-LAND reanalysis data (temperature and snow water equivalent) together with antecedent discharge, accurately simulated daily streamflow during the snowmelt-dominated period in the data-scarce Bazoft Basin (NSE=0.994, RMSE=0.174). The optimal performance was achieved with a single hidden layer, 20 hidden units, and the Adamax optimizer. The superior performance of the temperature-SWE-discharge combination over precipitation-inclusive inputs confirmed the dominance of snowmelt processes during the study period. This framework offers an effective solution for seasonal runoff prediction in snow-dominated mountainous regions lacking dense ground-based observations, supporting informed water resource management and planning.
Keywords
Subjects

1- Afsharipour, F., Sharifi M. R. and Motamedi, A., 2024. Evaluation of SZIsnow and SMRI indices performance in monitoring hydrological drought in snow-fed basins using GLDAS database. Iranian Wter Research, 18(3), pp. 97-107. [In Persian]. https://doi.org/ 10.22034/IWRJ.2024.14819.2613
 
2- Adib, A., Pourghasemzadeh, M. and Lotfirad, M., 2024. RNN-based monthly inflow prediction for Dez Dam in Iran considering the effect of wavelet pre-processing and uncertainty analysis. Hydrology, 11, 155. https://doi.org/10.3390/hydrology11090155
 
3. Adnan, M., Liu, S., Saifullah, M., Iqbal, M., Saddique, Q., Ul Hussan, W. and Latif, Y., 2024. Estimation of changes in runoff and its sources in response to future climate change in a critical zone of the Karakoram mountainous region, Pakistan in the near and far future, Geomatics, Natural Hazards and Risk, 15(1), https://doi.org/10.1080/19475705.2023.2291330.
 
4. Akyurek, Z., Kuter, S., Karaman, Ç.H. & Akpınar, B., 2023. Understanding the snow cover climatology over Turkey from ERA5-Land reanalysis data and MODIS snow cover frequency product. Geosciences, 13(10), 311. https://doi.org/10.3390/geosciences13100311
 
5. Balsamo, G., Albergel, C., Beljaars, A., Boussetta, S., Brun, E., Cloke, H., et al., 2015. ERA-Interim/Land: A global land surface reanalysis data set. Hydrology and Earth System Sciences, 19(1), pp. 389–407. https://doi.org/10.5194/hess-19-389-2015
 
6. Bengio, Y., 2012. Practical recommendations for gradient-based training of deep architectures. In G. Montavon, G. B. Orr, & K.-R. Müller (Eds.), Neural networks: Tricks of the trade (2nd ed., Lecture Notes in Computer Science, Vol. 7700, pp. 437–478. Springer. https://doi.org/10.1007/978-3-642-35289-8_26
 
7. Callegari, M., Mazzoli, P., de Gregorio, L., Notarnicola, C., Pasolli, L., Petitta, M., & Pistocchi, A., 2015. Seasonal river discharge forecasting using support vector regression: A case study in the Italian Alps. Water, 7(6), pp. 2494–2515. https://doi.org/10.3390/w7062494
 
8. Casson, D.R., Werner, M., Weerts, A. and Solomatine, D., 2018. Global re-analysis datasets to improve hydrological assessment and snow water equivalent estimation in a sub-Arctic watershed. Hydrology and Earth System Sciences, 22, pp. 4685–4697. https://doi.org/10.5194/hess-22-4685
 
9. Chen, X., Huang, J., Wang, S., Zhou, G., Gao, H., Liu, M., Yuan, Y., Zheng, L., Li, Q. and Qi, H., 2022. A New Rainfall-Runoff Model Using Improved LSTM with Attentive Long and Short Lag-Time, Water, 14(5), 697. https://doi.org/10.3390/w14050697.
 
10. Chollet, F., and others, 2019. Keras [Computer software]. https://keras.io
 
11. Fan, H., Jiang, M., Xu, L., Zhu, H., Cheng, J., and Jiang, J., 2020. Comparison of long short-term memory networks and the hydrological model in runoff simulation. Water, 12(1), Article 175. https://doi.org/10.3390/w12010175
 
12. Gregorio, L., Callegari, M., Mazzoli, P., Bagli, S., Broccoli, D., Pistocchi, A., and Notarnicola, C., 2018. Operational river discharge forecasting with support vector regression technique applied to Alpine catchments. Water Resources Management, 32(1), 229–242. https://doi.org/10.1007/s11269-017-1814-x
 
13. Guo, Z., Zhang, Q.-Q., Li, N., Zhai, Y.-Q., Teng, W.-T., Liu, S.-S., and Ying, G.G., 2023. Runoff time series prediction based on hybrid models of two-stage signal decomposition methods and LSTM for the Pearl River in China. Hydrology Research, 54(12), pp. 1505–1521. https://doi.org/10.2166/nh.2023.069
 
14. Hamlet, A.F., Mote, P.W., Clark, M.P. and Lettenmaier, D.P., 2005. Effects of temperature and precipitation variability on snowpack trends in the western United States. Journal of Climate, 18(21), pp.4545–4561. https://doi.org/10.1175/JCLI3538.1
 
15. Havens, S., Marks, D., Fitzgerald, K., Masarik, M., Flores, A.N., Kormos, P. and Hedrick, A., 2019. Approximating Input Data to a Snowmelt Model Using Weather Research and Forecasting Model Outputs In Lieu Of Meteorological Measurements. Journal of Hydrometeorology, 20 (5), pp. 847–862. https://doi.org/10.1175/JHM-D-18-0146.1
 
16. Hazbavi, Z. and Vafakhai, M., 2015. Snowmelt models and methods of snowmelt modeling. Extension and Development of Watershed Management, 3(10). [In Persian].
 
17. Hersbach, H., Bell, B., Berrisford, P., Hirahara, S., Horányi, A. et al., 2020. The ERA5 global reanalysis, Quarterly Journal of the Royal Meteorological Society, 146(730), pp. 1999-2049. https://doi.org 10.1002/qj.3803.
 
18. Hochreiter, S. and Schmidhuber, J., 1997. Long short-term memory. Neural Computation, 9, pp. 1735–1780. https://doi.org/10.1162/neco.1997.9.8.1735
 
19. Hodson, T.O., 2022. Root-mean-square error (RMSE) or mean absolute error (MAE): when to use them or not. Geoscientific Model Development, 15, pp. 5481–5487. https://doi.org/10.5194/gmd-15-5481-2022
 
20. Jiang, P., 2021. A transfer Learning-Based LSTM strategy for imputing Large-Scale consecutive missing data and its application in a water quality prediction system', Journal of Hydrology, 602, p. 126573. https://doi.org /10.1016/j.jhydrol.2021.126573
 
21. Khorram, M., Sharifi, M. R., 2020. Performance evaluation of the SRM model under the influence of different melting months (Case study: Doab Samsami Watershed). Irananian Water Research Journal, 14 (1), pp. 109-117. [In Persian].
 
22. Khosravi, A., Kutev, V., Diop, L., and Alizadeh, M. R., 2021. Evaluation of ERA5-Land reanalysis precipitation data over Iran. Theoretical and Applied Climatology, 146, pp. 929–945. [In Persian].
 
23. Kratzert, F., Klotz, D., Brenner, C., Schulz, K., and Herrnegger, M., 2018. Rainfall–runoff modelling using Long Short-Term Memory (LSTM) networks. Hydrology and Earth System Sciences, 22, pp. 6005–6022. https://doi.org/10.5194/hess-22-6005-2018.
 
24. Kratzert, F., Klotz, D., Brenner, C., Schulz, K., and Herrnegger, M., 2019. Towards learning universal, regional, and local hydrological behaviors via machine learning applied to large-sample datasets. Hydrology and Earth System Sciences, 23(12), pp. 5089–5110. https://doi.org/10.5194/hess-23-5089-2019
 
25. Le, X.-H., Ho, H. V., Lee, G., and Jung, S., 2019. Application of long short-term memory (LSTM) neural network for flood forecasting. Water, 11(7), 1387. https://doi.org/10.3390/w11071387.
 
26. Lee, J., Park, K., and Kim, S., 2023. Comparison and evaluation of machine-learning-based spatial downscaling approaches on satellite-derived precipitation data. ISPRS Annals of the Photogrammetry, Remote Sensing and Spatial Information Sciences, X-1/W1-2023, pp. 919–926. https://doi.org/10.5194/isprs-annals-X-1-W1-2023-919-2023.
 
27. Lundquist, J. D., Hughes, M., Henn, B., Gutmann, E. D., Livneh, B., Dozier, J., and Neiman, P., 2015. Measurements to assess daily gridded datasets across the Sierra Nevada, California. Journal of Hydrometeorology, 16(4), pp. 1773–1792. https://doi.org/10.1175/JHM-D-14-0194.1
 
28. Marasini, U. and Pokhrel, M., 2024. Comparative analysis of rainfall–runoff simulation using a long short-term memory (LSTM) deep learning model and a conceptual hydrological model (HEC-HMS): a case study. Discover Civil Engineering. https://doi.org/10.1007/s44290-024-00084-w
 
29. Muñoz-Sabater, J., Dutra, E., Agustí-Panareda, A., Albergel, C., Arduini, G. et al., 2021. ERA5-Land: A state-of-the-art global reanalysis dataset for land applications. Earth System Science Data, 13(9), 4349–4383. https://doi.org/10.5194/essd-13-4349-2021
 
30. Nagesh, D., Srinivasa Raju, K., and Sathish, T., 2004. River flow forecasting using recurrent neural networks. Water Resources Management, 18, pp. 143–161. https://doi.org/10.1023/B:WARM.0000039360.45081.4a.
 
31. Nouri, M., Homaee, M., Pereira, L. S., and Bybordi, M., 2023. Water management dilemma in the agricultural sector of Iran: A review focusing on water governance. Agricultural Water Management, 288, 108480. https://doi.org/10.1016/j.agwat.2023.108480
 
32. Ouyang, W., Lawson, K., Feng, D., Ye, L., Zhang, C., and Shen, C., 2021. Continental-scale streamflow modeling of basins with reservoirs: Towards a coherent deep-learning-based strategy. Journal of Hydrology, 599, https://doi.org/10.1016/j.jhydrol.2021.126455
 
33. Pradhan, P., Seydewitz, T., Zhou, B., Lüdeke, M. K. B., and Kropp, J. P., 2022. Climate extremes are becoming more frequent, co-occurring, and persistent in Europe. Anthropocene Science, 1, pp. 264–277. https://doi.org/10.1007/s44177-022-00035-9
 
34. Petersen, L., Molotch, N. P., Jepsen, S. M., and Hay, L. E., 2022. Evaluating temperature-index models for snowmelt runoff forecasting in a changing climate. Water Resources Research, 58(4), e2021WR031234. https://doi.org/10.1029/2021WR031234
 
35. Pradhananga, N. S., Kayastha, R. B., Bhattarai, B. C., and Adhikary, S., 2014. Estimation of discharge from Langtang River basin, Nepal, using a glacio-hydrological model. Annals of Glaciology, 55(66), pp. 223–230. https://doi.org/10.3189/2014AoG66A119
 
36. Reisian, R. and Porhemmat, J., 2013. Determination of degree-day factor and snowmelt for a part of the Middle Zagros, case study: Cheri Pass. Journal of Watershed Engineering and Management, 6(2), pp. 165–174. [In Persian].
 
37. Shen, C., 2018. A trans-disciplinary review of deep learning research and its relevance for water resources scientists. Water Resources Research, 54(11), pp. 8558-8593. https://doi.org/10.1029/2018WR022643.
 
38. Stefánsson, A., Končar, N., and Jones, A. J., 1997. A note on the gamma test. Neural Computing & Applications, 5, pp. 131–133. https://doi.org/10.1007/BF01413866.
 
39. Tian, Y. Q., Davies-Colley, R. J., Gong, P., and Thorrold, B. W. (2001). Estimating solar radiation on slopes of arbitrary aspect. Agricultural and Forest Meteorology, 109, pp. 67–74. https://doi.org/10.1016/S0168-1923(01)00262-8
 
40. Uysal, G., Sensoy, A., and Sorman, A. A., 2016.  Improving daily streamflow forecasts in mountainous Upper Euphrates basin by multi-layer perceptron model with satellite snow products. Journal of Hydrology, 543, pp. 630–650. https://doi.org/10.1016/j.jhydrol.2016.10.006
 
41. Wang, W., Cheng, Q., Chau, K., Hu, H., Zang, H., and Xu, D., 2023. An innovative hybrid model for hourly runoff forecasting based on the decomposition-least square support vector regression and whale optimization algorithm. Journal of Hydrology, 618, Article 129460. https://doi.org/10.1016/j.jhydrol.2022.129460
 
42. Yang, Y., Feng, D., Beck, H.E., Hu, W., Ather, A., Sengupta, A., Delle Monache, L., Hartman, R., Lin, P., Shen, C. and Pan, M., 2025. Global Daily Discharge Estimation Based on Grid Long Short-Term Memory (LSTM) Model and River Routing. Water Resources Research, 61, e2024WR039764. https://doi.org/10.1029/2024WR039764.
 
43. Zhou, G., Cui, M., Wan, J. and Zhang, S., 2021. A Review on Snowmelt Models: Progress and Prospect. Sustainability, 13(20), 11485. https://doi.org/ 10.3390/su132011485.
 
44. Zhou, G., Zhao, Q., Zhang, S., Zhang, D. and Li, C., 2024. Rolling forecast of snowmelt floods in data-scarce mountainous regions using weather forecast products to drive distributed energy balance hydrological model. Journal of Hydrology, 637, 131384. https://doi.org/10.1016/j.jhydrol.2024.131384.
 
Volume 20, Issue 3 - Serial Number 62
Is completing ....
Summer 2026
Pages 1-14

  • Receive Date 16 February 2026
  • Revise Date 14 March 2026
  • Accept Date 14 March 2026
  • Publish Date 23 September 2026