Assessing Climate and Watershed Controls on Rain-on-Snow Runoff Using XGBoost-SHAP Explainable AI (XAI)
Abstract
1. Introduction
2. Data and Methods
2.1. Study Area
2.2. Data
2.3. Meteorological and Watershed Controls on Rain-on-Snow (ROS) Runoff
3. Results and Discussion
3.1. Performance of the XGBoost Model in Predicting Rain-on-Snow Runoff
3.2. Meteorological and Watershed Controls on Rain-on-Snow Runoff
3.3. Impact of Air Temperature and Snow Depth on Rain-on-Snow Runoff Generation
3.3.1. Air Temperature
3.3.2. Snow Depth (SWE)
4. Summary
- The XGBoost models demonstrated acceptable predictive accuracy with notable seasonal differences. The winter model achieved higher predictive performance (R2 = 0.65, Nash–Sutcliffe = 0.59) compared to spring (R2 = 0.56, Nash–Sutcliffe = 0.49), indicating greater predictability of ROS runoff processes during colder months when snowpack dynamics are more stable. Both models struggled with very low runoff values, highlighting the inherent challenges in modeling near-zero hydrological data even with advanced machine learning techniques.
- During winter, runoff is predominantly governed by climatic factors including rainfall intensity, air temperature, and their interactions, with soil permeability and north-facing slopes playing important secondary roles. In contrast, spring ROS events show increased sensitivity to land cover characteristics, particularly crop and shrub cover, as vegetation-driven processes become more influential with rising temperatures.
- Snow depth and temperature effects vary markedly between seasons. Snow depth effects shift from predominantly negative in winter, where snow acts as a storage medium, to positive contributions in spring at shallow to moderate depths as melting potential increases. Air temperature below approximately 2.5 °C tends to suppress ROS runoff in both winter and spring seasons.
- Land cover effects on ROS runoff vary by vegetation type and season. Agricultural areas consistently enhance runoff across both seasons due to reduced infiltration capacity, while shrub-dominated landscapes show stronger positive effects in spring, likely through altered snow distribution patterns.
Funding
Data Availability Statement
Conflicts of Interest
References
- Barnhart, T.B.; Molotch, N.P.; Livneh, B.; Harpold, A.A.; Knowles, J.F.; Schneider, D. Snowmelt rate dictates streamflow. Geophys. Res. Lett. 2016, 43, 8006–8016. [Google Scholar] [CrossRef]
- Hyman-Rabeler, K.A.; Loheide, S.P. Drivers of variation in winter and spring groundwater recharge: Impacts of midwinter melt events and subsequent freezeback. Water Resour. Res. 2022, 59, e2022WR032733. [Google Scholar] [CrossRef]
- Trubilowicz, J.W.; Moore, R.D. Quantifying the role of the snowpack in generating water available for run-off during rain-on-snow events from snow pillow records. Hydrol. Process. 2017, 31, 4136–4150. [Google Scholar] [CrossRef]
- Hensley, R.T.; Singley, J.G.; Gooseff, M.N. Pulses within pulses: Concentration-discharge relationships across temporal scales in a snowmelt-dominated Rocky Mountain catchment. Hydrol. Process. 2022, 36, e14700. [Google Scholar] [CrossRef]
- Eimers, M.C.; Buttle, J.M.; Watmough, S.A. The contribution of rain-on-snow events to annual NO3- N export from a forested catchment in south-central Ontario, Canada. Appl. Geochem. 2007, 22, 1105–1110. [Google Scholar] [CrossRef]
- Casson, N.J.; Eimers, M.C.; Buttle, J.M. The contribution of rain-on-snow events to nitrate export in the forested landscape of south-central Ontario, Canada. Hydrol. Process. 2010, 24, 1985–1993. [Google Scholar] [CrossRef]
- Crossman, J.; Eimers, M.C.; Casson, N.J.; Burns, D.A.; Campbell, J.; Likens, G.E.; Mitchell, M.J.; Nelson, S.J.; Shanley, J.B.; Watmough, S.A.; et al. Regional meteorological drivers and long term trends of winter-spring nitrate dynamics across watersheds in northeastern North America. Biogeochemistry 2016, 130, 247–265. [Google Scholar] [CrossRef]
- Casson, N.J.; Eimers, M.C.; Watmough, S.A. Sources of nitrate export during rain-on-snow events at forested catchments. Biogeochemistry 2014, 120, 23–36. [Google Scholar] [CrossRef]
- Surfleet, C.G.; Tullos, D. Variability in effect of climate change on rain-on-snow peak flow events in a temperate climate. J. Hydrol. 2013, 479, 24–34. [Google Scholar] [CrossRef]
- Grote, T. A synoptic climatology of rain-on-snow flooding in the Mid-Atlantic region using NCEP/NCAR Re-Analysis. Phys. Geogr. 2020, 42, 452–471. [Google Scholar] [CrossRef]
- Cohen, J.; Ye, H.; Jones, J. Trends and variability in rain-on-snow events. Geophys. Res. Lett. 2015, 42, 7115–7122. [Google Scholar] [CrossRef]
- Jeong, D.I.; Sushama, L. Rain-on-snow events over North America based on two Canadian regional climate models. Clim. Dyn. 2018, 50, 303–316. [Google Scholar] [CrossRef]
- Wachowicz, L.J.; Mote, T.L.; Henderson, G.R. A rain-on-snow climatology and temporal analysis for the eastern United States. Phys. Geogr. 2019, 41, 54–69. [Google Scholar] [CrossRef]
- Seybold, E.C.; Dwivedi, R.S.; Musselman, K.N.; Kincaid, D.W.; Schroth, A.W.; Classen, A.T.; Perdrial, J.; Adair, E.C. Winter runoff events pose an unquantified continental-scale risk of high wintertime nutrient export. Environ. Res. Lett. 2022, 17, 104044. [Google Scholar] [CrossRef]
- Myers, D.T.; Ficklin, D.L.; Robeson, S.M. Hydrologic implications of projected changes in rain-on- snow melt for Great Lakes Basin watersheds. Hydrol. Earth Syst. Sci. 2023, 27, 1755–2023. [Google Scholar] [CrossRef]
- Aryal, Y.; Ficklin, D.L.; Myers, D.T. Projected changes in rain-on-snow events and their impacts on summer low streamflow in the Great lakes basin. Environ. Model. Softw. 2025, 193, 106612. [Google Scholar] [CrossRef]
- Aryal, Y.; Ficklin, D.L.; Myers, D.T.; Qi, J.; Knouft, J.H.; Murchie, K.J.; Day, S. Climate-Driven Shifts in Stream Thermal Regimes of the Laurentian Great Lakes Basin: The Role of Rain-on-Snow Events. ESS Open Arch. 2025. [Google Scholar] [CrossRef]
- Kroczynski, S. A Comparison of Two Rain-on-Snow Events and the Subsequent Hydrologic Responses in Three Small River Basins in Central Pennsylvania. 2004. Available online: https://repository.library.noaa.gov/view/noaa/6656 (accessed on 10 September 2025).
- Maclean, R.A.; English, M.C.; Schiff, S.L. Hydrological and hydrochemical response of a small Canadian shield catchment to late winter rain-on-snow events. Hydrol. Process. 1995, 9, 845–863. [Google Scholar] [CrossRef]
- Yang, Z.; Chen, R.; Liu, Y.; Zhao, Y.; Liu, Z.; Liu, J. The impact of rain-on-snow events on the snowmelt process: A field study. Hydrol. Process. 2023, 37, e15019. [Google Scholar] [CrossRef]
- Katz, L.; Lewis, G.; Krogh, S.A.; Drake, S.; Hanan, E.; Hatchett, B.J.; Harpold, A.A. Antecedent snowpack cold content alters the hydrologic response to extreme rain-on-snow events. J. Hydrometeorol. 2023, 24, 1825–1846. [Google Scholar] [CrossRef]
- Trubilowicz, J.W. Hydrometeorology and Streamflow Response During Rain-on-Snow Events in a Coastal Mountain Region. Ph.D. Thesis, University of British Columbia, Vancouver, BC, USA, 2016. [Google Scholar] [CrossRef]
- Pomeroy, J.W.; Gray, D.M.; Hedstrom, N.R. Prediction of snowmelt derived streamflow in a wetland dominated prairie basin. Hydrol. Res. 2012, 43, 193–211. [Google Scholar]
- Storck, P.; Lettenmaier, D.P.; Bolton, S.M. Measurement of snow interception and canopy effects on snow accumulation and melt in a mountainous maritime climate, Oregon, United States. Water Resour. Res. 2002, 38, 1223. [Google Scholar] [CrossRef]
- Winkler, R.D.; Spittlehouse, D.L.; Golding, D.L. Measured differences in snow accumulation and melt among clearcut, juvenile, and mature forests in southern British Columbia. Hydrol. Process. 2005, 19, 51–62. [Google Scholar] [CrossRef]
- Aygün, O.; Kinnard, C.; Campeau, S.; Pomeroy, J.W. Landscape and climate conditions influence the hydrological sensitivity to climate change in eastern Canada. J. Hydrol. 2022, 615, 128595. [Google Scholar] [CrossRef]
- Haleakala, K.; Brandt, W.T.; Hatchett, B.J.; Li, D.; Lettenmaier, D.P.; Gebremichael, M. Watershed memory amplified the Oroville rain-on-snow flood of February 2017. PNAS Nexus 2022, 2, pgac295. [Google Scholar] [CrossRef]
- Barnhart, T.B.; Tague, C.L.; Molotch, N.P. The counteracting effects of snowmelt rate and timing on runoff. Water Resour. Res. 2020, 56, e2019WR026634. [Google Scholar] [CrossRef]
- Pradhanang, S.M.; Frei, A.; Zion, M.; Schneiderman, E.M.; Steenhuis, T.S.; Pierson, D. Rain-on- snow runoff events in New York. Hydrol. Process. 2013, 27, 3035–3049. [Google Scholar] [CrossRef]
- McNamara, J.P.; Chandler, D.; Seyfried, M.; Achet, S. Soil moisture states, lateral flow, and streamflow generation in a semi-arid, snowmelt-driven catchment. Hydrol. Process. 2005, 19, 4023–4038. [Google Scholar]
- Brandt, W.T.; Haleakala, K.; Hatchett, B.J.; Pan, M. A review of the hydrologic response mechanisms during mountain rain-on-snow. Front. Earth Sci. 2022, 10, 791760. [Google Scholar] [CrossRef]
- Hao, D.; Bisht, G.; Xu, D.; Kumar, M.; Leung, L.R. Divergent responses of historic rain-on-snow flood extremes to a warmer climate. Commun. Earth Environ. 2025, 6, 409. [Google Scholar] [CrossRef]
- Suriano, Z.J. North American rain-on-snow ablation climatology. Clim. Res. 2022, 87, 133–145. [Google Scholar] [CrossRef]
- Marks, D.; Winstral, A.; Reba, M.; Pomeroy, J.; Kumar, M. Comparing spatial interpolation methods for snow water equivalent. Hydrol. Process. 2013, 27, 3635–3644. [Google Scholar]
- Berghuijs, W.R.; Woods, R.A.; Hrachowitz, M. Rainfed snowpack dominates river runoff. Water Resour. Res. 2016, 52, 3947–3967. [Google Scholar]
- Arsenault, R.; Brissette, F.; Martel, J.L.; Troin, M.; Lévesque, G.; Davidson-Chaput, J.; Castañeda-Gonzalez, M.; Nachbaur, A.; Poulin, A. A comprehensive, multisource database for hydrometeorological modeling of 14,425 North American watersheds. Sci. Data 2020, 7, 243. [Google Scholar] [CrossRef] [PubMed]
- United States Geological Survey. National Water Information System (NWIS). 2023. Available online: https://waterdata.usgs.gov/nwis (accessed on 10 September 2025).
- Environment and Climate Change Canada. HYDAT: National Water Data Archive. 2023. Available online: https://collaboration.cmc.ec.gc.ca/cmc/hydrometrics/www/ (accessed on 10 September 2025).
- Muñoz-Sabater, J.; Dutra, E.; Agustí-Panareda, A.; Albergel, C.; Arduini, G.; Balsamo, G.; Boussetta, S.; Choulga, M.; Harrigan, S.; Hersbach, H.; et al. ERA5-Land: A state-of-the-art global reanalysis dataset for land applications. Earth Syst. Sci. Data 2021, 13, 4349–4383. [Google Scholar] [CrossRef]
- North American Land Change Monitoring System. Commission for Environmental Cooperation. 2010. Available online: http://www.cec.org/tools-and-resources/north-american-environmental-atlas (accessed on 10 September 2025).
- Wang, H.; Prentice, I.C.; Keenan, T.F.; Davis, T.W.; Wright, I.J.; Cornwell, W.K.; Evans, B.J.; Peng, C. Exploring complex water stress–GPP relationships: Impact of climatic drivers and interactive effects. Glob. Change Biol. 2022, 28, 4110–4123. [Google Scholar] [CrossRef]
- Giardina, F.; Konings, A.G.; Kennedy, D.; Alemohammad, S.H.; Oliveira, R.S.; Uriarte, M.; Gentine, P. Groundwater Rivals Aridity in Determining Global Photosynthesis. Research Square. 2024. Available online: https://www.researchsquare.com/article/rs-3793488/v1 (accessed on 10 September 2025).
- Just, A.C.; Liu, Y.; Sorek-Hamer, M.; Rush, J.; Dorman, M.; Chatfield, R.; Wang, Y.; Lyapustin, A.; Kloog, I. Gradient Boosting Machine Learning to Improve Satellite-Derived Column Water Vapor Measurement Error. Atmos. Meas. Tech. 2019, 13, 4669–4681. [Google Scholar] [CrossRef]
- Liu, Y.; Just, A.; Mayer, M. SHAPforxgboost: SHAP Plots for “XGBoost”. 2023. Available online: https://doi.org/10.32614/CRAN.package.SHAPforxgboost (accessed on 10 September 2025).
- Chen, T.; Guestrin, C. XGBoost: A scalable tree boosting system. In Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016; pp. 785–794. [Google Scholar]
- Lundberg, S.M.; Erion, G.; Chen, H.; DeGrave, A.; Prutkin, J.M.; Nair, B.; Katz, R.; Himmelfarb, J.; Bansal, N.; Lee, S.I. From local explanations to global understanding with explainable AI for trees. Nat. Mach. Intell. 2020, 2, 56–67. [Google Scholar] [CrossRef]
- Lundberg, S.M.; Lee, S.I. A unified approach to interpreting model predictions. Adv. Neural Inf. Process. Syst. 2017, 30, 4768–4777. [Google Scholar]
- Willmott, C.J.; Matsuura, K. Advantages of the mean absolute error (MAE) over the root mean square error (RMSE) in assessing average model performance. Clim. Res. 2005, 30, 79–82. [Google Scholar] [CrossRef]
- Chicco, D.; Warrens, M.J.; Jurman, G. The coefficient of determination R-squared is more informative than SMAPE, MAE, MAPE, MSE and RMSE in regression analysis evaluation. PeerJ Comput. Sci. 2021, 7, e623. [Google Scholar] [CrossRef] [PubMed]
- Nash, J.E.; Sutcliffe, J.V. River flow forecasting through conceptual models. J. Hydrol. 1970, 10, 282–290. [Google Scholar] [CrossRef]
- Knoll, L.; Breuer, L.; Bach, M. Reproducibility of hydrological model performance: Should we expect more? Hydrol. Sci. J. 2019, 64, 1175–1190. [Google Scholar]
- Freudiger, D.; Kohn, I.; Stahl, K.; Weiler, M. Large-scale analysis of changing frequencies of rain-on-snow events with flood-generation potential. Hydrol. Earth Syst. Sci. 2014, 18, 2695–2709. [Google Scholar] [CrossRef]
- Lundquist, J.D.; Dettinger, M.D.; Stewart, I.T.; Cayan, D.R. Variability and trends in spring runoff in the western United States. In Climate Warming in Western North America—Evidence and Environmental Effects; University of Utah Press: Salt Lake City, UT, USA, 2009; pp. 63–76. Available online: https://api.semanticscholar.org/CorpusID:37678150 (accessed on 10 September 2025).
- Þorsteinsson, R.Ó. Improving Spring Melt Calculations of Surface Runoff in the Upper Þjórsá River Using Measured Snow Accumulation. Master’s Thesis, University of Iceland, Reykjavik, Iceland, 2015. Available online: https://skemman.is/bitstream/1946/23089/1/MS%20ritger%c3%b0-Reynir%20%c3%93li%20%c3%9eorsteinsson-loka.pdf (accessed on 10 September 2025).
- Seybold, E.C.; Bergstrom, A.; Jones, C.N.; Burgin, A.J.; Zipper, S.; Godsey, S.E.; Dodds, W.K.; Zimmer, M.A.; Shanafield, M.; Datry, T.; et al. How low can you go? Widespread challenges in measuring low stream discharge and a path forward. Limnol. Oceanogr. Lett. 2023, 8, 804–811. [Google Scholar] [CrossRef]
- Yu, S.; Shanafield, M.; Kennard, M.J. Assessing the influence of zero-flow threshold choice for characterising intermittent stream hydrology. Hydrol. Process. 2024, 38, e15300. [Google Scholar] [CrossRef]
- Addor, N.; Melsen, L.A. Legacy, rather than adequacy, drives the selection of hydrological models. Water Resour. Res. 2019, 55, 378–390. [Google Scholar] [CrossRef]
- Feng, D.; Beck, H.E.; Lawson, K.; Shen, C. The suitability of differentiable, physics-informed machine learning hydrologic models for ungauged regions and climate change impact assessment. Hydrol. Earth Syst. Sci. 2023, 27, 2357–2373. [Google Scholar] [CrossRef]
- Bouchard, B.; Nadeau, D.F.; Dominé, F.; Wever, N.; Michel, A.; Lehning, M.; Isabelle, P. Impact of intercepted and sub-canopy snow microstructure on snowpack response to rain-on-snow events under a boreal canopy. Cryosphere 2024, 18, 2783–2807. [Google Scholar] [CrossRef]
- Juras, R.; Pavlásek, J.; Vitvar, T.; Šanda, M.; Hotový, O.; Kulasová, B.; Adamec, M. Isotopic tracing of the outflow during artificial rain-on-snow event. J. Hydrol. 2021, 598, 126228. [Google Scholar] [CrossRef]
- Jennings, K.; Kittel, T.G.F.; Molotch, N.P. Observations and simulations of the seasonal evolution of snowpack cold content and its relation to snowmelt and the snowpack energy budget. Cryosphere 2017, 12, 1595–1614. [Google Scholar] [CrossRef]
- Musselman, K.N.; Molotch, N.P.; Brooks, P.D. Effects of vegetation on snow accumulation and ablation in a mid-latitude sub-alpine forest. Hydrol. Process. 2008, 22, 2767–2776. [Google Scholar] [CrossRef]
- Pomeroy, J.W.; Gray, D.M.; Hedstrom, N.R.; Janowicz, J.R. Prediction of seasonal snow accumulation in cold climate forests. Hydrol. Process. 2002, 16, 3543–3558. [Google Scholar] [CrossRef]
- Würzer, S.; Jonas, T. Spatio-temporal aspects of snowpack runoff formation during rain on snow. Hydrol. Process. 2018, 32, 3434–3445. [Google Scholar] [CrossRef]
- Burt, T.; Slattery, M.C. Land use and land cover effects on runoff processes: Agricultural effects. In Encyclopedia of Hydrological Sciences; Wiley: Hoboken, NJ, USA, 2006. [Google Scholar] [CrossRef]
- Fuss, C.B.; Driscoll, C.T.; Green, M.B.; Groffman, P.M. Hydrologic flowpaths during snowmelt in forested headwater catchments under differing winter climatic and soil frost regimes. Hydrol. Process. 2016, 30, 4617–4632. [Google Scholar] [CrossRef]
- Dwivedi, R.; Biederman, J.A.; Broxton, P.D.; Pearl, J.K.; Lee, K.; Svoma, B.M.; van Leeuwen, W.J.D.; Robles, M.D. How three-dimensional forest structure regulates the amount and timing of snowmelt across a climatic gradient of snow persistence. Front. Water 2024, 6, 1374961. [Google Scholar] [CrossRef]
- Jones, H.G.; Pomeroy, J.W. Early spring snowmelt in a small boreal forest watershed: Influence of concrete frost on the hydrology and chemical composition of streamwaters during rain-on-snow events. In Proceedings of the Eastern Snow Conference, Ottawa, ON, Canada, 14–17 May 2001; Volume 58, pp. 209–218. [Google Scholar]
- Essery, R.; Pomeroy, J.W.; Ellis, C.; Link, T.E. Modelling longwave radiation to snow beneath forest canopies using hemispherical photography or linear regression. Hydrol. Process. 2008, 22, 2788–2800. [Google Scholar] [CrossRef]





| Variable | Description | Units | Type |
|---|---|---|---|
| rainfall | Daily liquid precipitation during ROS event | mm/day | Meteorological |
| temp | Average near-surface (2 m) air temperature during ROS day | °C | Meteorological |
| wind | Average near-surface (10 m) wind speed during ROS day | m/s | Meteorological |
| rain_temp | Interaction term: rainfall × air temperature | Mm · °C/day | Meteorological interaction |
| slope | Mean catchment slope gradient | % | Topographic |
| snow_depth | Snow water equivalent (SWE) at the time of ROS event | mm | Meteorological |
| soil_perm | Soil permeability (saturated hydraulic conductivity) | cm/h | Soil property |
| north_aspect | Proportion of catchment area with north-facing slopes (315–45°) | dimensionless (0–1) | Topographic |
| crop | Proportion of catchment area covered by agricultural/cropland | dimensionless (0–1) | Land cover |
| shrub | Proportion of catchment area covered by shrubland | dimensionless (0–1) | Land cover |
| temp_snow | Interaction term: air temperature × snow depth | °C · mm | Meteorological interaction |
| forest_temp | Interaction term: forest cover × air temperature | °C | Land cover-climate interaction |
| forest_wind | Interaction term: forest cover × wind speed (proxy for turbulent energy flux in forest canopy) | m/s | Land cover-climate interaction |
| urban | Proportion of catchment area covered by urban/developed land | dimensionless (0–1) | Land cover |
| east_aspect | Proportion of catchment area with east-facing slopes (45–135°) | dimensionless (0–1) | Topographic |
| soil_porosity | Total soil porosity (fraction of soil volume occupied by pore space) | dimensionless (0–1) | Soil property |
| drainage_area | Total catchment drainage area | km2 | Catchment characteristic |
| Performance Metric | Winter | Spring | ||
|---|---|---|---|---|
| Train | Test | Train | Test | |
| RMSE | 2.53 | 4.21 | 3.44 | 3.61 |
| R2 | 0.84 | 0.65 | 0.72 | 0.56 |
| MAE | 1 | 1.68 | 1.16 | 1.62 |
| MAPE | 323.96 | 516.82 | 317.25 | 535.19 |
| Nash–Sutcliffe | 0.81 | 0.59 | 0.64 | 0.49 |
| Bias | 0.52 | 0.77 | 0.65 | 0.7 |
| Spearman Correlation | 0.89 | 0.74 | 0.86 | 0.67 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Aryal, Y. Assessing Climate and Watershed Controls on Rain-on-Snow Runoff Using XGBoost-SHAP Explainable AI (XAI). Geosciences 2025, 15, 467. https://doi.org/10.3390/geosciences15120467
Aryal Y. Assessing Climate and Watershed Controls on Rain-on-Snow Runoff Using XGBoost-SHAP Explainable AI (XAI). Geosciences. 2025; 15(12):467. https://doi.org/10.3390/geosciences15120467
Chicago/Turabian StyleAryal, Yog. 2025. "Assessing Climate and Watershed Controls on Rain-on-Snow Runoff Using XGBoost-SHAP Explainable AI (XAI)" Geosciences 15, no. 12: 467. https://doi.org/10.3390/geosciences15120467
APA StyleAryal, Y. (2025). Assessing Climate and Watershed Controls on Rain-on-Snow Runoff Using XGBoost-SHAP Explainable AI (XAI). Geosciences, 15(12), 467. https://doi.org/10.3390/geosciences15120467

