Highlights
What are the main findings?
- A machine learning model, trained on a combination of satellite, airborne, drone and station data, estimated the distribution of snow depth.
- Mountain range snow storage volumes have a seasonal average of 534 Mm3 across the Spanish Sierra Nevada over the 2000–2024 period. The trend of snow seasons is evolving towards lower SWE accumulations and shorter durations.
What are the implications of the main findings?
- The framework provides an operational tool for estimating spatially distributed snow water storage to support water management in a regional scale.
- Combining multiple remote sensing and sensor data with citizen science offers a transferable workflow for monitoring snowpacks in data-scarce mountain regions, although the fitted model itself is calibrated to regional conditions and would require recalibration.
Abstract
Snow in mountainous areas is a key resource for water management and associated ecosystems. In the context of climate change, marked by more frequent and intense droughts, it is necessary to quantify this resource to anticipate management strategies and support management measures. In Sierra Nevada (Spain), available snow depth (ds) data are limited and are mainly based on point measurements using few snow poles distributed across different locations. To expand this information base, we have implemented several strategies in recent years: (i) the collection of time-series data through sensors installed on poles, and (ii) citizen participation through the submission of images of these poles. Additionally, remote sensing techniques have been applied to cover larger regions. These include an airborne LiDAR, a tri-stereo image acquisition from Pleiades satellite, and drone-based Structure from Motion surveys in three sub-catchments. Until now, no monitoring campaign as extensive as this has been conducted in terms of the spatial distribution of the data. This study focused on designing a methodology to use these data for training a predictive ds and snow water equivalent (SWE) regional model. This model incorporates as explanatory variables spatially distributed topographic variables and the temporal variables temperature (T) and precipitation (P), while snow-covered area (SCA), derived from ERA5-Land with a cellular automaton model, is used to normalize the target variable and provide the spatiotemporal variability needed for the estimations. Our results demonstrate the model’s capacity to generate daily, spatially distributed ds estimations, facilitating a robust analysis of snow phenology and the evolving relationship between accumulation and ablation cycles and regional water availability.
1. Introduction
Seasonal snowpacks in Mediterranean alpine systems function as strategic water storage systems, acting as natural reservoirs that regulate the hydrologic cycle by storing winter precipitation and providing a sustained baseflow during summer months [1]. In the Spanish Sierra Nevada, this is even more pronounced owing to the region’s aridity, and this storage is vital for the Guadalfeo and Genil river basins, supporting high-value agricultural sectors, hydropower generation, urban supply for the city of Granada, and ski resort tourism [2,3,4]. These Mediterranean mountain environments are characterized by high solar radiation and frequent melt–freeze cycles, making the snowpack predominantly isothermal and highly sensitive to thermal fluctuations [2,4,5]. Consequently, the effects of climate change are quite pronounced in these regions, with projections indicating a likely significant reduction in precipitation, estimated between 22% and 27%, and a projected temperature increase of approximately 4.5 °C by the late 21st century [6]. Such shifts are expected to compress the snow season by up to two months and cause an average annual reduction in SCA of up to 79% [6,7]. Furthermore, the transition from a snowfall-dominated to a rainfall-dominated regime accelerates the ablation phase, shifting the timing of peak discharge and potentially compromising the ecological stability of high-elevation wetlands and endemic flora [6].
Despite its hydrological importance, snow monitoring in alpine regions is often hampered by a lack of in situ data, as the density of high-elevation weather stations remains well below World Meteorological Organization (WMO) standards, primarily because of the complexity of the topography and limited financial resources [1,2,4]. Manual surveys and snow poles provide valuable point measurements, but they are laborious and often fail to capture the spatial heterogeneity inherent in mountainous terrain [3,8]. Furthermore, in the Sierra Nevada, cycles of partial snowmelt during the day and refreeze at night lead to the formation of significant ice layers within the snowpack for much of the season, which complicates manual measurements. To avoid these limitations, remote sensing technologies have improved spatial snow mapping [1], such as LiDAR, which is considered the standard for providing ds maps [9] with decimetric accuracy by differencing the digital terrain model (DTM) and the DEM [10,11]. It should be noted that, due to the high cost of aerial surveys, researchers have begun to use very-high-resolution, lower-cost satellite images, such as those from the Pleiades constellation [10]. Recent studies suggest that satellite photogrammetry is now capable of generating ds maps at a 3 m resolution with a Root Mean Square Error (RMSE) of approximately 0.80 m [10], making the method able to capture localized features such as snow accumulation zones caused by wind redistribution or avalanche deposits across entire catchments, which are often difficult to represent using sparse field observations alone. In addition to these two techniques, drone photogrammetry and LiDAR campaigns allow for the coverage of large areas in a short time with centimetric accuracy [12]; this makes it a practical technique, due to the simplicity of the process and its versatility, offering the ability to capture large amounts of data whenever the user needs it and weather conditions permit. However, advances in remote sensing still require field measurements, which is why the creation of snow pole networks still plays a critical role, particularly in reducing estimation uncertainty and providing reliable reference data for the calibration and validation of distributed models [13].
The ds patterns in mountain environments are shaped by complex interactions between meteorological conditions and topographic variability [8,14,15,16,17]. Elevation generally exerts the strongest control on snow accumulation gradients, although other terrain-related factors also become important, especially during the ablation period. In Mediterranean alpine regions, slope aspect and incoming solar radiation strongly influence the melt dynamics. For instance, south-facing slopes tend to experience earlier snow depletion because of their greater exposure to solar energy [18,19]. Wind redistribution further increases the spatial variability in the snowpack, which is why variables such as the maximum upwind slope (Sx) and terrain curvature are commonly used to identify sheltered concave areas where snow usually accumulates, along with exposed ridges where wind tends to remove snow more easily [17,18,20].
However, these interactions rarely behave in a simple linear manner. The correlation between ds and terrain properties is often scale-dependent and highly nonlinear [21,22], and regression tree approaches applied to similar Mediterranean alpine settings have been used to characterize the topographic control of snow distribution and its inter-annual persistence [20]. This has led many recent studies to use supervised machine learning approaches, especially eXtreme Gradient Boosting (XGBoost) [23,24].
Over the past two decades, snow depth and SWE estimation methods have evolved from empirical and semi-empirical regression formulas [2] towards supervised machine learning (ML) approaches. Comparative studies have shown that ML techniques such as support vector regression, artificial neural networks, and random forests can outperform static empirical formulations by capturing nonlinear relationships between snow depth and multiple predictor variables, although their performance strongly depends on the inclusion of informative predictors and sufficiently large and representative training datasets [17,25]. Among ML approaches, gradient boosting algorithms, particularly XGBoost, have gained increasing attention for snow-related applications, including SWE reconstruction over large domains [24], blowing-snow detection [26], and snow depth retrieval from radar and laser altimetry data [27,28]. Some recent studies have begun to combine multiple ds observation sources with ML, such as UAV-based LiDAR with in situ snow-course measurements [29] or airborne LiDAR with L-band InSAR data [27]. However, the combined use of airborne LiDAR, drone photogrammetry, high-resolution satellite imagery, in situ sensors, and citizen science observations within a single ML training framework has not previously been applied in the Sierra Nevada or in comparable data-scarce, semi-arid Mediterranean mountain environments. This gap motivates the approach adopted in this study.
Instead of relying on a single model, XGBoost builds a sequence of regression trees, where each new tree attempts to reduce the errors produced by the previous tree [26]. This approach seems to work particularly well with large remote sensing datasets and nonlinear relationships that are common in mountain snow environments [24]. ML models, such as XGBoost, are adaptable to any type of data, unlike others, such as autoregressive-moving average model with exogenous terms (ARMAX), which specialize in time series; however, they are not capable of finding correlations in the spatial nature of the data. To account for spatial correlations, variables such as elevation, terrain curvature, and wind exposure, among many others, were combined, as these factors interact differently depending on the terrain and elevation, and their use has already yielded positive results in other studies [2,17,27]. On the other hand, temporal variability is captured by T and P ERA5-Land products, with SCA used to normalize the target variable [2]. Global reanalysis products such as ERA5-Land provide snow variables, but at a resolution of several kilometers, which is likely too coarse to represent the topographic control on snow distribution in mountain terrain. A similar limitation applies to the existing gridded snow products for the Iberian Peninsula, which have a resolution of about 10 km and cover 1980–2014 [30]. To assess the effect of each variable in the model, metrics such as gain, weight, and coverage are typically used to evaluate the contribution of each variable.
Building on these considerations, this study aims to (i) compile, harmonize, and standardize an unprecedented multisource ds dataset for the Sierra Nevada, integrating airborne LiDAR, drone photogrammetry, Pleiades tri-stereo satellite imagery, in situ pole sensors, and citizen science observations into a consistent format suitable for model training; (ii) develop a machine learning framework that combines this dataset with spatially distributed topographic variables and the temporal variables T and P, with SCA used to normalize the target variable and estimate spatially distributed ds and SWE; and (iii) apply this framework to characterize two decades of snowpack evolution in the Sierra Nevada, identifying trends in accumulation and ablation phenology relevant to regional water resource management.
To this end, the following workflow is implemented: the heterogeneous ds datasets are first harmonized and combined into a single training set; an XGBoost regression model is then trained and calibrated against topographic and temporal predictors; and the resulting model is applied to reconstruct daily, spatially distributed ds and SWE fields, which are subsequently analyzed to characterize snowpack dynamics and its recent evolution.
2. Case Study and Data
The study area is located in the Spanish Sierra Nevada mountain range, which is the highest massif in southern Europe within the Mediterranean region Figure 1. Its elevation reaches 3479 m a.s.l. at the Mulhacén peak, the highest point on the Iberian Peninsula. The mountain range extends approximately 80 km from west to east and between 15 and 30 km from north to south [2]. Several datasets were processed to obtain ds data. The first dataset included information derived from photogrammetric drone flights, airborne LiDAR surveys, and a satellite image product from Pleiades (Table 1). These sources provide high spatial resolution and coverage across the study area but correspond to specific flight acquisition dates; therefore, temporal variability is limited (Table 1).
Figure 1.
Distribution of the data used; the areas represent drone photogrammetry and LiDAR data, and the points correspond to snow poles. The geographical coordinates in the figure are in the Universal Transverse Mercator (UTM) projection.
Table 1.
Temporal coverage of in situ and remote sensing datasets. Citizen science initiative data gives an irregular number of data points per day while ERHIN dataset has a data point for each snow pole for the dates given below.
The second dataset consists of ds measurements obtained from two sensors installed on monitoring poles belonging to the ERHIN Program from the Ministry for Ecological Transition and Demographic Challenges (MITECO), complemented by data from a citizen science initiative and from the monitoring pole located at the Refugio Poqueira [31]. These observations exhibit high temporal variability, although they are limited to specific measurement points (Table 1).
Figure 1 shows a partial spatial overlap among the different acquisition techniques and platforms. All available datasets [32,33,34,35] were included because most of them were collected on different dates and thus represent distinct snow conditions. Therefore, each dataset was treated independently while preserving information about its source. Incorporating this temporal variability is crucial for improving model performance, as snow distribution can change considerably between acquisition periods. The inclusion of photogrammetric flights that overlap in both the area and acquisition date with the airborne LiDAR survey is justified by the limited availability of observations; furthermore, multiple measurements of the same area enhance the reliability of the dataset.
Prior to model training, ds values outside a physically plausible range were constrained rather than removed. Negative values, which typically arise from residual noise in DEM differencing near the snow-free and snow-covered transition (particularly in the LiDAR and Pleiades datasets), were reassigned to 0 m. Values exceeding 6 m, an upper bound reflecting the maximum snow thickness expected in the Sierra Nevada and consistent with the range of the available in situ measurements, were instead excluded from the training dataset. Observations near or above this threshold are generally associated with localized, residual accumulation zones resulting from wind redistribution, or with snow deposits at the base of steep slopes and vertical rock walls, and are therefore not representative of the broader snowpack conditions the model is intended to characterize. Given the low frequency of such extreme observations, their exclusion is not expected to substantially reduce the effective training sample size, although it may introduce a conservative bias in the estimation of unusually deep, localized snow accumulations.
Daily satellite products from ERA5-Land Daily Aggregated were also used, specifically P and T variables (bands total_precipitation_sum and temperature_2m), with a spatial resolution of 11.132 km, to estimate the daily SCA using a cellular automata model and thereby introduce temporal variability into the dataset. SCA estimation was performed using a previously developed model at the IGME–CSIC [7], which, by its very design, produces a mask of 460 m per pixel [36].
Although the data acquired through remote sensing techniques can reach centimeter resolution, the final spatial resolution was adjusted to match that of the DEMs without snow used as the reference surface for ds estimation. This choice reflects a practical constraint: the accuracy of the snow depth obtained by differencing is mainly limited by the coarser of the two datasets involved, the snow-on-surface model and the snow-free DEM. This limitation relates to the generation of the observations. The model predictors behave differently: T, P and SCA are coarser and mainly provide the temporal signal, while the spatial pattern within each coarse cell is largely defined by the topographic predictors derived from the 2 m DEM, the estimates are produced at with this grid spacing. This 2 m value is the nominal resolution of the output maps and should not be interpreted as their effective resolution. The DEM without snow was derived from LiDAR surveys conducted by the Spanish Geographic Institute (IGN) and is available at a maximum resolution of 2 m per pixel.
3. Methods
The methodology used in this study is novel in the study area; however, the use of the various explanatory variables is based on previous work [2,3]. Several adjustments have also been made to account for the characteristics of the study area and the available dataset. The workflow for SWE estimation is illustrated in Figure 2.
Figure 2.
Methodology used to train the ds/SCA model.
3.1. Data Processing and Predictor Variables
Prior to model training, all raster layers were reprojected to a common reference coordinate system (ETRS89/UTM zone 30N) and resampled onto this reference grid using nearest neighbor resampling. In situ pole sensor and citizen science point observations were not resampled; instead, their coordinates were reprojected into the coordinate system of each raster predictor, and values were extracted directly at the native resolution of each layer to avoid unnecessary information loss.
The explanatory variables used for model calibration were divided into two categories: static topographic variables and time dependent variables, which together allow the model to capture both spatial and temporal variability in snow distribution. The set of static terrain predictors were calculated using the IGN DEM derived from LiDAR and included elevation, slope, eastness (eastern component of the aspect), northness (northern component of the aspect), mean annual radiation, Sx, and curvature, whereas T and P were incorporated as time dependent variables, and SCA was used to normalize the target variable, enabling the model to account for temporal variability in snow distribution. Because T and P originate from the ERA5-Land grid, whose native resolution is considerably coarser than that of the topographic predictors, all pixels of the reference grid falling within a given ERA5-Land cell were assigned the same T and P value, corresponding to that coarse cell, for each date.
Northness and eastness were used to avoid the confusion arising from using two distinct aspect values (0° and 360°) to represent the same orientation, and were calculated following the expressions described below.
Northness = Cos(aspect), Eastness = Sin(aspect)
Regarding curvature, the Curvature function (Spatial Analyst) from ArcGIS Pro 3.6 was used, which is calculated within a 3 × 3 pixel window. Topographic Position Index (TPI), defined as the difference between the elevation of a given cell and the mean elevation of its surrounding neighborhood, was computed at two spatial scales (20 × 20 and 100 × 100 pixels) to capture, respectively, local microtopographic features and the broader scale position of each cell relative to the surrounding terrain.
Solar radiation, meanwhile, was calculated using the Raster Solar Radiation function (Spatial Analyst), which, given an input date range, computes the total radiation received per unit area over the defined period. In addition to these static topographic predictors and the temporal predictors T and P, a binary snow-free indicator (Snow Index) was introduced to explicitly flag dates on which the entire study domain above 2300 m a.s.l. is free of snow. This indicator is computed from the daily, non-accumulated SCA series rather than from the accumulated SCA described above: a given day is flagged as snow-free only if the daily SCA remains below a minimum threshold for five consecutive days, including that day, a persistence rule that prevents isolated, noisy SCA readings (e.g., caused by residual cloud masking) from spuriously triggering the indicator. Relying on the daily series, rather than the accumulated SCA, is essential because the latter is computed as a moving average over the accumulation window (15–35 days; see Equation (4)) and therefore lags behind the true snow-free transition by up to the length of that window, continuing to reflect past snow-covered conditions well after the snowpack has actually melted out. The Snow Index thus provides the model with an explicit, lag-free signal of snow-free conditions that the accumulated temperature and precipitation predictors cannot capture on their own, reducing the extent to which this transition must be inferred indirectly, and with delay, from those variables.
Finally, to characterize the degree of topographic shelter or exposure to wind, the maximum upwind slope Sx was calculated following [17]. This parameter quantifies, for a given search direction and distance, the steepest upward or downward slope encountered between a cell and the surrounding terrain located upwind, and is used to identify sheltered, concave areas prone to snow accumulation as opposed to exposed ridges subject to wind scouring. The mathematical expression used to calculate the Sx variable [2,17] is as follows:
where θ is the azimuth, the direction of search, dmax is the distance of search, (xi, yi) are the coordinates of the cell of interest and (xv, yv) are the set of cell coordinates located along the search vector defined by θ, dmax and (xi, yi).
The proposed approach consists of training a model to estimate ds/SCA and then reversing the transformation to obtain ds, which helps to avoid large values of ds when SCA is small, and vice versa. Throughout the text, ds denotes snow depth, ds/SCA the normalized target variable of the dynamic model, and SWE the snow water equivalent obtained from ds (Equation (8)). In this formulation, SCA is not an input feature of the model. It is only used to normalize the target variable during training, and once the model has produced its prediction, ds is recovered by multiplying the predicted ds/SCA by the SCA value of the corresponding date. To train the dynamic model, the hyperparameters obtained from the static model were used.
Two different SCA products are used in this workflow, each with a different role. First, the SCA used for normalization is the basin mean of the SCA over the entire study area, accumulated as a moving average over a 25 day window (Equation (4)). This yields a single value for each date, shared by all pixels. Second, the daily SCA maps at 460 m resolution, generated with a cellular automaton model driven by ERA5-Land precipitation and temperature [36], are used as a mask. Once the ds maps were produced by the model, pixels identified as snow-free in these daily maps were excluded from the predicted ds, and SWE was subsequently estimated from the masked ds maps using ρs. This approach was previously used in other studies [7,37] which establish a direct relationship between SCA and ds, and subsequently with SWE. It should be noted that, because the normalization relies on a basin mean, the approach guarantees proportionality only at the basin scale: all pixels on a given date are rescaled by the same factor. The underlying assumption is therefore that the relative spatial pattern of snow distribution, i.e., the proportion of the total snow volume attributable to each pixel remains stable through time, with only its overall amplitude varying according to the basin mean SCA. This assumption is consistent with previous distributed snow modelling approaches applied in this region [2,7].
For Sx to determine the most appropriate parameter values, a correlation analysis was performed between all combinations of angle (θ) and distance (dmax) of the Sx variable and the ds variable for the entire dataset, yielding Figure 3, showing dmax = 500 m and θ = 225° as the best parameters.
Figure 3.
Correlation coefficient between ds and Sx. All combinations of the Sx angle and distance were used.
An analysis of the explanatory variables was conducted to evaluate their correlation with ds and slope aspect in Figure 4. The results indicate that ds increases with elevation, a trend that is particularly pronounced on east- and south-facing slopes for the combination of dmax = 500 m and θ = 225° [6,19]. This altitudinal dependence is consistent with orographic precipitation patterns and lower temperatures at higher elevations [37]. Furthermore, ds scales positively with the degree of slope, especially on southeast, east, and northeast orientations; this is likely due to the fact that solar radiation does not strike these slopes perpendicularly, combined with potential snow accumulation via wind-driven redistribution [15,17].
Figure 4.
Pearson’s correlation coefficient between explanatory variables and ds by aspect.
Consistently, greater ds are found on slopes with a northern component, where reduced solar radiation exposure retards the ablation processes [38]. Regarding terrain geometry, curvature exhibited a limited but discernible inverse correlation with ds. This relationship is physically coherent: negative curvature values (concave surfaces) act as topographic sinks that facilitate snow accumulation, whereas positive values (convex surfaces) correspond to areas of erosion or lower retention.
3.2. Model Formulation and Training
The spatial partitioning strategy was designed to minimize the effect of spatial autocorrelation on model evaluation. All training observations were first grouped into 600 spatially coherent clusters using K-means clustering applied to their planar coordinates (x, y). The observations come from sources with very different spatial density (LiDAR and Pléiades are dense, whereas snow poles are sparse), so that regular spatial blocks could be empty or unbalanced. K-means produces blocks whose size adapts to this density: the median cluster covered 0.29 km2 (convex hull, equivalent diameter of 0.61 km, 5th to 95th percentile range of 0.24 to 1.06 km) and contained 2503 observations (5th to 95th percentile range of 936 to 15,094). Because the clusters are built from coordinates only, all observations from the same location, regardless of date or source, fall in the same fold.
For the static model, the 600 clusters were grouped into 50 folds following a stratification by elevation. The mean elevation of each cluster was computed and the clusters were sorted from the lowest to the highest. They were then grouped into 12 consecutive blocks of 50 clusters, each block representing a narrow altitudinal band. Within each block, the order was shuffled using a fixed random seed and one cluster was assigned to each fold. As a result, every fold contains 12 clusters, one from each altitudinal band, so that each fold spans a representative range of elevations rather than being dominated by a single altitudinal band. The numbers of clusters and folds were selected after preliminary tests with different values.
Hyperparameter optimization was performed using a nested cross-validation scheme: for each of the 50 outer folds, held out in turn as the test set, an inner hyperparameter search was carried out using the Tree-structured Parzen Estimator (TPE) sampler implemented in Optuna [39], minimizing the root mean square error (RMSE). This procedure yielded 50 candidate hyperparameter combinations, each associated with the RMSE obtained on its corresponding outer test fold, with no duplicate combinations among them.
The 20 candidate combinations with the lowest RMSE were retained and carried forward to the dynamic model, in which the temperature (T) and precipitation (P) variables were added and the target variable was redefined as ds/SCA. For this stage, the 600 clusters were re-partitioned into 10 folds rather than 50, in order to reduce the computational cost of the subsequent evaluation. Because the candidate hyperparameters were already fixed at this stage, no further tuning and therefore no validation subset were required; each of the 20 hyperparameter combinations was instead evaluated through 10 independent train/test cycles, rotating which of the 10 folds served as the test set in each cycle, and the resulting performance metrics were averaged across these 10 cycles for each combination. The hyperparameter combination yielding the lowest mean RMSE across the 10 cycles was selected, and its averaged metrics constitute the performance results reported in this study (Section 4). Finally, the selected hyperparameter combination was used to train the definitive, deployed model on the complete dataset, without a held-out test partition, in order to make full use of the available observations for the final distributed ds and SWE estimations.
Incorporating a temporal accumulation window provides the model with antecedent context that a single, same date value cannot capture: evaluating ds on a given date while knowing that the area has recently remained snow-covered over the preceding days is informative in a way that evaluating it in isolation is not. In addition, averaging over a window smooths the signal and reduces its sensitivity to anomalies in any single day, which would otherwise propagate directly into the prediction. A single window length was adopted for each time dependent variable in order to keep the model as simple as possible, although this is not a strict requirement of the approach: additional temporal context could, in principle, be introduced by combining several accumulation windows of different lengths for the same variable, at the cost of increased model complexity. To determine the optimal accumulation window for SCA, the model was trained using all possible windows (0–365 days), calculated using the following expression [3]:
where tν,ξ is the accumulation of variable tw in the instant ν for an accumulation window of [ν − ξ, ν].
It should be noted that, despite the term “accumulation”, used here for consistency with previous work [2], is computed as a moving average rather than a summation, owing to the normalization term in Equation (4). When applied to SCA, this variable therefore represents the mean fraction of the study area covered by snow over the ξ + 1 days preceding each target date, rather than a cumulative snowfall total. Physically, this antecedent SCA average acts as a temporal lag term used to normalize the target variable that provides the model with contextual information on how persistently the area has recently been covered by snow, rather than relying on a single, potentially noisy, daily value. This is relevant because ds at a given time reflects the integrated effect of recent precipitation and ablation events rather than only current-day conditions. For precipitation (P), the values within the same 25-day window were summed, in order to represent the total water input accumulated over that period, whereas for temperature (T), the values within the window were averaged, consistent with the moving-average formulation described above for SCA.
Model performance was assessed using three complementary metrics: the coefficient of determination (R2), the Kling–Gupta efficiency (KGE), and the percent bias (pBIAS), computed as follows:
where Oi and Pi are the observed and predicted values, respectively, is the mean of observed values, r is the linear correlation coefficient between observed and predicted values, α is the ratio of their standard deviations, and β is the ratio of their means. R2 and KGE values closer to 1 indicate better model performance, while pBIAS values closer to 0 indicate lower systematic bias, with positive/negative values indicating a tendency toward overestimation/underestimation, respectively.
The XGBoost model was trained using the predictor variables shown in Figure 2, following the spatial partitioning and nested cross-validation scheme described above. For the LiDAR and Pleiades data sources, due to the exceptionally large volume of observations they generate, a subset of observations was independently and randomly selected from each source without replacement prior to cluster assignment, in order to reduce the computational burden associated with these data sources while preserving a representative sample of their spatial coverage. Initial model iterations produced estimates characterized by physical inconsistencies, notably high ds values at lower elevations where substantial snow accumulation is generally uncommon. This indicated that the model did not fully capture the role of elevation; therefore, to better represent the strong influence of elevation on snow distribution, additional interaction terms were introduced by combining elevation with variables Sx, curvature and solar radiation. Therefore, the variables Sx_elevation, Curvature_elevation, and Radiation_elevation were calculated as the product of each corresponding predictor and elevation.
Subsequent analysis evaluated explanatory variables importance using three standard metrics: gain, weight, and cover. Gain quantifies the average contribution of each feature to reducing the model loss function, being in our case the root mean squared error (RMSE), thereby identifying the most effective predictors for depth estimation. The weight represents the split frequency or the number of times a variable is used to partition data across the ensemble of trees. Cover indicates the relative number of observations or samples affected by splits associated with a specific variable.
Once the model for estimating ds has been established, an SCA spatial mask was applied to the model estimates to exclude pixels identified as snow-free. This masking process is a standard procedure to constrain the spatial domain of ds estimations [3]. The resulting estimation maps are produced daily on the reference grid described in Section 2. Prior to model training, negative ds values, which are not physically meaningful, were set to zero, whereas observations exceeding 6 m were excluded from the training dataset, as such values are associated with residual accumulation zones resulting from wind snow redistribution or deposition at the base of steep slopes, which are not representative of the broader snow distribution and are sparsely represented in the available data [2,25].
Since observations from LiDAR, Pléiades, pole sensors, and citizen science rarely capture fully snow-free conditions, the training dataset was markedly underrepresented in ds = 0 cases, introducing a class imbalance that could bias the model toward overestimating ds once the snowpack has actually melted out. To mitigate this, synthetic zero-depth rows (ds = 0) were generated for the dates flagged as snow-free by the Snow Index, using the same explanatory variables as the real observations, without requiring the ds/SCA ratio to be computed on these dates. To prevent these synthetic rows from dominating the loss function or distorting the relationships learned from real field observations, several proportions of synthetic rows relative to the total training dataset were compared, and a proportion of 0.5% was finally selected. Furthermore, since these rows do not correspond to actual field measurements, they were excluded from the calculation of the performance metrics reported in Section 4, which were computed exclusively on real observations.
Upon deriving the distributed daily ds maps, the SWE was estimated using the daily snow density (ρs) by the statistical model proposed by [40] was employed. Specifically, the maritime climate class parameters were selected for the calculation because of the site’s geographical proximity to the sea, which significantly influences the densification and stratigraphic evolution of the snowpack [41].
where ds and ρs are the observed depth and density of snow respectively and ρw is the density of water.
4. Results
4.1. Model Performance
The optimal accumulation window for SCA was found to be 25 days. The final model was trained and evaluated using the nested cross validation scheme described in Section 3: across 10 rotating cycles, one of the 10 spatially separated folds served as the test set in each cycle while the remaining folds were used for training, with no validation subset required since the hyperparameter combination had already been selected beforehand. This procedure yielded 10 values for each metric, from which the mean and standard deviation were then calculated.
It is important to note that, although the final deployed model is subsequently trained on the complete dataset selected for training in order to make full use of the available observations, no held-out test partition exists for that final model. The metrics reported in Table 2 and Table 3, obtained as the mean and standard deviation across the 10 rotating train/test cycles described above, therefore constitute the actual indicator of how well this variable configuration performs, since they are the only metrics computed on data not seen during training.
Table 2.
Mean and standard deviation values obtained for the selected 25-day accumulation model metrics. Metrics were computed on ds after reversing the transformation ds/SCA.
Table 3.
Mean and standard deviation values obtained for the selected 25-day accumulation model errors. Metrics were computed on ds significantly dictate after reversing the transformation ds/SCA.
According to the results in Figure 5, TPI_20, Snow Index and Sx_elevation achieved the highest gain scores, identifying them as the primary drivers of reducing estimation errors. Although spatial coordinates Elevation TPI_100 and Slope exhibited the highest weight, indicating their utility in structuring the initial nodes and segmenting data by geographic location and topographic features, they did not necessarily provide the highest predictive quality in isolation. Conversely, Snow Index, Radiation_elevation and Curvature_elevation showed the highest cover values. This suggests that these variables influence the widest range of pixels across the study area.
Figure 5.
Explanatory variables importance for the final model. SCA is not included as predictor because it was used to normalize the target variable.
The residuals between the airborne LiDAR data and Pléiades satellite imagery were calculated and compared with the model estimations for the corresponding dates (Figure 6). The spatial analysis was calculated using a subset of 0.2% of the LiDAR and Pleiades data, respectively, selected from the portion of each dataset that had not been used to train the final model, so that the model had not seen these observations beforehand. This correlation analysis yielded R2 = 0.59, RMSE = 0.53 m and MAE = 0.34 m for LiDAR, and R2 = 0.58, RMSE = 0.88 m and MAE = 0.59 m for Pleiades. The analysis revealed that the model tended to underestimate ds in ridge areas and topographic depressions (troughs), indicating that microtopography and wind redistribution significantly dictate the spatial heterogeneity of the snowpack. In addition, there is a significant difference between the data provided by the Pleiades image and the model estimate as can be seen in the higher RMSE and MAE values. A comparative evaluation of both the spatial maps and scatter plots demonstrated closer agreement between model estimations and airborne LiDAR than between model estimations and Pleiades imagery. This pattern is consistent with the established literature identifying LiDAR as the standard for high-resolution snow monitoring, although part of the larger discrepancy observed against Pléiades may also reflect the comparatively lower intrinsic accuracy of satellite photogrammetry relative to airborne LiDAR, which has been reported to differ by roughly an order of magnitude in independent validation studies [10].
Figure 6.
Spatial and statistical comparison between model estimations and remote sensing data. Maps (a,b) show the spatial distribution of residuals (estimation–observation) for airborne LiDAR (06/03/2024) and Pleiades satellite imagery (11/03/2024). Scatter plots (c,d) illustrate the correlation analysis for LiDAR and Pléiades, showing closer agreement between model estimations and LiDAR data.
4.2. Temporal and Spatial Evolution of Snow Depth
Time series of daily mean ds were calculated, incorporating the model RMSE (Figure 7). The results indicate significant interannual variability with a discernible declining trend in snow accumulation; notably, the 2020–2024 period, while still exhibiting occasional high but isolated ds values, no longer shows the sustained periods of elevated ds characteristic of previous decades, when high snow thickness tended to persist for considerably longer, a pattern consistent with reported regional climate shifts in Mediterranean alpine systems [2]. Conversely, specific years, such as 2008–2009, stand out because of a sooner start of the snow season, aligning with historical reconstructions that identify the season as a period of high snow storage in the Sierra Nevada [2].
Figure 7.
Data time series of (a) daily and (b) annual cycle mean ds.
The inclusion of the model RMSE serves as a proxy for the uncertainty interval. This is particularly relevant because machine learning architectures may be prone to ‘naive extrapolation’ when processing meteorological forcing that falls outside the range of the training dataset [42,43]. By explicitly representing this dispersion, the model accounts for the high spatial variance inherent in snow distribution and provides a more robust framework for interpreting estimations during anomalous years [2,7].
The climatological annual cycle of ds across the study area at a daily (b) resolution was calculated. The accumulation phase initiates in October, reaching a mean peak thickness of approximately 1.2–1.3 m by late February and beginning of March, which is consistent with the orographic precipitation patterns and winter temperature regimes in the Sierra Nevada [44]. The transition to the ablation phase in early April is marked by a rapid decline in ds, driven by increased solar forcing and the onset of isothermal conditions within the snowpack [6].
If the mean ds is represented across elevation ranges, it becomes evident that this variable plays a fundamental role, exerting a direct influence on snow accumulation, as illustrated in Figure 8. In general, it is observed that the higher the altitude, the greater the ds; however, at high altitudes, above 3300 m, ds tends to be shallower due to the heavy exposure of these summit areas to strong winds, which cause the snow to sublimate.
Figure 8.
Mean ds for 4 winter seasons and the study area by elevation range.
To examine the evolution of the annual cycle, monthly mean and standard deviation maps (Figure 9) were computed for the entire study period, providing a clearer view of the dynamics. Standard deviation rasters shown in Figure 9, these are computed on a per pixel basis: for each pixel, the standard deviation is calculated across the daily ds or SWE values within a given month, over all dates in that month. The resulting raster therefore represents the temporal variability in ds or SWE at each location within the corresponding month.
Figure 9.
Monthly mean and standard deviation of ds for the study area.
The annual cycle can be divided into several phases. The accumulation phase can occur between October and April, with the maximum mean ds observed in March. From that point onward the melting phase slowly begins while some accumulation can still occur at higher elevations, increasing ds and densifying the snowpack, while melt processes begin to dominate at lower elevations, and finally after May a fast generalized melt process begins.
4.3. SWE Estimation
Figure 10a illustrates the temporal evolution of the total daily SWE over the study period. As expected, the resulting SWE timeseries closely follows the pattern of the daily mean snow depth, reflecting the strong relationship between both variables. However, Figure 10b shows that the year with the highest total daily SWE does not coincide with the year exhibiting the greatest daily mean ds, owing to interannual differences in the estimated ρs.
Figure 10.
Total SWE data series for (a) daily and (b) the mean annual cycle.
The uncertainty of the daily SWE estimate was obtained through error propagation applied to Equation (8), combining two independent sources of error: the uncertainty in ds, taken as the RMSE obtained from the spatial cross-validation of the final model (0.61 m, averaged across the 10 folds); and the uncertainty in snow density, taken from the Maritime class test row of the [40] dataset, the climate class whose coefficients were adopted for this study and the only row validated independently, combining its reported bias (0.056 g/cm3) and standard deviation (0.078 g/cm3) into a single RMSE. Although the daily SWE error is computed on ds averaged spatially over the full study domain, the underlying errors are strongly correlated across pixels, sharing the same daily T and P forcing, the same ds model, and the same density formulation, so dividing the error by the square root of the number of pixels would understate it; the error of the spatial mean was therefore conservatively treated as equal in magnitude to that of a single pixel. For the mean annual climatology, the SWE error was not averaged across years, since it does not represent independent noise that can be meaningfully combined in that way, but was instead recalculated directly from the same formula using the already averaged mean ds.
The spatial heterogeneity of SWE within the study area (Figure 11a) closely mirrors the distribution patterns observed for ds [45], reflecting the dominant influence of elevation and topography on snow accumulation. Monthly statistical analyses revealed a consistent seasonal progression (Figure 11b), characterized by a gradual accumulation phase from October to March. April constitute a transitional period characterized by relative maturation, during which snow accumulation still occurs, but is less frequent and the melt process begins. May marks the beginning of an abrupt and accelerated ablation phase, characterized by a rapid decline in water storage as rising temperatures and solar forcing trigger significant snowmelt fluxes across the mountain range [2].
Figure 11.
(a) Monthly mean, (b) standard deviation of SWE in the study area and (c) monthly box whisker plot for the study period.
Quantifying the total contribution of water resources from seasonal snowpacks is a fundamental requirement for effective water management in Mediterranean alpine catchments [3,7]. This contribution was estimated by aggregating the daily positive increments in SWE (ΔSWE > 0) throughout each hydrological year [2]. Temporal analysis of the accumulated SWE curves (Figure 12a) revealed a consistent accumulation gradient (slope) across most of the study period, suggesting a regional regularity in the intensity of winter precipitation pulses.
Figure 12.
(a) Accumulated SWE for all winter seasons during the study period. The seasons with the highest (2003–2004, 2002–2003, 2012–2013 and 2008–2009) and lowest (2022–2023) total accumulations are highlighted, (b) Number of days corresponding to the total season duration, accumulation period, and melt period, together with the time series of total accumulated SWE for each season.
However, substantial interannual variability was observed in both the initiation dates of the snow season and the ultimate cumulative storage values. The 2002–2003 and 2003–2004 seasons represent historical maxima, with total cumulative SWE exceeding 600 Mm3, which is significantly higher than the average annual storage of 534 Mm3, calculated for the entire period (2000–2024).
As shown in Figure 12b, the four variables derived from the model outputs display a consistent downward trend over the 2000–2024 period. This decline is not limited to the total amount of accumulated SWE: the length of the snow season itself is also shortening, together with a reduction in both the number of accumulation days and the number of melt days. Notably, in most years the number of melt days exceeds the number of accumulation days, indicating that melt processes act over a longer portion of the season than accumulation. This declining trend is consistent with the observations and results reported for the Sierra Nevada in [36], which identified a long-term reduction in snow cover extent and snow persistence across the range, with temperature as the dominant driver of these changes.
5. Discussion
5.1. Model Performance and Validation
In this study, a machine learning approach was developed to generate daily distributed ds maps across the Sierra Nevada using a multisource dataset that expands upon previous regional studies such as [2], which relied exclusively on point ERHIN snow stake observations. The present study incorporates this same ERHIN dataset alongside several additional high-resolution data sources not used in [2], Table 1, together with data collected during more recent snow seasons, allowing the model to draw on a spatially denser and temporally more current set of training observations than previously available for the region. In addition, the methodology incorporates SCA time series obtained from a distributed cellular automata model, building on previous work focused on snow dynamics in Mediterranean mountain environments [6,7,36].
The modelling framework is based on the eXtreme Gradient Boosting (XGBoost) algorithm, which has been widely applied in environmental studies because of its ability to represent nonlinear relationships and interactions among variables [24,27]. SCA was used to normalize the target variable and was combined with topographic and temporal predictors to account for the influence of terrain and climate on snow distribution. The broad spatial coverage of the training dataset allowed the model to reproduce many of the local patterns commonly observed in mountain snowpacks, including snow accumulation in sheltered areas and reduced snow storage on exposed ridges.
The reliability of these outputs is supported by the validation scheme adopted in this study. Rather than relying on a single train and test split, model performance was assessed through a spatial cross-validation scheme in which entire spatial clusters, rather than individual pixels or dates, were held out for testing, so that the reported metrics reflect performance on data the model had not seen during training. The values reported in Table 2 and Table 3 correspond to the mean and standard deviation obtained across 10 rotating spatial folds for this configuration, rather than to a single evaluation, which reduces the likelihood that the reported performance is an artifact of a particular spatial partition. R2 describes the proportion of variance in ds explained by the model, KGE jointly accounts for correlation, variability, and bias between observed and predicted values, pBIAS quantifies systematic over or underestimation, RMSE and MAE express the typical magnitude of the error in physical units, and MSE, by squaring the residuals, places additional weight on larger errors and is therefore more sensitive to occasional large deviations than MAE. Taken together, the resulting values (R2 = 0.56, KGE = 0.67, pBIAS = 1.17%, RMSE = 0.61 m, MAE = 0.41 m, MSE = 0.37 m2) indicate a low systematic bias, and an error magnitude that is consistent with the spatial and temporal variability in ds across the basin, rather than a model whose apparent accuracy is driven by a favorable but unrepresentative sample split. The low standard deviation of these metrics across folds further suggests that model performance is relatively stable across different spatial configurations of the domain, rather than being strongly dependent on a particular subset of the terrain.
These results can be put into perspective against the only previous regional study addressing the spatiotemporal estimation of snow depth across the whole Sierra Nevada, [2], which reported coefficients of determination between 0.59 and 0.64 for its dynamic regression models. However, those values were obtained as a goodness of fit measure, calibrated and evaluated on the same set of point observations used to fit the model, through maximum likelihood estimation and information criteria such as the AIC and BIC, rather than through an independent out of sample validation. While the resulting R2 is somewhat lower in absolute terms, it reflects a markedly more conservative and demanding evaluation framework.
5.2. Predictors and Transferability
Regarding the predictive power of the individual predictors, the variable importance analysis (Figure 5) indicates that TPI_20, the Snow Index, and Sx_elevation contribute most to reducing estimation error, as reflected in their gain scores. This pattern is consistent with the physical role of each variable: TPI provides spatial context by characterizing each pixel relative to its surrounding terrain, and combined with Sx_elevation, which captures the joint effect of topographic exposure to wind driven redistribution and elevation, these variables allow the model to effectively represent the influence of topography on snow distribution. The high importance of the Snow Index can be explained by two complementary factors. Its elevated cover score is consistent with the fact that this variable shares the same value across many pixels on a given date, since it is derived from a basin wide condition rather than from pixel specific information. At the same time, its high gain score reflects its direct relevance to the target variable, as it provides the model with explicit information on the snow-free condition, allowing it to better represent the transition towards melt dominated regimes. Precipitation also shows a high importance, indicating that the temporal variability captured by the model is substantially influenced by this variable as well.
It is important to note that while the overall workflow, combining multisource ds observations, terrain predictors, and a reconstructed SCA time series within an XGBoost framework, is conceptually transferable, the fitted model presented here is not directly applicable outside Sierra Nevada. It relies on local coordinates, a site Sx configuration, a regional SCA reconstruction, and spatially distributed ds observations collected mainly during 2024. This limitation is consistent with findings reported for other machine learning approaches to snow depth distribution, ref. [16] showed that Random Forest models trained on topographic predictors performed well when evaluated at the same sites used for training (R2 between 0.82 and 0.94), but failed markedly when applied to a site not included in training, with mean absolute errors increasing to above 0.8 m, underscoring that limited transferability across sites is a recurring constraint for terrain based machine learning models of snow depth rather than a limitation specific to this study. Application to other regions would require functionally equivalent inputs (a snow-free DEM, at least one spatially distributed ds dataset covering the main terrain types, temporal constraints on snow cover, and locally evaluated snow density) rather than the same fitted parameters. Nevertheless, the temporal coverage of the available observations remains more limited than the spatial coverage, suggesting that additional long-term datasets would likely improve the representation of interannual variability.
Similarly, model performance is expected to benefit from the inclusion of observations spanning a wider range of snow seasons, capturing a broader variability in accumulation and melt conditions, including unusually extreme years and the gradual changes in snowpack dynamics associated with ongoing climate trends. Periodic retraining with newly collected observations from both accumulation and melt periods would help the model better capture this temporal variability, and refining the resolution of the temperature and precipitation inputs would further improve its ability to represent evolving climatic and snowpack conditions in the region.
5.3. SWE Estimation and Water Resources
The final model generates spatially distributed ds estimations for specific target dates, which were subsequently converted into SWE using the bulk snow density statistical model proposed by [40]. The maritime climate class was selected for this application because it is expected to best represent the environmental conditions of the Sierra Nevada, given the region’s proximity to the Mediterranean Sea, its comparatively short winter periods, and the frequent melt and freeze cycles driven by a significant diurnal temperature range, which are characteristic of the maritime snowpack class as defined by [40]. However, no local snow density observations were available in this study to independently validate the applicability of this parameterization to Sierra Nevada, and the resulting density, and therefore SWE, estimates should be interpreted with this constraint in mind. A dedicated evaluation of snow density in the region, comparing field measurements against the maritime class parameterization and, where necessary, recalibrating it locally, would constitute a substantial undertaking in its own right and is identified here as a valuable direction for future work.
The resulting model, trained on this combined multisource dataset, achieves the performance metrics reported in Table 2 and Table 3 [2,13]. This enables the generation of spatially distributed ds and SWE estimates that were previously unavailable at this scale for the region, providing a critical operational tool for integrated water resource management in Mediterranean alpine catchments, which are increasingly vulnerable to recurrent and intensified drought cycles [6].
This is valuable information from a socio-economic perspective, the precise quantification of distributed snow water resources is fundamental for ensuring reliable urban water supplies and hydroelectric generation, particularly for major population centers such as the city of Granada that depend directly on reservoir recharge from seasonal snowmelt [3,4,42]. Furthermore, this predictive modeling capability has profound implications for the regional economy by providing the necessary technical basis for optimizing irrigation scheduling for highly valuable agricultural sectors in downstream basins and for enhancing the operational management of the ski industry, which serves as a vital economic driver in southern Europe [4,7,38]. Accurate snow dynamic monitoring also serves as an essential detector for early climate change signals, allowing for the definition of adaptation strategies that mitigate the social risks of water scarcity [44]. Ultimately, the implementation of such a robust monitoring system facilitates the development of proactive management frameworks to mitigate the economic losses associated with climate driven snowpack regression, thereby aiding in the resolution of prevailing conflicts between ecological preservation and the growing anthropogenic demands of the agricultural and tourism sectors [6,42].
The model results revealed a significant shift in snow phenology over the last decade, characterized by a marked increase in the annual duration of the ablation (melting) phase relative to the accumulation phase. This phenological contraction was coupled with a discernible declining trend in the basin total accumulated SWE. While the average annual storage or accumulation of SWE per season is 534 Mm3, recent hydrological years have exhibited substantially lower storage volumes, specifically, the 2020–2021 and 2022–2023 seasons recorded cumulative SWE values of 418 Mm3 and 237 Mm3, respectively. On the other hand 2002–2003 and 2003–2004 seasons represent historical maxima, with total cumulative SWE exceeding 600 Mm3.
This general reduction in snow and water storage directly translates into a reduction in the available water resources for downstream consumption and hydroelectric generation, further exacerbating the vulnerability of Mediterranean water scarcity associated with climate change.
6. Hypotheses, Limitations and Future Works
The proposed framework has several methodological hypotheses and potential refinements that must be addressed to enhance the robustness of future estimations.
- Topographic reference: ds calculations utilized a digital elevation model (DEM) derived from airborne LiDAR flights as the “snow-off” reference surface. In this study, the snow-free reference DEM was obtained directly from freely available, periodically updated LiDAR products provided by the Spanish national mapping agency (IGN), and therefore did not require dedicated data acquisition. However, in environments where high-resolution national DEMs are unavailable or outdated, the acquisition of photogrammetry without snow is a critical prerequisite to ensure that topographic features, such as micro-curvature and roughness, are not confounded by antecedent snow or dense vegetation during the differencing process.
- Model transferability: This study should be regarded as a regional demonstration of the proposed methodology rather than evidence of direct model portability; a systematic sensitivity analysis of the minimum spatial data coverage required for model transfer remains an important direction for future work.
- Multisource data uncertainty: The model-training phase integrated heterogeneous data sources characterized by varying levels of inherent uncertainty. This inclusive approach was adopted to maximize the captured temporal variability in regions where high-altitude observations are historically scarce, since the remote sensing products correspond to acquisitions on a few dates in 2024, whereas snow pole and citizen science observations provide the only information on other dates and seasons. However, the individual contribution of each data source to model performance was not evaluated in this study. A controlled comparison, for example, training the model without each source, would be needed to quantify it and is identified as future work. Future iterations should also focus on an error-weighted training architecture. By explicitly incorporating the specific error metrics of each data source (e.g., LiDAR decimetric accuracy vs. snow pole visual inspection), the model can provide a more rigorous quantification of its predictive uncertainty.
- Temporal predictor expansion: To improve the characterization of the snowpack’s dynamic evolution, future models should incorporate a broader suite of temporal explanatory variables with higher resolution. Including factors such as daily radiation or wind speed metrics would allow the XGBoost architecture to better resolve the non-linear shifts in accumulation and ablation phenology that occur as the season progresses.
- Resolution disparity and masking artifacts: A significant scale mismatch existed between the nominal grid of the model of the model estimations and the 460 m resolution of the SCA mask. This disparity can lead to edge effects and pixel misclassification, where fine-scale snow-covered features at high elevations are erroneously excluded, or conversely, pixels without snow are included within a 460 m footprint. Future research should prioritize the integration of higher-resolution satellite products to constrain distributed ds estimations more accurately.
- Effective resolution: the effective resolution of the ds estimates, as opposed to their nominal grid spacing, was not quantified. A multiscale evaluation against spatially contiguous, independent observations, aggregating predictions and observations to progressively coarser scales, would be required to determine the finest scale at which the estimates are reliable, and is recommended for future applications of the framework.
7. Conclusions
The study presents a useful workflow for the assessment of snowpack dynamics in Mediterranean alpine environments, specifically within the Sierra Nevada mountain range, through the integration of multisource data and the application of a sophisticated machine learning technique, eXtreme Gradient Boosting (XGBoost). This approach combines high-resolution spatial datasets from remote sensing platforms, such as airborne LiDAR, drone photogrammetry, and satellite imagery, with temporally rich in situ measurements from snow poles and citizen science initiatives, broadening the spatial and temporal coverage available compared to traditional snow-monitoring methods, which often suffer from sparse spatial coverage and limited temporal resolution, especially in complex mountainous terrain where snow distribution exhibits high spatial heterogeneity driven by topography and microclimatic factors.
By leveraging static topographic variables, including elevation, slope, aspect, curvature, TPI, and wind exposure metrics, alongside the temporal predictors T and P, with SCA used to normalize the target variable, the model captures the nonlinear interactions that vary across scales that govern snow depth (ds) variability, while also incorporating interaction terms between elevation and other terrain features further enhances the model’s ability to represent critical environmental controls on snow accumulation and ablation processes. Hyperparameter optimization was performed using nested spatial cross-validation: observations were grouped into spatially coherent clusters via K-means, stratified by elevation, and assigned to 50 outer folds for the stationary model, with an inner Optuna (TPE) search minimizing RMSE in each fold. The 20 best performing hyperparameter combinations were then carried forward to the transient model, for which the clusters were re-partitioned into 10 folds; each combination was evaluated through 10 rotating train and test cycles, and the combination with the lowest mean RMSE was selected. This approach ensures that model performance is assessed on spatially independent data in every fold, addressing the effects of spatial autocorrelation that a purely random partitioning would not account for.
The results showed that variables such as the Sx combined with elevation, Sx_elevation, TPI and Snow Index and P contributed most significantly to reducing estimation errors. This aligns with the physical understanding that sheltered areas with favorable topographic conditions accumulate deeper snowpacks, while exposed ridges experience snow scouring due to wind. The model’s spatial predictions showed closer agreement with independent airborne LiDAR measurements than with Pléiades satellite imagery, consistent with LiDAR’s established role as a reference dataset for ds estimation.
Temporal analyses reveal notable trends in SWE accumulation and snow seasons over the past two decades, including a contraction of the accumulation and melting phases. These shifts reflect broader regional climate change impacts, characterized by rising temperatures and reduced precipitation, which collectively result in diminished SWE storage. The study quantifies these changes at a daily time step and with spatially distributed coverage of the range, showing significant interannual variability and declining trends in SWE accumulation, particularly pronounced in recent years, with important implications for water resource management, as seasonal snowpacks serve as critical natural reservoirs supporting agriculture, hydropower, urban water supply, and ecosystem services in the Mediterranean region.
The workflow developed here is transferable to other alpine regions, provided functionally equivalent inputs are available, as discussed above, while the fitted model itself provides a regional tool for the Sierra Nevada. Within this region, the resulting distributed SWE estimates can support water availability assessments under increasingly variable and drought prone conditions. The use of citizen science observations alongside remote sensing and in situ data also illustrates one way in which community-contributed data can complement traditional monitoring sources in data-scarce settings, although a systematic assessment of their individual contribution to model performance was not undertaken in this study.
Despite these achievements, the study acknowledges several limitations and areas for future improvement. The reliance on a high-quality digital elevation model (DEM) without snow derived from LiDAR surveys is a prerequisite that may not be feasible in all regions, highlighting the need for alternative approaches where such data are unavailable. The integration of multisource data with varying uncertainties calls for the development of error-weighted training strategies to better quantify and propagate predictive uncertainties; moreover, expanding the suite of temporal predictors to include meteorological variables such as wind speed or time-dependent radiation with a finer resolution could further refine the model’s capacity to capture snowpack evolution dynamics. Additionally, addressing the resolution mismatch between the ds predictions and coarser satellite SCA masks is essential to reduce edge effects and improve spatial accuracy, potentially through the use of higher-resolution satellite products. Furthermore, the effective resolution of the estimates remains to be quantified through a multiscale evaluation.
The cross-validation approach employed mitigates naive extrapolation risks inherent in machine learning models but also requires careful balancing to preserve local-scale heterogeneity. Continued efforts to expand temporal datasets, both in duration and spatial density, will be critical to enhancing model robustness and capturing long-term climate trends.
In conclusion, this research delivers a comprehensive, spatially distributed modeling workflow that integrates diverse data sources to characterize snowpack dynamics in the Sierra Nevada. While the fitted model reflects specific regional conditions and is not intended for direct transfer, the underlying workflow is potentially adaptable to other Mediterranean alpine environments provided functionally equivalent input datasets are available. The demonstrated ability to generate daily ds and SWE maps with the accuracy reported here may support water resource management and climate adaptation efforts in the Sierra Nevada, and may inform similar approaches in comparable regions facing hydrological stress. By combining remote sensing technologies, in situ observations, and machine learning within a single framework, this study demonstrates a viable approach for snow monitoring in data-scarce, topographically complex terrain, offering a methodological reference that may inform similar efforts in comparable Mediterranean alpine regions. Future work focused on uncertainty quantification, temporal predictor enrichment, and resolution harmonization will further strengthen the utility and reliability of this approach, facilitating proactive responses to the challenges posed by climate change on mountain water resources.
Author Contributions
Conceptualization J.M.L.-C., A.J.C.-L. and D.P.-V.; methodology J.M.L.-C., A.J.C.-L., D.P.-V. and S.R.F.; software J.M.L.-C., J.D.H.-H., C.L.-C., J.C.G.L.-D., J.R., C.H.-R. and A.L.-F.; validation A.J.C.-L., D.P.-V. and S.R.F.; formal analysis, J.M.L.-C.; investigation J.M.L.-C.; resources, J.D.H.-H., J.P.-S., J.R., C.L.-C. and J.C.G.L.-D.; data curation J.M.L.-C., C.L.-C., J.C.G.L.-D. and J.R.; writing—original draft preparation J.M.L.-C.; writing—review and editing A.J.C.-L., D.P.-V., S.R.F. and J.R.; visualization J.M.L.-C.; supervision A.J.C.-L., D.P.-V. and S.R.F.; project administration D.P.-V.; funding acquisition D.P.-V. All authors have read and agreed to the published version of the manuscript.
Funding
This research was supported by the following projects: SER-PM (2908/2022; Organismo Autónomo Parques Nacionales) from the National Park Research Program, SIGLO-PRO (PID2021-128021OB-I00) funded by MICIU/AEI/10.13039/501100011033/ (Ministerio de Ciencia, Innovacion y Universidades) and by ERDF, UE, and SIERRA-CC (PID2022-137623OA-I00) funded by MICIU/AEI/10.13039/501100011033 and by ERDF, UE.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
All the new data used in this study are currently in the process of being published and will be available through the following links: https://doi.pangaea.de/10.1594/PANGAEA.992415; https://doi.pangaea.de/10.1594/PANGAEA.992014; https://doi.pangaea.de/10.1594/PANGAEA.991604; https://doi.pangaea.de/10.1594/PANGAEA.991999.
Acknowledgments
The authors would like to thank the Sierra Nevada National Park and the Sierra Nevada Ski Resort (CETURSA) for their logistical support, as well as all the residents who participated in data collection throughout the study area. They would also like to thank the Cryopyr team at the Pyrenean Institute of Ecology (IPE).
Conflicts of Interest
The authors declare no conflicts of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| ds | Depth of Snow |
| Sx | Maximum upwind slope |
| TPI | Topographic Position Index |
| SCA | Snow-Covered Area |
| P | Precipitation |
| T | Temperature |
| SWE | Snow Water Equivalent |
| DEM | Digital Elevation Model |
References
- Shahgedanova, M.; Adler, C.; Gebrekirstos, A.; Grau, H.R.; Huggel, C.; Marchant, R.; Pepin, N.; Vanacker, V.; Viviroli, D.; Vuille, M. Mountain Observatories: Status and Prospects for Enhancing and Connecting a Global Community. Mt. Res. Dev. 2021, 41, A1–A15. [Google Scholar] [CrossRef] [Scilit]
- Collados-Lara, A.-J.; Pulido-Velazquez, D.; Pardo-Igúzquiza, E.; Alonso-González, E. Estimation of the Spatiotemporal Dynamic of Snow Water Equivalent at Mountain Range Scale under Data Scarcity. Sci. Total Environ. 2020, 741, 140485. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Collados-Lara, A.; Pardo-Igúzquiza, E.; Pulido-Velazquez, D. Spatiotemporal Estimation of Snow Depth Using Point Data from Snow Stakes, Digital Terrain Models, and Satellite Data. Hydrol. Process. 2017, 31, 1966–1982. [Google Scholar] [CrossRef] [Scilit]
- Polo, M.J.; Herrero, J.; Pimentel, R.; Pérez-Palazón, M.J. The Guadalfeo Monitoring Network (Sierra Nevada, Spain): 14 Years of Measurements to Understand the Complexity of Snow Dynamics in Semiarid Regions. Earth Syst. Sci. Data 2019, 11, 393–407. [Google Scholar] [CrossRef] [Scilit]
- Diaz-Hernandez, J.L.; Herrera-Martinez, A.J. Hydrological Characteristics and Paradoxes of Mediterranean High-Mountain Water-Bodies of the Sierra-Nevada, SE Spain. Hydrology 2019, 6, 59. [Google Scholar] [CrossRef] [Scilit]
- Hidalgo-Hidalgo, J.-D.; Collados-Lara, A.-J.; Pulido-Velazquez, D.; Rueda, F.J.; Pardo-Igúzquiza, E. Analysis of the Potential Impact of Climate Change on Climatic Droughts, Snow Dynamics, and the Correlation between Them. Water 2022, 14, 1081. [Google Scholar] [CrossRef] [Scilit]
- Collados-Lara, A.-J.; Pardo-Igúzquiza, E.; Pulido-Velazquez, D. A Distributed Cellular Automata Model to Simulate Potential Future Impacts of Climate Change on Snow Cover Area. Adv. Water Resour. 2019, 124, 106–119. [Google Scholar] [CrossRef] [Scilit]
- Deems, J.S.; Fassnacht, S.R.; Elder, K.J. Fractal Distribution of Snow Depth from Lidar Data. J. Hydrometeorol. 2006, 7, 285–297. [Google Scholar] [CrossRef] [Scilit]
- Painter, T.H.; Berisford, D.F.; Boardman, J.W.; Bormann, K.J.; Deems, J.S.; Gehrke, F.; Hedrick, A.; Joyce, M.; Laidlaw, R.; Marks, D.; et al. The Airborne Snow Observatory: Fusion of Scanning Lidar, Imaging Spectrometer, and Physically-Based Modeling for Mapping Snow Water Equivalent and Snow Albedo. Remote Sens. Environ. 2016, 184, 139–152. [Google Scholar] [CrossRef] [Scilit]
- Deschamps-Berger, C.; Gascoin, S.; Berthier, E.; Deems, J.; Gutmann, E.; Dehecq, A.; Shean, D.; Dumont, M. Snow Depth Mapping from Stereo Satellite Imagery in Mountainous Terrain: Evaluation Using Airborne Laser-Scanning Data. Cryosphere 2020, 14, 2925–2940. [Google Scholar] [CrossRef] [Scilit]
- Revuelto, J.; López-Moreno, J.I.; Azorin-Molina, C.; Zabalza, J.; Arguedas, G.; Vicente-Serrano, S.M. Mapping the Annual Evolution of Snow Depth in a Small Catchment in the Pyrenees Using the Long-Range Terrestrial Laser Scanning. J. Maps 2014, 10, 379–393. [Google Scholar] [CrossRef] [Scilit]
- Rauhala, A.; Meriö, L.-J.; Kuzmin, A.; Korpelainen, P.; Ala-aho, P.; Kumpula, T.; Kløve, B.; Marttila, H. Measuring the Spatiotemporal Variability in Snow Depth in Subarctic Environments Using UASs—Part 1: Measurements, Processing, and Accuracy Assessment. Cryosphere 2023, 17, 4343–4362. [Google Scholar] [CrossRef] [Scilit]
- Collados-Lara, A.; Pardo-Igúzquiza, E.; Pulido-Velazquez, D. Optimal Design of Snow Stake Networks to Estimate Snow Depth in an Alpine Mountain Range. Hydrol. Process. 2020, 34, 82–95. [Google Scholar] [CrossRef] [Scilit]
- Herbert, J.N.; Raleigh, M.S.; Small, E.E. Reanalyzing the Spatial Representativeness of Snow Depth at Automated Monitoring Stations Using Airborne Lidar Data. Cryosphere 2024, 18, 3495–3512. [Google Scholar] [CrossRef] [Scilit]
- Mott, R.; Vionnet, V.; Grünewald, T. The Seasonal Snow Cover Dynamics: Review on Wind-Driven Coupling Processes. Front. Earth Sci. 2018, 6, 197. [Google Scholar] [CrossRef] [Scilit]
- Revuelto, J.; Billecocq, P.; Tuzet, F.; Cluzet, B.; Lamare, M.; Larue, F.; Dumont, M. Random Forests as a Tool to Understand the Snow Depth Distribution and Its Evolution in Mountain Areas. Hydrol. Process. 2020, 34, 5384–5401. [Google Scholar] [CrossRef] [Scilit]
- Winstral, A.; Elder, K.; Davis, R.E. Spatial Snow Modeling of Wind-Redistributed Snow Using Terrain-Based Parameters. J. Hydrometeorol. 2002, 3, 524–538. [Google Scholar] [CrossRef] [Scilit]
- Hidalgo-Hidalgo, J.-D.; Collados-Lara, A.-J.; Pulido-Velazquez, D.; Fassnacht, S.R.; Husillos, C. Synergistic Potential of Optical and Radar Remote Sensing for Snow Cover Monitoring. Remote Sens. 2024, 16, 3705. [Google Scholar] [CrossRef] [Scilit]
- Yu, X.; Hu, X.; Wang, G.; Wang, K.; Chen, X. Machine-Learning Estimation of Snow Depth in 2021 Texas Statewide Winter Storm Using SAR Imagery. Geophys. Res. Lett. 2022, 49, e2022GL099119. [Google Scholar] [CrossRef] [Scilit]
- Revuelto, J.; López-Moreno, J.I.; Azorin-Molina, C.; Vicente-Serrano, S.M. Topographic Control of Snowpack Distribution in a Small Catchment in the Central Spanish Pyrenees: Intra- and Inter-Annual Persistence. Cryosphere 2014, 8, 1989–2006. [Google Scholar] [CrossRef] [Scilit]
- Mendoza, P.A.; Musselman, K.N.; Revuelto, J.; Deems, J.S.; López-Moreno, J.I.; McPhee, J. Interannual and Seasonal Variability of Snow Depth Scaling Behavior in a Subalpine Catchment. Water Resour. Res. 2020, 56, e2020WR027343. [Google Scholar] [CrossRef] [Scilit]
- Mendoza, P.A.; Shaw, T.E.; McPhee, J.; Musselman, K.N.; Revuelto, J.; MacDonell, S. Spatial Distribution and Scaling Properties of Lidar-Derived Snow Depth in the Extratropical Andes. Water Resour. Res. 2020, 56, e2020WR028480. [Google Scholar] [CrossRef] [Scilit]
- Ghafarian, F.; Wieland, R.; Lüttschwager, D.; Nendel, C. Application of Extreme Gradient Boosting and Shapley Additive Explanations to Predict Temperature Regimes inside Forests from Standard Open-Field Meteorological Data. Environ. Model. Softw. 2022, 156, 105466. [Google Scholar] [CrossRef] [Scilit]
- Sun, L.; Zhang, X.; Xiao, P.; Wang, H.; Wang, Y.; Zheng, Z. Fusing Daily Snow Water Equivalent from 1980 to 2020 in China Using a Spatiotemporal XGBoost Model. J. Hydrol. 2024, 632, 130876. [Google Scholar] [CrossRef] [Scilit]
- Yang, J.; Jiang, L.; Pan, J.; Shi, J.; Wu, S.; Wang, J.; Pan, F. Comparison of Machine Learning-Based Snow Depth Estimates and Development of a New Operational Retrieval Algorithm over China. Remote Sens. 2022, 14, 2800. [Google Scholar] [CrossRef] [Scilit]
- Wang, F.; Wang, X.; Li, S. Explainable Machine Learning for Predictive Modeling of Blowing Snow Detection and Meteorological Feature Assessment Using XGBoost-SHAP. PLoS ONE 2025, 20, e0318835. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Alabi, I.O.; Marshall, H.-P.; Mead, J.; Trujillo, E. Advancing Terrestrial Snow Depth Monitoring with Machine Learning and L-Band InSAR Data: A Case Study Using NASA’s SnowEx 2017 Data. Front. Remote Sens. 2025, 5, 1481848. [Google Scholar] [CrossRef] [Scilit]
- Liu, Z.; Filhol, S.; Treichler, D. Retrieving Snow Depth Distribution by Downscaling ERA5 Reanalysis with ICESat-2 Laser Altimetry. Cold Reg. Sci. Technol. 2025, 239, 104580. [Google Scholar] [CrossRef] [Scilit]
- Ylönen, M.; Marttila, H.; Geissler, J.; Kuzmin, A.; Korpelainen, P.; Kumpula, T.; Ala-Aho, P. UAV LiDAR Surveys and Machine Learning Improve Snow Depth and Water Equivalent Estimates in Boreal Landscapes. Cryosphere 2025, 19, 4585–4610. [Google Scholar] [CrossRef] [Scilit]
- Alonso-González, E.; López-Moreno, J.I.; Gascoin, S.; Ojeda, M.G.-V.; Sanmiguel-Vallelado, A.; Navarro-Serrano, F.; Revuelto, J.; Ceballos, A.; Esteban-Parra, M.J.; Essery, R. Daily Gridded Datasets of Snow Depth and Snow Water Equivalent for the Iberian Peninsula from 1980 to 2014. Earth Syst. Sci. Data 2018, 10, 303–315. [Google Scholar] [CrossRef] [Scilit]
- Herrero, J.; Polo, M.J.; Pimentel, R.; Pérez-Palazón, M.J. Snow Depth at Refugio Poqueira (Sierra Nevada, Spain) at 2510 m, 2008-2015 [Dataset]; PANGAEA: Bremerhaven, Germany, 2016. [Google Scholar] [CrossRef]
- López Calero, J.M.; Collados-Lara, A.-J.; Sánchez Martínez, J.P.; Pulido Velázquez, D.; Lorenzo Carnicero, C.; Heredia Carballo, N.; Gómez Gómez, J.d.D.; García López-Davalillos, J.C.; Baena Ruiz, L.; Hidalgo Hidalgo, J.D.; et al. Spatio-Temporal Snow Depth (SD) and Temperature (T) Data from in Situ Sensors in Sierra Nevada Mountain Range, Spain, 2020–2025; PANGAEA: Bremerhaven, Germany, 2026. [Google Scholar]
- López Calero, J.M.; Collados Lara, A.J.; Sánchez Martínez, J.P.; Lorenzo Carnicero, C.; García López-Davalillos, J.C.; Pulido-Velazquez, D.; Baena-Ruiz, L.; Hidalgo-Hidalgo, J.D.; Revuelto Benedí, J.; López-Moreno, J.I.; et al. Spatio-Temporal Snow Depth (SD) Data from Sierra Nevada Mountain Range, Spain, in March 2024, from Airborne LiDAR [Dataset Bundled Publication]; PANGAEA: Bremerhaven, Germany, 2025. [Google Scholar]
- López Calero, J.M.; Collados-Lara, A.-J.; Pulido Velázquez, D.; Deschamps-Berger, C.; Lorenzo Car-nicero, C.; García López-Davalillos, J.C.; Sánchez Martínez, J.P.; Baena Ruiz, L.; Revuelto Benedí, J.; López-Moreno, J.I.; et al. Spatio-Temporal Snow Depth (SD) Data from Sierra Nevada Mountain Range, Spain, in March 2024, from Plei-Ades Satellite Images [Dataset Bundled Publication]; PANGAEA: Bremerhaven, Germany, 2025. [Google Scholar]
- López Calero, J.M.; Collados-Lara, A.-J.; Sánchez Martínez, J.P.; Lorenzo Carnicero, C.; García López-Davalillos, J.C.; Pulido Velázquez, D.; Baena Ruiz, L.; Revuelto Benedí, J.; López-Moreno, J.I.; Fassnacht, S.R.; et al. Spatio-Temporal Snow Depth (SD) Data from Sierra Nevada Mountain Range, Spain, in February and March 2024, from Drone-Based Photogrammetry; PANGAEA: Bremerhaven, Germany, 2025. [Google Scholar]
- Hidalgo-Hidalgo, J.-D.; Pulido-Velazquez, D.; Collados-Lara, A.-J. Long-Term Snow Cover Trends in Sierra Nevada, Spain (1951–2021). Clim. Change 2026, 179, 86. [Google Scholar] [CrossRef] [Scilit]
- Pardo-Igúzquiza, E.; Collados-Lara, A.-J.; Pulido-Velazquez, D. Estimation of the Spatiotemporal Dynamics of Snow Covered Area by Using Cellular Automata Models. J. Hydrol. 2017, 550, 230–238. [Google Scholar] [CrossRef] [Scilit]
- Herrero, J.; Polo, M.J. Evaposublimation from the Snow in the Mediterranean Mountains of Sierra Nevada (Spain). Cryosphere 2016, 10, 2981–2998. [Google Scholar] [CrossRef] [Scilit]
- Akiba, T.; Sano, S.; Yanase, T.; Ohta, T.; Koyama, M. Optuna: A Next-Generation Hyperparameter Optimization Framework. arXiv 2019, arXiv:1907.10902v1. [Google Scholar]
- Sturm, M.; Taras, B.; Liston, G.E.; Derksen, C.; Jonas, T.; Lea, J. Estimating Snow Water Equivalent Using Snow Depth Data and Climate Classes. J. Hydrometeorol. 2010, 11, 1380–1394. [Google Scholar] [CrossRef] [Scilit]
- Zhao, W.; Mu, C.; Han, L.; Sun, W.; Sun, Y.; Zhang, T. Spatial and Temporal Variability in Snow Density across the Northern Hemisphere. CATENA 2023, 232, 107445. [Google Scholar] [CrossRef] [Scilit]
- Collados-Lara, A.-J.; Pardo-Igúzquiza, E.; Pulido-Velazquez, D.; Baena-Ruiz, L. Estimation of the Monthly Dynamics of Surface Water in Wetlands from Satellite and Secondary Hydro-Climatological Data. Remote Sens. 2021, 13, 2380. [Google Scholar] [CrossRef] [Scilit]
- Yang, J.; Jiang, L.; Luojus, K.; Pan, J.; Lemmetyinen, J.; Takala, M.; Wu, S. Snow Depth Estimation and Historical Data Reconstruction over China Based on a Random Forest Machine Learning Approach. Cryosphere 2020, 14, 1763–1778. [Google Scholar] [CrossRef] [Scilit]
- Pardo-Igúzquiza, E.; Martos-Rosillo, S.; Jódar, J.; Dowd, P.A. The Spatio-Temporal Dynamics of Water Resources (Rainfall and Snow) in the Sierra Nevada Mountain Range (Southern Spain). Resources 2024, 13, 42. [Google Scholar] [CrossRef] [Scilit]
- López-Moreno, J.I.; Fassnacht, S.R.; Heath, J.T.; Musselman, K.N.; Revuelto, J.; Latron, J.; Morán-Tejeda, E.; Jonas, T. Small Scale Spatial Variability of Snow Density and Depth over Complex Alpine Terrain: Implications for Estimating Snow Water Equivalent. Adv. Water Resour. 2013, 55, 40–52. [Google Scholar] [CrossRef] [Scilit]
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. |
© 2026 by the authors. 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.













