Abstract
Accurate discrimination of agricultural crop categories in heterogeneous, rainfed landscapes remains challenging because crop spectral responses are strongly influenced by environmental variability and complex terrain. This study assessed the contribution of optical (Sentinel-2), radar (Sentinel-1), and topographic variables to the binary discrimination of annual rainfed cereals and perennial olive groves in the Tangier–Tétouan–Al Hoceima region of northern Morocco, a Mediterranean mountain environment characterized by fragmented agricultural systems and rainfed conditions. Using a Random Forest classifier, 38 candidate feature sets were evaluated, representing different combinations of Sentinel-2 spectral bands and vegetation indices, Sentinel-1 radar features, phenological information, and topographic variables to discriminate cereals and olive groves. The results showed that Sentinel-2 variables provided the strongest discriminative power, while Sentinel-1 variables alone yielded comparatively lower performance. The best-performing scenario combined Sentinel-2 spectral bands, Sentinel-1 VV and VH backscatter, Normalized Difference Red Edge Index 2 (NDRE2), Sentinel-1 VV/VH backscatter ratio (RATIO), and topographic variables (elevation, slope, and aspect), reaching an overall accuracy of 0.96 with balanced F1-scores for cereals and olives (0.92 and 0.91, respectively). Sentinel-2-only configurations already achieved high accuracies, particularly when spectral bands were combined with red-edge indices and topographic variables, whereas the addition of Synthetic Aperture Radar (SAR) data produced modest but consistent improvements in classification accuracy. SHAP-based interpretation revealed a hierarchical contribution of predictors, with elevation and slope emerging as the most influential variables, followed by NDRE2 and key spectral bands. These findings indicate that the discrimination between rainfed cereals and olive groves in this rainfed landscape is strongly influenced by topographic and environmental gradients, while spectral variables capture vegetation biophysical properties and SAR contributes complementary structural and moisture-related information. Overall, the study demonstrates that accurate mapping of rainfed cereals and olive groves in heterogeneous Mediterranean agro-ecosystems benefits from the integration of spectral, structural, and topographic information. The proposed framework provides a useful foundation for extending crop mapping and agricultural monitoring approaches in data-scarce and climate-sensitive regions.
1 Introduction
Agricultural landscapes in northern Morocco are undergoing significant transformations driven by climate change, land-use shifts, and evolving farming practices. This region, characterized by traditional agrosystems, supports diverse crops and rich agrobiodiversity (). However, increasing land fragmentation, soil erosion, and the expansion of cannabis cultivation pose major challenges to sustainability and food security. In this context, effective agricultural monitoring is essential for improving land management and supporting the resilience of rainfed systems. Remote sensing has become a key tool for crop classification, offering timely and spatially explicit information for agricultural monitoring. Sentinel-1 and Sentinel-2 provide complementary observations: optical imagery captures vegetation vigor and phenological dynamics, whereas Synthetic Aperture Radar (SAR) provides information on surface structure and moisture conditions under all-weather conditions (Ma et al., 2022). Their combined use has shown strong potential for crop mapping, particularly in heterogeneous and fragmented agricultural landscapes (; ). Recent studies conducted in Mediterranean and North African agricultural systems have demonstrated that the integration of optical and SAR observations improves crop discrimination by combining complementary information on vegetation condition, canopy structure, and moisture dynamics (; Mayouf et al., 2025; ). Approaches that integrate optical and SAR observations have been successfully applied to heterogeneous agricultural landscapes characterized by field fragmentation and environmental variability, such as those found in Algeria and Italy (Mayouf et al., 2025; ). In addition, recent reviews have highlighted the growing importance of integrating remote sensing and artificial intelligence for agricultural monitoring in Mediterranean agroecosystems while emphasizing the need for improved model interpretability and a better understanding of predictor contributions (). In parallel, machine learning methods such as Random Forest have been widely adopted for their strong performance in complex classification problems involving multi-source remote sensing data (; Moumni et al., 2021a). Random Forest is particularly suitable for agricultural classification because it can efficiently handle high-dimensional datasets, nonlinear relationships, and correlated predictors while requiring limited parameter tuning. Its ensemble-based structure reduces the risk of overfitting and enables the integration of heterogeneous variables derived from optical, radar, phenological, and topographic data. Furthermore, Random Forest provides robust measures of variable importance, making it particularly suitable for studies that seek not only high classification performance but also improved understanding of the factors driving crop discrimination (Natarajan et al., 2025; ). In North Africa, remote sensing has increasingly been used to support agricultural monitoring and crop inventory mapping, particularly in regions where rainfed agriculture is highly sensitive to climatic variability (; Sawada et al., 2019). Nevertheless, most studies have primarily focused on maximizing classification accuracy, while comparatively less attention has been given to understanding the relative contribution of spectral, radar, phenological, and topographic variables to crop discrimination. Furthermore, the influence of environmental gradients on classification outcomes remains insufficiently documented in fragmented Mediterranean agroecosystems (). Within this context, the discrimination of agricultural land-cover categories in fragmented Mediterranean agroecosystems remains challenging. In northern Morocco, the binary discrimination of annual rainfed cereals and perennial olive groves can be affected by small field sizes, mixed land-use patterns, topographic variability, and heterogeneous environmental conditions. Although previous studies have highlighted the benefit of combining optical and SAR data, fewer have examined how different groups of variables contribute to classification performance in such environments, and how these contributions can be interpreted in relation to agro-ecological gradients. More specifically, few studies have systematically evaluated the respective contributions of spectral, radar, phenological, and topographic predictors within a unified framework. This knowledge gap limits our understanding of the mechanisms driving the discrimination between these two agricultural categories and hinders the development of robust mapping approaches for fragmented Mediterranean landscapes. Unlike previous studies that primarily emphasized classification accuracy, this work combines a systematic evaluation of multiple feature combinations with an interpretation of predictor contributions to crop discrimination. By jointly assessing spectral, radar, phenological, and topographic variables, the study provides new insights into the factors driving the separability of two contrasting agricultural categories in fragmented Mediterranean agroecosystems. Specifically, this study addresses a binary classification task between annual rainfed cereals and perennial olive groves in the TTH region using Sentinel-1, Sentinel-2, and topographic information. The study therefore addresses the discrimination of two structurally and phenologically contrasting agricultural categories rather than a multiclass classification of individual annual crop types. The analysis focuses on 2024 and uses multi-temporal Sentinel observations aggregated at a monthly temporal resolution, including Sentinel-2 visible and near-infrared bands at 10 m and red-edge and shortwave-infrared bands at 20 m spatial resolution, subsequently harmonized to a 10 m analysis grid, providing suitable spatial detail for monitoring fragmented agricultural landscapes at regional scales. It aims to identify the most relevant feature combinations for the binary discrimination of annual rainfed cereals and perennial olive groves and to better understand the relative importance of spectral, radar, and environmental variables. Specifically, the study seeks to: (i) evaluate the performance of different combinations of spectral, radar, phenological, and topographic variables; (ii) quantify their relative contributions to the discrimination between rainfed cereals and olive groves; and (iii) assess the role of environmental gradients in shaping classification outcomes. We hypothesize that the integration of Sentinel-1 and Sentinel-2 observations improves classification performance compared with single-sensor approaches, and that topographic and red-edge variables are among the most influential predictors because they capture environmental and phenological differences between annual rainfed cereals and perennial olive groves. By linking classification performance with feature interpretation, this work provides new insights into the mapping of rainfed cereals and olive groves in complex rainfed Mediterranean landscapes and contributes to the development of more robust agricultural monitoring approaches.
2 Materials and methods
2.1 Study region
The Tangier–Tetouan–Al Hoceima Region, hereafter referred to as TTH, located in the north of Morocco (35° 46' N, 5° 48' W), includes 2 prefectures and 6 provinces. The region covers an area of 17,262 km2, i.e. 2.42% of the country’s total area (HCP, 2020). It lies within the Mediterranean climatic zone, characterized by strong heterogeneity driven by altitude, latitude, and proximity to the ocean. Owing to its varied elevation and dual maritime frontage—bordering both the Atlantic Ocean and the Mediterranean Sea—this northwestern region receives some of the highest rainfall in Morocco, often exceeding 1,000 mm annually.
2.2 Data and workflow
The main database for the presented crop type classification was composed of Sentinel-1 Synthetic Aperture Radar (SAR) time series, Sentinel-2 multispectral time series, and a digital elevation model (DEM) used to derive topographic variables, all accessed or processed through Google Earth Engine (GEE), a cloud-based geospatial platform (Sections 2.2.1–2.2.3) (Showstack, 2014; Trémas et al., 2015; Gorelick et al., 2017). Field data on crop types provided the reference database for training and validation (Sections 2.2.4 and 2.2.5). Phenological features were subsequently extracted from the preprocessed NDVI time series to characterize crop temporal dynamics and define the observation window used for classification (Section 2.2.6). The crop type classification approach, including the evaluation of 31 feature combinations grouped into Sentinel-2, Sentinel-1, and integrated scenarios, is described in Section 2.2.7. The methodological workflow summarizing data preprocessing, phenological analysis, feature-space construction, classification scenarios, and model evaluation is presented in Figure 1.
FIGURE 1
2.2.1 Sentinel-2 data and preprocessing
Sentinel-2 Harmonized Level-2A Surface Reflectance (SR) imagery was acquired from Google Earth Engine for the region of interest (ROI) between January 1 and 31 December 2024. Sentinel-2 provides a nominal revisit frequency of approximately 5 days. Relevant bands from the visible, red-edge, near-infrared, and shortwave infrared regions were selected, including bands at 10 m resolution (B2, B3, B4, and B8) and 20 m resolution (B5, B6, B7, B8A, B11, and B12) (Table 1). To ensure spatial consistency among spectral bands, the 20 m bands were resampled to a 10 m spatial resolution using bilinear interpolation, resulting in a common 10 m analysis grid. Preprocessing steps included filtering the Sentinel-2 image collection using the CLOUDY_PIXEL_PERCENTAGE metadata, retaining only scenes with cloud cover below 20%. Clouds, cirrus, and cloud shadows were removed using the Scene Classification Layer (SCL) provided with the Sentinel-2 Level-2A product. Pixels classified as cloud shadows, medium- and high-probability clouds, cirrus, and snow were masked prior to further processing. Surface reflectance values were rescaled by dividing pixel values by 10,000. The resulting preprocessed image collection was subsequently aggregated into monthly median composites, providing a monthly temporal resolution for subsequent temporal analysis and feature extraction.
TABLE 1
| Name | Central wavelength | Pixel size | Description |
|---|---|---|---|
| B2 | 496.6 nm (S2A)/492.1 nm (S2B) | 10 m | Blue |
| B3 | 560.0 nm (S2A)/559.0 nm (S2B) | 10 m | Green |
| B4 | 664.5 nm (S2A)/665.0 nm (S2B) | 10 m | Red |
| B5 | 703.9 nm (S2A)/703.8 nm (S2B) | 20 m | Red Edge 1 |
| B6 | 740.2 nm (S2A)/739.1 nm (S2B) | 20 m | Red Edge 2 |
| B7 | 782.5 nm (S2A)/779.7 nm (S2B) | 20 m | Red Edge 3 |
| B8 | 835.1 nm (S2A)/833.0 nm (S2B) | 10 m | NIR |
| B8A | 864.8 nm (S2A)/864.0 nm (S2B) | 20 m | Narrow NIR |
| B11 | 1613.7 nm (S2A)/1610.4 nm (S2B) | 20 m | SWIR 1 |
| B12 | 2202.4 nm (S2A)/2185.7 nm (S2B) | 20 m | SWIR 2 |
Sentinel-2 spectral bands used in this study.
Additional features were generated to complement the original spectral bands for crop type classification. Vegetation indices (VIs) are widely used to enhance the interpretation of satellite imagery for vegetation analysis and have proven useful for crop classification and monitoring (Kobayashi et al., 2020; Zeng et al., 2022; Orynbaikyzy et al., 2020; Kamenova and Dimitrov, 2021; ). In this study, a set of vegetation- and water-related indices previously shown to be informative for crop type classification was calculated from the monthly Sentinel-2 composites according to the equations presented in Table 2 (; ; Orynbaikyzy et al., 2022; Xie and Niculescu, 2022; Holtgrave et al., 2020; Palchowdhuri et al., 2018).
TABLE 2
| Name | Short name | Formula | Description | References |
|---|---|---|---|---|
| Normalized Difference Vegetation Index | NDVI | Most widely used vegetation index for monitoring vegetation vigor and photosynthetic activity | (Rouse, 1973) | |
| Modified Simple Ratio | MSR | Shows a relatively linear relationship with canopy structural parameters | (Zeng et al., 2022; ) | |
| Enhanced Vegetation Index | EVI | Improves vegetation sensitivity in high biomass regions while reducing atmospheric and soil background effects | (Liu and Huete, 1995; Huete et al., 2002) | |
| Enhanced Vegetation Index 2 | EVI2 | Two-band version of EVI that minimizes soil background influence without requiring the blue band | (Jiang et al., 2008) | |
| Soil Adjusted Vegetation Index | SAVI | Reduces soil brightness effects in sparsely vegetated areas | (Huete, 1988) | |
| Green Normalized Difference Vegetation Index | GNDVI | Sensitive to chlorophyll concentration and vegetation photosynthetic activity | (Xie and Niculescu, 2022; Gitelson et al., 1996) | |
| Normalized Difference Red Edge Index 1 | NDRe1 | Sensitive to chlorophyll content and early leaf senescence | (; Sims and Gamon, 2002) | |
| Normalized Difference Red Edge Index 2 | NDRe2 | Similar to NDRe1 but uses a different red-edge band combination | () | |
| Red-Edge NDVI Index | ReNDVI | Frequently used for biochemical and chlorophyll-related vegetation analysis | (Zeng et al., 2022; ) | |
| Green Normalized Difference Water Index | GNDWI | Sensitive to water content and useful for crop and water-body monitoring | (; McFeeters, 1996; ) | |
| Normalized Difference Water Index 1 | NDWI1 | Highlights vegetation water content and water stress conditions | (Zeng et al., 2022; ) | |
| Normalized Difference Water Index 2 | NDWI2 | Similar to NDWI1 but uses SWIR band 12 instead of band 11 | (Zeng et al., 2022; ) |
Sentinel-2-based vegetation indices used in this study.
Indices based on the red and near-infrared (NIR) bands are particularly useful for characterizing vegetation structure and vigor (Zeng et al., 2022). Accordingly, this study included the Normalized Difference Vegetation Index (NDVI), Modified Simple Ratio (MSR), Enhanced Vegetation Index (EVI), two-band Enhanced Vegetation Index (EVI2), Soil-Adjusted Vegetation Index (SAVI), and Green Normalized Difference Vegetation Index (GNDVI). Red-edge indices are especially valuable for chlorophyll-sensitive applications and detailed crop discrimination (Zeng et al., 2022; Kamenova and Dimitrov, 2021; ); therefore, the Normalized Difference Vegetation Index using Red-Edge bands 1, 2, and 3 (NDVIRE1, NDVIRE2, and NDVIRE3), Normalized Difference Red Edge indices 1 and 2 (NDRE1 and NDRE2), and Red-Edge Normalized Difference Vegetation Index (ReNDVI) were also derived. In addition, water-related indices commonly used in agricultural monitoring and crop classification (Xie and Niculescu, 2022; Holtgrave et al., 2020; ) were included, namely the Green Normalized Difference Water Index (GNDWI), Normalized Difference Water Index 1 (NDWI1), and Normalized Difference Water Index 2 (NDWI2). Further details on all indices are provided in Table 2.
2.2.2 Sentinel-1 data and preprocessing
Time series of Sentinel-1 synthetic aperture radar (SAR) data were retrieved between January 1 and 31 December 2024 (Google Developers, 2020). For the descending-orbit acquisition configuration used in this study, successive observations were generally separated by approximately 12 days. Ground Range Detected (GRD) scenes in Interferometric Wide swath (IW) acquisition mode and descending orbit from the Sentinel-1 collection in GEE were used. This collection includes calibrated and ortho-corrected Sentinel-1-A and 1-B GRD products with 10 m pixel spacing, for which thermal noise removal, data calibration, multi-looking, and Range-Doppler terrain correction have already been performed (Google Developers, 2026; Mullissa et al., 2021). We used Sentinel-1 data in descending mode only to ensure consistency in acquisition geometry across the time series and to avoid introducing additional variability related to orbit-dependent viewing conditions. Although combining ascending and descending observations can increase temporal density, it may also introduce differences in incidence angle, look direction, and backscatter response, particularly in heterogeneous and topographically variable landscapes (Mullissa et al., 2021). Previous studies have reported similar general temporal patterns between ascending and descending Sentinel-1 observations for crop classification applications (; ); therefore, the descending orbit was retained as a consistent and comparable acquisition configuration for this study. Data acquired in vertical transmit–vertical receive (VV) and vertical transmit–horizontal receive (VH) dual-polarization modes were selected, which are commonly applied for vegetation and crop classification (; ; Mercier et al., 2021; Meroni et al., 2021; ), and clipped to the area of interest. Additional preprocessing performed within this study included speckle filtering using a mono-temporal Lee sigma filter (Mullissa et al., 2021; Lee et al., 2008), radiometric terrain normalization, and conversion from linear values to decibel units. These preprocessing steps were applied using the framework for preparing Sentinel-1 SAR backscatter in GEE implemented by (Mullissa et al., 2021). In addition to the backscatter coefficients in VV and VH polarization modes, three radar features were derived for the Sentinel-1 time series: the difference (Diff), ratio (Ratio), and radar vegetation index (RVI). These parameters have proven important in previous radar-based vegetation classification studies (; ; Schlund and Erasmi, 2020; Selvaraj et al., 2021; ). The formulas for calculating Diff, Ratio, and RVI are given in Table 3.
TABLE 3
| Name | Short name | Formula |
|---|---|---|
| Difference | Diff | |
| Ratio | Ratio | |
| Radar Vegetation Index | RVI |
Sentinel-1-based radar features used in this study.
2.2.3 Digital elevation model
The 30 m SRTM DEM from Earth Engine’s SRTMGL1_003 collection was used both as an ancillary dataset for Sentinel-1 preprocessing and as a source of topographic predictors for crop classification (). First, it was used to derive terrain geometry required for the radiometric terrain normalization and masking routine applied to Sentinel-1 data. Second, it was used to extract elevation, slope, and aspect variables, which were included as explanatory features in the classification model. The SRTM DEM and the derived topographic variables were retained at their native 30 m spatial resolution and were not explicitly resampled to match the spatial resolution of the Sentinel bands. Owing to its free availability and near-global coverage of land areas between −60° and +60°, the SRTM DEM is widely used in remote sensing applications (). Although Sentinel-1 imagery has a spatial resolution of 10 m, the use of a 30 m DEM remains a common practice for terrain correction and topographic feature extraction. Ideally, the DEM should match or exceed the spatial resolution of the satellite imagery; however, such datasets are not consistently available at regional or global scales (Vollrath et al., 2020). Consequently, the SRTM DEM represents a practical compromise between spatial detail, coverage, and accessibility. While the resolution mismatch may limit the representation of fine-scale terrain variability, its impact is expected to be moderate in this study because elevation, slope, and aspect were used as contextual environmental predictors rather than as detailed within-field descriptors. Higher-resolution DEMs may further improve terrain characterization and should be considered where available.
2.2.4 Dataset provided by the provincial directorate of agriculture (DPA)
The Provincial Directorate of Agriculture in Tetouan (within the TTH region) provided several shapefiles for land use analysis. To isolate the “rainfed crops” layer, we employed a stepwise subtraction method using the Difference tool in QGIS—a free, open-source alternative to ArcGIS widely used in spatial data analysis and ecological research (Wegmann et al., 2020; Jung, 2013).
The first step was to remove non-agricultural land uses, including protected biodiversity areas, urbanized zones, silvopastoral regions, dams, and water bodies, from the regional shapefile. This allowed for the initial delineation of agricultural land. Next, we excluded areas allocated to hydro-agricultural infrastructure to identify zones dedicated to rainfed farming. This approach enabled us to focus specifically on lands cultivated under pluvial conditions, while excluding areas influenced by irrigation or water management interventions. The resulting rainfed agricultural layer defined the spatial domain within which the subsequent binary classification of cereals and olive groves was performed. Areas outside this domain, including the land-use/land-cover categories removed during the masking procedure, were excluded from the classification and were not assigned to either crop class.
2.2.5 Phenological feature extraction
Based on the Sentinel-2 NDVI sequence curve, phenological characteristics were analyzed and extracted. The vegetation index time series was reconstructed using the Dynamic Harmonic Regression (DHR) model and the Savitzky-Golay (S-G) polynomial smoothing algorithm (Zhou et al., 2020). These methods reduced radiation noise caused by sensor errors, atmospheric conditions, and sunlight, enabling more accurate extraction of crop growth changes and seasonal patterns. The NDVI curve follows a regular pattern over time, reflecting the physiological stages of crop development, from growth and maturation to senescence. Understanding these variations helps refine the time range for classification and improve crop type differentiation.
To minimize the influence of grassland and non-crop vegetation, we focused on NDVI change patterns from crop sample points, reconstructing the 2024 NDVI time series using DHR and S-G filtering methods (Figure 2). The field observations were conducted in 2024, ensuring alignment with the most recent phenological data. The statistical assessment of the reconstruction methods is summarized in Table 4, where RMSE (Root Mean Square Error) and correlation coefficients were used to evaluate the fidelity of the reconstructed curves. The S-G method achieved an RMSE of 0.0544 and a correlation coefficient of 0.8865, while the DHR method resulted in an RMSE of 0.0663 and a correlation coefficient of 0.8257. Although the S-G method provided a slightly better fit, both techniques effectively preserved NDVI trends, confirming their reliability in capturing crop phenology.
FIGURE 2
TABLE 4
| Metric | Raw data | DHR data | S-G data |
|---|---|---|---|
| Mean | 0.2644 | 0.2644 | 0.2650 |
| Root mean square error (RMSE) | – | 0.0663 | 0.0544 |
| Correlation coefficient | – | 0.8257 | 0.8865 |
NDVI time-series reconstruction parameter statistics.
Based on the NDVI time series reconstructed using the S-G method, key phenological stages of crop growth were identified. The Start of Season (SOS) occurred in early January, marking the onset of vegetation activity. The Peak of Season (POS) was observed in late March, corresponding to the period of maximum biomass development. The End of Season (EOS) was reached in early June, indicating senescence and the completion of the crop cycle. These phenological markers were not directly used as predictor variables in the classification model. Instead, they were used to identify the period during which crop separability was expected to be highest and to define the observation window for the classification analysis. Consequently, the period extending from early January to early June was selected for the extraction of Sentinel-1 and Sentinel-2 variables used in the crop classification workflow.
2.2.6 Field data on crop types
The classification process began with a phenological analysis aimed at identifying the active growth period of crops, which defined the temporal window for the classification. Once temporal and spatial consistency in the feature set was established, training and validation samples were prepared. Sample selection was guided by field surveys and visual interpretation of high-resolution imagery to ensure representative coverage of the two agricultural categories considered in this study: rainfed cereals and olive groves. During field data collection, cereal fields were recorded at the crop-group level, without systematic identification of individual cereal species. Consequently, all rainfed cereal observations were grouped into a single “cereals” class for the classification analysis. Selection also considered the spectral performance of each class in remote sensing imagery. The main cereal crops cultivated in the TTH region are common wheat (Triticum aestivum L.), durum wheat (Triticum durum Desf.), and barley (Hordeum vulgare L.); however, these cereal species were not differentiated in the field reference dataset and were collectively represented as a single cereal class ().
To ensure the reliability of the reference dataset, all sample locations were subjected to a quality-control procedure. Ground survey points were verified against field observations collected during the 2024 agricultural season. Samples derived from image interpretation were cross-checked using very high-resolution imagery available in Google Earth and Google Earth Engine. Particular attention was given to field homogeneity, and samples located near field boundaries, mixed land-use areas, or locations exhibiting uncertain crop identification were excluded from the reference dataset. This validation process aimed to minimize labelling errors and improve the representativeness of the training and validation samples.
A stratified random sampling approach was used to divide the dataset into 70% for training and 30% for validation. The distribution of samples is presented in Table 5. The reference dataset contained 1300 cereal samples and 750 olive samples, corresponding to an approximate class ratio of 1.7:1. This difference reflects the actual distribution of agricultural land within the study area rather than a sampling bias, as rainfed cereal cultivation occupies substantially larger areas than olive groves in the TTH region (). Consequently, the reference dataset was designed to preserve the natural representation of the two crop types while ensuring that both classes were represented by a sufficient number of observations for robust model training and validation.
TABLE 5
Sample selection and dataset partitioning.
G refers to ground survey sample points, whereas F refers to survey data selected using the Google Earth Engine (GEE) platform. T/V ratio represents the proportion of training (T) and validation (V) samples used for each category. The meaning of the bold values is the sum ‐ the total.
Given the moderate nature of this class imbalance, no oversampling or undersampling procedures were applied, as such techniques may artificially alter the underlying distribution of crop types and introduce synthetic patterns into the training data. Instead, the effects of class imbalance were mitigated through stratified sampling during both the training–validation partitioning and the repeated cross-validation procedures, ensuring that class proportions were preserved throughout model development and evaluation. Furthermore, classifier performance was assessed using class-specific Precision, Recall, and F1-score metrics in addition to Overall Accuracy, allowing the performance of both the majority (cereal) and minority (olive) classes to be evaluated independently. This approach provided an explicit treatment of class imbalance while maintaining a realistic representation of crop distribution within the study area.
2.2.7 Crop type classification approach
The crop type classification was based on Sentinel-2 and Sentinel-1 satellite time series acquired during the year of interest (Sections 2.2.1, 2.2.2). The classification task was formulated as a binary discrimination between two agricultural categories: annual rainfed cereals and perennial olive groves. Based on the phenological analysis, the relevant growing season extended from early January to early June; therefore, only observations from this period were considered for classification. The classification framework was specifically designed to discriminate these two agricultural categories during the 2024 agricultural season using temporally consistent satellite observations and field reference data collected during the same period. Although the analysis focused on a single agricultural season, temporal variability was explicitly represented through multi-temporal Sentinel-1 and Sentinel-2 observations spanning the crop growth cycle.
Based on the preprocessed satellite data, temporal aggregations were derived for use as classification predictors. For Sentinel-2, monthly median values of the selected spectral bands (Table 1) were calculated for each month from January to June. Median aggregation was used to reduce the influence of residual cloud contamination in the optical observations. Vegetation and water-related indices (Table 2) were first calculated for each individual Sentinel-2 acquisition from the corresponding spectral bands. Monthly median values of each index were then computed from all valid observations available within each calendar month from January to June. Thus, the vegetation-index predictors used for classification represent monthly median index values rather than indices calculated from monthly median spectral bands or seasonal median values. For Sentinel-1, monthly median values were similarly generated for the selected VV and VH backscatter coefficients and radar-derived metrics (DIFF, RATIO, and RVI). In contrast to these temporally varying satellite predictors, elevation, slope, and aspect were included as static topographic variables and were therefore not temporally aggregated.
The initial raster data stack contained 38 bands encompassing Sentinel-1 observations and ancillary layers, Sentinel-2 spectral information and derived indices, and topographic information. Sentinel-1-related bands included VV and VH backscatter expressed as gamma-nought (VV_gamma0flat, VH_gamma0flat) and sigma-nought (VV_sigma0, VH_sigma0), together with incidence angle, layover, and shadow layers and the radar-derived metrics DIFF, RATIO, and RVI. The incidence angle, layover, and shadow layers were used as ancillary information during SAR preprocessing and were not treated as crop-classification predictors. Sentinel-2 information comprised ten spectral bands (B2, B3, B4, B5, B6, B7, B8, B8A, B11, and B12) and fifteen vegetation and water-related indices (NDVI, MSR, EVI, EVI2, SAVI, GNDVI, NDRE1, NDRE2, RENDVI, GNDWI, NDWI1, and NDWI2). Topographic information comprised elevation, slope, and aspect. Thus, the raster stack should be distinguished from the subset of variables actually used as predictors in the classification experiments.
Because several vegetation indices were derived from overlapping Sentinel-2 spectral bands, some predictors contained partially redundant information. Similarly, radar-derived metrics were calculated from the same underlying VV and VH observations. Rather than evaluating every mathematically possible subset of predictors, variables were therefore organized into conceptually defined predictor groups according to their information source. These groups were first evaluated separately to characterize their individual contribution to crop discrimination, after which the most informative variables or groups were progressively integrated to evaluate their complementary contribution. Random Forest is also generally robust to multicollinearity because individual trees are constructed using random subsets of predictors, which reduces the influence of correlated variables on model performance ().
Following this strategy, 31 predefined feature combinations, hereafter referred to as classification scenarios, were constructed and evaluated. These scenarios were organized into three main categories. First, Sentinel-2-based scenarios evaluated spectral bands and vegetation indices individually and in selected combinations, with and without topographic variables. Second, Sentinel-1-based scenarios evaluated VV and VH backscatter and radar-derived metrics individually and in selected combinations, also with and without topographic information. Third, integrated Sentinel-2/Sentinel-1 scenarios progressively combined the most informative optical and radar predictors with selected vegetation indices and topographic variables to assess the added value of multi-source data fusion. The 31 scenarios therefore represent predefined experimental configurations designed to quantify the incremental contribution of different predictor groups, rather than all possible subsets of the variables contained in the initial raster stack. The exact composition of each evaluated feature combination is provided in Table 6.
TABLE 6
| Group | Number of scenarios | Description of tested combinations |
|---|---|---|
| Sentinel-2 | 17 | (i) Spectral bands only; (ii) spectral bands combined with topographic variables (elevation, slope, aspect); (iii) individual vegetation and water-related indices (NDVI, MSR, EVI, EVI2, SAVI, GNDVI, NDRE1, NDRE2, RENDVI, GNDWI, NDWI1, NDWI2); and (iv) combinations of the best-performing red-edge indices (NDRE2, NDRE1) and SAVI with topographic variables |
| Sentinel-1 | 8 | (i) Radar backscatter variables (VV + VH); (ii) individual radar-derived metrics (DIFF, RATIO, RVI); and (iii) radar variables combined with topographic variables, including integrated radar feature sets (VV + VH + DIFF + RATIO + RVI) |
| Integrated | 6 | Combinations of Sentinel-2 spectral bands, selected vegetation indices (NDRE2, NDRE1, SAVI), Sentinel-1 radar variables (VV, VH, RATIO), and topographic variables. Scenarios were progressively constructed to evaluate the incremental contribution of radar, vegetation-index, and topographic information to crop type discrimination |
Organization of the 31 feature combinations evaluated for crop type classification according to data source and feature integration strategy.
Classification was performed using the Random Forest algorithm (). As an ensemble learning method, Random Forest constructs multiple decision trees from randomly sampled subsets of the data and combines their predictions through majority voting. The classifier was implemented in Python (version 3.11.13) using the scikit-learn library (version 1.7.1) (Pedregosa et al., 2011) and configured with 100 trees (n_estimators = 100). Preliminary testing indicated that classification performance stabilized beyond this value, whereas additional trees resulted in negligible accuracy gains and increased computational cost. A fixed random seed (random_state = 42) was used to ensure reproducibility. The remaining hyperparameters were maintained at their default values, including the number of variables considered at each split (max_features = “sqrt”), the minimum number of samples required at a leaf node (min_samples_leaf = 1), unrestricted tree depth (max_depth = None), and bootstrap sampling (bootstrap = True). The same classifier configuration was applied across all classification scenarios to ensure consistent comparison of the feature combinations. The classifier was trained using the 2024 field reference data described in Sections 2.2.4, 2.2.5. The same stratified training-validation partition was retained across all classification scenarios to ensure that differences in performance resulted from changes in the predictor sets rather than from differences in sample allocation. Details of the training-validation partition and subsequent accuracy-assessment procedures are provided in the Accuracy Assessment subsection.
2.3 Accuracy assessment
The reference dataset was first partitioned into training and validation subsets using stratified random sampling implemented with the train_test_split function from scikit-learn (version 1.7.1). Stratification was performed according to crop class to preserve the relative proportions of rainfed cereal and olive samples in both subsets. A total of 70% of the reference samples from each class were assigned to the training dataset, while the remaining 30% were reserved as an independent validation dataset. A fixed random seed (random_state = 42) was used to ensure reproducibility of the partition. The same training-validation partition was retained across all evaluated feature combinations. Within the 70% training subset, Leave-One-Out Cross-Validation (LOOCV) was used to compare candidate feature combinations and identify the optimal set of predictors. At each LOOCV iteration, the Random Forest model was trained on all training samples except one and evaluated on the excluded sample. This procedure was repeated until each sample in the training subset had served once as the validation sample. Importantly, the independent 30% validation subset was not involved in this model-selection procedure and remained completely withheld during the comparison and selection of feature combinations. LOOCV is well suited to moderately sized labelled datasets because it maximizes the amount of data available for model fitting at each iteration while providing an internal assessment of model performance (; ). Classification performance was evaluated using Overall Accuracy (OA) and class-specific Precision, Recall, and F1-score. Because the reference dataset contained unequal numbers of rainfed cereal and olive samples, class-specific metrics were considered in addition to Overall Accuracy. Precision measures the proportion of instances predicted as a given class that are correctly classified, whereas Recall quantifies the proportion of actual instances of that class that are correctly identified. The F1-score, defined as the harmonic mean of Precision and Recall, provides a balanced assessment of classification performance by accounting for both omission and commission errors (Yedidia, 2016). These metrics were used during LOOCV to compare the candidate feature combinations and identify the best-performing configuration. After selection of the optimal feature combination, the Random Forest model was trained using the complete 70% training subset and evaluated once on the independent 30% validation subset that had remained withheld during model selection. Overall Accuracy, Precision, Recall, and F1-score were calculated on this independent validation dataset. Class-specific Recall values were further examined to assess the ability of the classifier to correctly identify annual rainfed cereals and perennial olive groves individually. The resulting performance metrics are summarized in Table 7. To further assess the robustness of the selected classification model to variations in data partitioning, repeated stratified 10-fold cross-validation was performed using the optimal feature combination. The reference samples were divided into 10 folds while preserving the relative proportions of the two crop classes. At each iteration, nine folds were used for model training and the remaining fold for validation, such that each fold served once as the validation subset. The complete 10-fold cross-validation procedure was repeated 10 times using different random partitions. Overall Accuracy, Precision, Recall, and F1-score were computed across the repeated cross-validation runs, and their mean and standard deviation were used to quantify model stability with respect to data partitioning. Finally, to improve model interpretability, SHapley Additive exPlanations (SHAP) were applied to the selected Random Forest model to assess the contribution of individual predictors. This approach assigns an importance value to each input variable according to its marginal contribution to model predictions, thereby identifying the spectral, radar, phenological, and topographic features that most strongly influenced the discrimination between rainfed cereals and olive groves.
TABLE 7
| Name | Short name | Formula |
|---|---|---|
| Overall Accuracy (OA) | OA | |
| Precision | P | |
| Recall | R | |
| F1-score | F1 |
Evaluation metrics used for classification performance assessment.
Note:, , , and denote true positives, false positives, true negatives, and false negatives, respectively.
2.4 SHapley additive exPlanations (SHAP)
Complex models obtained by ML and DL methods are perceived as black-box models, where the link between input data and the model prediction boundaries is blurred and hard to interpret. However, model interpretation is essential to understand the relationship between the data and the model if the latter is to be used in real-world conditions. Shapley additive explanations (SHAP) (Lundberg, 2017; Shapley, 1953) is a method to explain the contribution of input data layers or features to the final predictions based on the Shapley values. According to game theory, in a coalition game, each agent (player) contributes to the final result. Shapley value is used to determine the effectiveness of each agent, and it is the only solution for fair payment to an agent based on its contribution and usefulness to the game (Shapley, 1953). In particular, Shapley value is the marginal contribution of an agent among all the possible combinations, and it can be computed by Equation 1:
where, and are the model with and without the contribution of the -th agent, thus the termcalculates the marginal contribution of the -th agent to the game when it is added. This process should be repeated for all possible subsets within agents.
Accordingly, is the possible way to form subset prior to adding the -th player, and is the amount of ways that the remaining agents could be added.
SHAP provides a framework for estimating feature contributions in an ML/DL model by adapting them as a coalition game and by estimating a feature’s Shapley values. In general, each input feature can be considered as an agent, while the model predictions (outputs) are equivalent to the payouts. In particular, the SHAP algorithm utilizes additive feature attribution (Lundberg, 2017) in order to approximate and explain the complex models. The original prediction model f(x) with the input of x is approximated by the simplified explanation model g (x’) with the simplified input of x’. This approximation is accomplished based on the linear function of binary variables, as shown in Equation 2:
where is a binary-formatted simplified variable of , is the number of simplified input features, which explains the availability (one) or unavailability (zero). is the empty set attribution that represents the mean of the complete dataset predictions (Lundberg, 2017).
The contribution of each feature based on Shapley values from Equation 1 becomes part of a linear function of simplified binary variables. Therefore, according to Equation 2, it is possible to approximate based on the additive feature attribution explanation model.
In this study, SHAP values were computed in Python using the SHAP package (version 0.51.0) to quantify the contribution of individual predictors to the Random Forest classification results.
3 Results
3.1 Comparison of different input datasets for crop type classification and variable importance
We compared 31 feature combinations, constructed from 38 optical, radar, and topographic variables, and organized into three main categories: Sentinel-2-based feature sets, Sentinel-1-based feature sets, and integrated Sentinel-2/Sentinel-1 feature sets (Table 6). Figure 3 presents the Overall Accuracy (OA) and class-specific F1-scores obtained for all evaluated scenarios, enabling a systematic assessment of the contribution of optical, radar, and topographic information to crop type discrimination.
FIGURE 3
For the variants based on Sentinel-2 vegetation indices (VIs), the overall accuracies were relatively homogeneous, ranging between approximately 72% and 76%, with an average around 74%. Among these indices, NDRE2 yielded the best performance (OA 0.76), followed by NDRE1 and SAVI-based variants. The differences between indices remained modest, indicating that individual VIs provide comparable classification performance. However, F1-scores reveal a systematic pattern: cereals were consistently better classified (F1 0.78–0.81) than olives (F1 0.65–0.69), suggesting higher separability for cereals using spectral indices alone.
The use of Sentinel-2 spectral bands alone resulted in a higher overall accuracy (OA = 0.82), which further improved when combined with topographic variables (OA = 0.89). This highlights the strong contribution of terrain information (elevation, slope, aspect) in improving classification performance. The highest performance within the Sentinel-2-only group was obtained when combining spectral bands with red-edge indices and topography, reaching an OA of 0.94, with balanced and high F1-scores for both classes (F1-olive 0.86, F1-cereals 0.91). This confirms the added value of red-edge information and environmental variables.
In contrast, the variants based solely on Sentinel-1 radar features showed the lowest classification performance. The overall accuracy ranged between 0.53 and 0.55 for individual radar metrics (VV + VH, DIFF, RATIO, RVI), with an average around 0.54. Among these, RATIO and RVI slightly outperformed DIFF, though differences remained limited. The F1-scores indicate weaker performance for both classes, particularly for olives (F1 0.44–0.46). The inclusion of topographic variables improved the results moderately, increasing OA to approximately 0.66–0.68, but performance remained significantly lower than Sentinel-2-based approaches.
When combining Sentinel-1 VV and VH backscatter with derived indices and topographic variables, the overall accuracy increased to approximately 0.67, with slight improvements in both F1-olive and F1-cereals. However, these gains remained limited compared to optical data, confirming that radar alone is insufficient for accurate crop discrimination in this context.
The integration of Sentinel-2 and Sentinel-1 data led to substantial improvements in classification performance. Combining Sentinel-2 spectral bands with VV and VH (plus topography) resulted in high accuracies (OA 0.89), comparable to Sentinel-2-only configurations. The addition of radar-derived indices (e.g., RATIO) did not significantly alter performance but slightly improved robustness.
The best results were obtained using combined optical, radar, red-edge indices, and topographic variables, reaching a maximum overall accuracy of 0.96, with very high F1-scores for both olives (0.91) and cereals (0.92). This configuration clearly outperformed all others, demonstrating the strong complementarity between spectral, structural (SAR), and environmental information.
To further assess whether the performance gain associated with sensor integration was statistically supported, the high-performing Sentinel-2-based, Sentinel-1-based, and integrated Sentinel-1/Sentinel-2 scenarios were compared using repeated 10-fold cross-validation (Table 8). The integrated scenario (S2 bands + VV + VH + NDRE2 + RATIO + ELEV + SLOPE + ASPECT) achieved the highest mean OA (0.9655 0.0061), compared with approximately 0.941 for the Sentinel-2-based scenario (S2 bands + NDRE2 + ELEV + SLOPE + ASPECT) and 0.675 for the Sentinel-1-based scenario (VV + VH + RATIO + ELEV + SLOPE + ASPECT). Pairwise statistical comparisons showed that the integrated scenario significantly outperformed both the Sentinel-1-based and Sentinel-2-based scenarios in terms of OA . A similar pattern was observed for olive classification, for which the integrated model achieved an F1-score of 0.9057 0.0189 and significantly outperformed both single-sensor-based scenarios . For cereals, the integrated scenario strongly outperformed the Sentinel-1-based scenario , whereas its F1-score (0.9176 0.0162) was only marginally higher than that of the Sentinel-2-based scenario (approximately 0.915), with no statistically significant difference . These results indicate that the benefit of sensor integration was particularly evident for overall classification accuracy and olive-grove discrimination, whereas Sentinel-2-based information alone already provided high discrimination of rainfed cereals.
TABLE 8
| Metric | S2-based | S1-based | Integrated S1+S2 | Int. vs. S2 | Int. vs. S1 |
|---|---|---|---|---|---|
| Mean SD | Mean SD | Mean SD | -value | -value | |
| Overall Accuracy (OA) | 0.941 0.009 | 0.675 0.020 | 0.96550.0061 | ||
| F1-score (Olive) | 0.863 0.025 | 0.626 0.030 | 0.90570.0189 | ||
| F1-score (Cereal) | 0.915 0.020 | 0.713 0.025 | 0.91760.0162 |
Comparison of Random Forest (RF) classification performance for the high-performing Sentinel-2-based, Sentinel-1-based, and integrated Sentinel-1/Sentinel-2 feature combinations based on repeated 10-fold cross-validation. Pairwise significance tests compare the integrated scenario with the corresponding single-sensor-based scenarios.
S2-based = S2 bands + NDRE2 + ELEV + SLOPE + ASPECT; S1-based = VV + VH + RATIO + ELEV + SLOPE + ASPECT; Integrated S1+S2 = S2 bands + VV + VH + NDRE2 + RATIO + ELEV + SLOPE + ASPECT. Values are reported as mean standard deviation. Pairwise comparisons evaluate the integrated scenario against each single-sensor-based scenario.* indicates a statistically significant difference.
3.2 Crop type classification Accuracy Assessment
The final crop type classifications were derived using the feature combination that achieved the highest average Overall Accuracy during the feature selection stage, namely Sentinel-2 spectral bands, NDRE2, Sentinel-1 VV and VH backscatter, the radar-derived RATIO feature, and topographic variables (elevation, slope, and aspect).
The resulting mean performance metrics and their associated standard deviations are presented in Table 9. The results demonstrate excellent and consistent classification performance, with an Overall Accuracy (OA) of 0.9655 0.0061. The low standard deviation indicates that model performance remained stable across different data partitions, highlighting the robustness of the selected feature set. Both crop classes were accurately discriminated, achieving F1-scores of 0.9057 0.0189 for olive groves and 0.9176 0.0162 for rainfed cereals. Class-specific recall values further confirm the reliability of the classification, with olive groves exhibiting particularly high detection rates (Recall = 0.9626 0.0114), while cereal crops also achieved strong performance (Recall = 0.8740 0.0207). Furthermore, the low coefficients of variation (all below 2.5%) provide additional evidence that the classifier is not overly sensitive to variations in training and validation samples. Overall, the low variability observed across all performance measures confirms the robustness and generalization capability of the Random Forest model for crop type discrimination in the study area.
TABLE 9
| Metric | Mean SD |
|---|---|
| Overall Accuracy (OA) | 0.9655 0.0061 |
| Precision (P) | 0.9077 0.0148 |
| F1-score (Olive) | 0.9057 0.0189 |
| F1-score (Cereal) | 0.9176 0.0162 |
| Recall (Olive) | 0.9626 0.0114 |
| Recall (Cereal) | 0.8740 0.0207 |
Random Forest (RF) classification performance for the S2 bands + VV + VH + NDRE2 + RATIO + ELEV + SLOPE + ASPECT feature combination.
Figure 4 and Table 10 illustrate the spatial distribution of classified rainfed olive groves and cereal crops across the TTH region based on the optimal classification scenario. Within the rainfed agricultural classification domain, a total of approximately 453,214.9 ha was mapped as rainfed cereals and 23,427.7 ha as olive groves, corresponding to approximately 95.1% and 4.9%, respectively, of the total mapped area (476,642.7 ha). Rainfed cereals therefore represented the dominant mapped agricultural class throughout the study region.
FIGURE 4
TABLE 10
| Province | Rainfed cereals (ha) | Olive groves (ha) |
|---|---|---|
| Chefchaouen | 126,770.8 | 9,781.1 |
| Larache | 81,655.4 | 4,971.4 |
| Al Hoceima | 68,636.8 | 1,651.6 |
| Ouazzane | 62,115.0 | 1,419.0 |
| Tétouan | 43,389.2 | 3,759.0 |
| Tanger-Assilah | 41,183.0 | 412.6 |
| Fahs Anjra | 25,916.3 | 1,433.1 |
| M’diq-Fnidq | 3,548.4 | 0.0 |
| Total | 453,214.9 | 23,427.7 |
Mapped area of rainfed cereals and olive groves by province within the rainfed agricultural classification domain of the TTH region.
The meaning of the bold values is the sum ‐ the total.
At the provincial level, the largest mapped cereal area occurred in Chefchaouen (126,770.8 ha), followed by Larache (81,655.4 ha), Al Hoceima (68,636.8 ha), Ouazzane (62,115.0 ha), and Tétouan (43,389.2 ha). Olive groves showed a more spatially concentrated distribution, with the largest mapped areas occurring in Chefchaouen (9,781.1 ha), Larache (4,971.4 ha), and Tétouan (3,759.0 ha). Smaller olive areas were mapped in Al Hoceima (1,651.6 ha), Fahs Anjra (1,433.1 ha), Ouazzane (1,419.0 ha), and Tanger-Assilah (412.6 ha), while no olive groves were mapped within the rainfed classification domain of M’diq-Fnidq.
The spatial pattern confirms the predominance of rainfed cereal cultivation across the classification domain, whereas olive groves occupy a smaller and more localized proportion of the mapped agricultural area. These area estimates represent the spatial extent predicted by the classification within the DPA-defined rainfed agricultural domain and should therefore be interpreted as mapped areas rather than official agricultural inventory statistics.
3.3 Feature space analysis
3.3.1 Feature importance
Figure 5 presents the variable importance based on the mean absolute SHAP values for each feature and class. The results highlight a clear dominance of topographic variables, with elevation emerging as the most influential predictor (total SHAP 0.17), followed by slope (0.08). Among the spectral features, the red-edge index NDRE2 shows the highest contribution (0.065), confirming its strong discriminative power for crop classification. Several Sentinel-2 bands, particularly B6, B7, and B8A, also contribute substantially, indicating the importance of the red-edge and near-infrared regions.
FIGURE 5
Class-specific patterns reveal that elevation has a slightly stronger influence on cereal classification than on olives, while most spectral variables contribute similarly to both classes. In contrast, radar features (VV, VH, and RATIO) exhibit comparatively lower importance, suggesting a more limited but complementary role in the classification process.
It is worth noting that topographic variables were also involved in the radiometric terrain correction (RTC) applied to Sentinel-1 data, particularly through incidence angle normalization. This may introduce some degree of dependency between elevation and the corrected VV and VH backscatter. However, the relatively lower contribution of radar variables compared to elevation suggests that the importance of elevation is not solely driven by preprocessing effects. Instead, it likely reflects both true environmental controls on crop distribution and partial interactions with terrain-corrected radar signals.
3.3.2 SHapley additive exPlanations (SHAP)
Figures 6, 7 present the SHAP summary plots for the cereal and olive classes, respectively, illustrating both the magnitude and direction of each variable’s contribution to the model predictions. In both classes, elevation is the most influential variable, with higher values generally associated with positive SHAP contributions. This pattern is visible for both cereals and olives, although it appears stronger and more consistent for olives. Slope is the second most important variable and also shows predominantly positive contributions at higher values, especially for olives, while its effect is more dispersed for cereals, suggesting greater variability in its relationship with class prediction.
FIGURE 6
FIGURE 7
Among the spectral variables, NDRE2 shows a clear and consistent pattern in both classes, with higher values generally associated with positive SHAP contributions. For cereals, B8A and B12 are among the most important spectral bands, with high B12 values showing a marked positive effect, whereas B8A displays a more variable but still influential contribution. For olives, B6 and B7 rank above B8A and B12, and higher values of these red-edge bands are more consistently associated with positive SHAP contributions. Overall, the spectral patterns differ between the two classes, indicating class-specific responses to optical information.
Radar variables (VV, VH, and RATIO) show comparatively lower contributions, with SHAP values concentrated closer to zero and less distinct separation between low and high feature values than for topographic and spectral variables. Their effects are therefore weaker at the individual-variable level, although they still contribute to the overall feature space.
Overall, the SHAP distributions indicate that model predictions are driven primarily by topographic variables, followed by NDRE2 and a set of class-dependent spectral bands. In contrast, radar features show more limited individual contributions in both classes.
4 Discussion
4.1 Synergistic contribution of SAR, optical, and topographic data for discriminating rainfed cereals and olive groves
The comparison of input datasets highlights the dominant role of Sentinel-2 spectral information in the discrimination between rainfed cereals and olive groves. Optical features alone already achieve high classification performance, while the addition of Sentinel-1 parameters leads to more moderate improvements. However, the best results are consistently obtained when combining Sentinel-1, Sentinel-2, and topographic variables, confirming that maximum classification accuracy emerges from the integration of complementary data sources.
From a sensing-physics perspective, this hierarchy is expected. Optical data directly capture biochemical and phenological properties of vegetation, which are highly discriminative for crop identification, although they remain sensitive to cloud contamination during key growth stages (Liu et al., 2019; Zhang et al., 2023; Syrris et al., 2019; Schulz et al., 2021; Mercier et al., 2020; Immitzer et al., 2016). In contrast, SAR data provide all-weather, day–night observations and are sensitive to canopy structure, surface roughness, and moisture conditions—information that is not accessible through spectral measurements (Liu et al., 2019; Syrris et al., 2019; Mercier et al., 2020; Veloso et al., 2017; Nasiri et al., 2022; Tufail et al., 2022). While SAR backscatter alone is less directly linked to crop type separability, it enriches the feature space with structural and hydrological information that becomes valuable in combination.
This complementarity explains the systematic improvement observed in integrated models and is widely reported in the literature. Numerous studies have shown that combining optical and SAR data enhances crop classification by leveraging complementary biophysical and structural signals (; ; Orynbaikyzy et al., 2020; Tufail et al., 2022; Nasirzadehdizaji et al., 2019; Van Tricht et al., 2018; Mustak et al., 2019). In particular, the joint use of backscatter coefficients (VV, VH), polarization ratios, and textures with optical indices produces more robust and accurate crop maps than either data source alone (; Liu et al., 2019; Syrris et al., 2019; Nasiri et al., 2022; ).
Crop-specific responses further support this interpretation. Cereals are generally well classified using optical features due to their distinct phenological cycles, as demonstrated in studies using Sentinel-2 NDVI and red-edge indices (; Htitiou et al., 2019). In contrast, woody crops such as olives exhibit more complex structural characteristics, making their classification more challenging when relying solely on spectral data. In such cases, SAR contributes useful structural information, and its integration with optical data improves classification performance (Moumni et al., 2021b).
At a broader scale, studies across different regions confirm similar patterns. In Germany, combining Sentinel-1 and Sentinel-2 data in Random Forest models yields the best classification results, although Sentinel-2 alone already provides high accuracy and Sentinel-1 alone performs less well (). Other studies report variability in the relative importance of SAR, but consistently show that the best performance is achieved through data fusion (Orynbaikyzy et al., 2022). In the United States, optical data were found to be more informative than SAR for crop classification using decision trees (Song et al., 2021), whereas in Kenya and West Africa, integrating optical and SAR data significantly improved classification performance in heterogeneous agricultural systems (Kerner et al., 2020; ).
The magnitude of improvement associated with SAR integration, however, remains context-dependent. In Mediterranean environments similar to the study area, previous work has shown that adding Sentinel-1 data to Sentinel-2 typically results in modest accuracy gains. For example (), reported an improvement of approximately 2.5% in F-score, while (Gonzalez-Audicana et al., 2021) observed gains of around 5%, with simplified feature combinations performing nearly as well as full datasets. These findings are consistent with the present results, where SAR enhances performance but does not fundamentally alter classification outcomes.
Water availability represents an additional source of within-class variability in rainfed agricultural systems. The same crop type may exhibit different spectral responses depending on rainfall distribution, soil moisture conditions, and local microclimates. This effect was mitigated through the use of multi-temporal Sentinel observations covering the full growing season, which capture crop development trajectories rather than instantaneous conditions. Furthermore, the inclusion of SAR-derived variables and topographic predictors provided complementary information related to moisture dynamics and environmental gradients, thereby improving the robustness of crop discrimination under variable hydrological conditions.
An important additional factor is the role of environmental variables. The strong improvement observed when incorporating topographic features suggests that crop distribution is closely linked to landscape organization and agro-ecological gradients. This is further supported by findings in Moroccan contexts, where the inclusion of DEM-derived variables can contribute more to classification performance than SAR data alone (). In that study, optical data combined with topography even slightly outperformed SAR–optical fusion, highlighting the critical role of environmental context. A particular challenge in the study area is the highly fragmented nature of agricultural parcels, which increases the likelihood of mixed pixels when using medium-resolution satellite imagery. Despite this limitation, Sentinel-1 and Sentinel-2 data at 10 m resolution proved sufficient to discriminate rainfed cereals and olive groves. This can be explained by the use of multi-temporal observations spanning the entire growing season, which capture crop-specific phenological trajectories rather than relying on single-date spectral signatures. In addition, the integration of topographic information provided valuable contextual information that helped compensate for spatial heterogeneity associated with fragmented agricultural landscapes. Future improvements could rely on higher-resolution imagery, object-based approaches, or parcel-level analyses to further reduce mixed-pixel effects in highly fragmented agricultural landscapes.
The results further demonstrate that distinguishing rainfed cereals from olive groves is feasible despite the strong influence of environmental variability. Classification performance was not driven by water availability alone but rather by the combined contribution of phenological behavior, spectral characteristics, canopy structure, moisture-related information, and topographic context. The complementary nature of these variables allowed the model to effectively separate annual herbaceous crops from perennial woody vegetation under rainfed conditions.
The classification performance should nevertheless be interpreted within the scope of the binary classification task considered in this study. Annual rainfed cereals and perennial olive groves represent structurally and phenologically contrasting agricultural categories, which facilitates their discrimination compared with more complex multiclass problems involving several annual crops with overlapping phenological cycles. Consequently, the high classification accuracy obtained here should not be directly generalized to such multiclass crop classification settings. Extending the proposed framework to discriminate among individual annual crop types would therefore represent an important direction for future research.//Although Random Forest provided high classification accuracy and allowed straightforward interpretation through SHAP analysis, other machine-learning algorithms such as Support Vector Machines, Gradient Boosting methods, and Deep Learning approaches may offer complementary insights and potentially improved performance under certain conditions. The objective of the present study was primarily to evaluate the contribution of optical, SAR, phenological, and topographic predictors rather than to benchmark classification algorithms. Future research should therefore compare alternative classification approaches in order to assess the generality and robustness of the observed feature importance patterns.
Overall, the results demonstrate that the discrimination of rainfed cereals and olive groves in this heterogeneous Mediterranean landscape benefits from the integration of multiple, complementary information domains. Optical data provide direct insight into vegetation condition, SAR contributes structural and moisture-related information, and topography captures the spatial organization of agricultural systems. Their combined use enables a more complete representation of agro-ecosystem complexity, leading to more accurate and robust classification outcomes.
4.2 Feature importance and SHAP interpretation for rainfed cereal–olive discrimination
The SHAP analysis reveals that topographic variables (elevation and slope) consistently dominate feature importance across all crop types (Figures 5–7), ranking above spectral and radar-derived features. This dominance is particularly coherent with the agro-ecological structure of the TTH region, where the rugged terrain of the western Rif creates steep altitudinal and climatic gradients over short distances. The region spans from coastal lowlands to Rif peaks exceeding 2,000 m, and this topographic complexity strongly governs crop distribution under rainfed conditions (Shroy et al., 1990). In the absence of irrigation, elevation acts as a proxy for the rainfall gradient, temperature regime, and soil depth that together influence which crops can be cultivated. The western Rif receives between 500 and over 1,000 mm of annual rainfall depending on altitude and exposure, making elevation a key predictor of crop viability (Loudiyi et al., 2020).
The SHAP summary plots for cereals (Figure 6) and olives (Figure 7) both show elevation as the strongest predictor. However, the directionality does not indicate a strict altitudinal separation between crops. Higher elevation values are generally associated with positive SHAP contributions for both cereals and olives, suggesting that elevation increases the probability of classification for both crop types. Nevertheless, the distribution and magnitude of SHAP values differ, indicating that elevation plays a stronger and more consistent role for olives. This pattern can still be interpreted in light of the well-documented altitudinal organisation of crops in the Rif, where cereals are more commonly found in accessible lowlands and gentle slopes, while olive groves are frequently established on hillslopes at moderate elevations (Hajar et al., 2020). Rather than reflecting a strict partitioning, the SHAP results capture a gradient of suitability shaped by both environmental constraints and agricultural practices. Notably, Morocco’s “Green Morocco Plan” has promoted the conversion of cereal land into olive plantations in the province of Tétouan, further structuring this spatial organisation. In the Rif landscape, traditional terroir organization places cereals and olive groves on the glacis (gentle slope), while steeper upper slopes are occupied by degraded matorral and, in some areas, cannabis cultivation (Sabir et al., 2003).
The observed spatial organization of crops is not solely determined by environmental conditions but also reflects human decision-making processes. Agricultural policies, market incentives, land tenure, accessibility, and management practices influence the location and extent of crop cultivation. For example, the expansion of olive plantations promoted under the Green Morocco Plan has contributed to changes in land-use patterns throughout northern Morocco. Although such anthropogenic drivers were not explicitly included as predictor variables, their effects are indirectly reflected in the spatial distribution of crops captured by the remote sensing observations and topographic context. Consequently, the SHAP results should be interpreted as identifying associations between environmental conditions and crop occurrence rather than direct causal relationships.
Slope ranks second across all crop types, reinforcing the topographic signal. In the western Rif, slope gradients are medium to steep (15%–60%), and the schist and marl substrates produce shallow, erosion-prone soils whose agricultural potential is strongly influenced by slope (Sabir et al., 2003). Olive trees are well adapted to sloping terrain due to their deep root systems and tolerance to thin soils (Xiloyannis et al., 2008), whereas cereals generally require flatter terrain for cultivation and are more sensitive to erosion. The SHAP results reflect this tendency: higher slope values tend to contribute positively to olive classification, while their effect on cereals is more variable and generally weaker. This indicates that slope acts as a differentiating factor, but not as a strict separator. In the Prerif and Rif context, soil erosion studies confirm that more than 90% of agricultural land is covered by cereals, olives, or a mixture of both, distributed according to slope and soil depth ().
The fact that elevation and slope together outrank all spectral features has a specific explanation in the rainfed context. Under bour conditions, the same crop type can exhibit highly variable spectral signatures across the landscape because of spatial differences in water stress, phenological timing, and soil moisture, all of which are governed by topography. A cereal field on a north-facing slope at 600 m may look spectrally different from one on a south-facing slope at 300 m, despite being the same crop, because rainfall interception, soil moisture retention, and growing season length differ. In such conditions, topographic context provides a more stable discriminant than spectral reflectance alone. In rainfed Moroccan agriculture, where at least 80% of cereal production is rainfall-dependent and yields are primarily explained by seasonal rainfall amount and distribution (Shroy et al., 1990), the model captures that spatial context is often more informative than instantaneous spectral response.
It should also be noted that topographic variables played a dual role within the methodological framework. Elevation data were used both during Sentinel-1 radiometric terrain normalization and as explanatory variables in the classification model. This may introduce a degree of dependence between terrain-related predictors and corrected SAR observations. However, the objective of terrain normalization is to remove geometric distortions associated with topography rather than to encode elevation information directly into the radar signal. Furthermore, the feature-group comparison experiments and SHAP analysis suggest that elevation and slope contribute information that is complementary to, rather than redundant with, the SAR-derived variables. NDRE2 ranks third for both overall importance (Figure 5) and for individual crop predictions (Figures 6, 7). In the rainfed TTA context, this is especially meaningful. The red-edge bands (Sentinel-2 B5–B7) are sensitive to chlorophyll content and canopy structure while being less affected by bright soil backgrounds, a critical advantage in rainfed semi-arid landscapes where vegetation cover is sparse and soils are exposed for long periods between sowing and canopy closure (). NDRE adjusts for changes in leaf water content while overcoming the detrimental effects of soil substrate heterogeneity (Sharifi and Felegari, 2023), both of which are pronounced in the Rif where soils alternate between sandy schist-derived and clay-rich marl substrates (Sadiki et al., 2009). For rainfed cereals that experience intermittent water stress, NDRE captures subtle chlorophyll variations that NDVI, which saturates at moderate canopy densities, would miss. For olive trees, whose evergreen canopy maintains relatively stable but low chlorophyll signal against a bright soil background, NDRE is better positioned to detect the vegetation signal without soil contamination.
The differences in spectral band rankings between cereals and olives are agronomically meaningful and specific to rainfed conditions. For cereals (Figure 6), B8A (narrow NIR at 865 nm) and B12 (SWIR at 2190 nm) rank above B6 and B7. Rainfed cereals undergo rapid phenological transitions, from bare soil to full green canopy and back to dry senescence within a single season, and their growth is tightly coupled to rainfall events. The SWIR band (B12) is sensitive to moisture content in both vegetation and soil, making it particularly informative for tracking the moisture-driven phenological dynamics of bour cereals (Şimşek, , 2025). B8A’s prominence reflects the strong NIR reflectance plateau of dense herbaceous canopies at peak growth, which helps separate cereal parcels from the sparser, year-round canopy of olive trees.
For olives (Figure 7), B6 (red-edge at 740 nm) and B7 (red-edge at 783 nm) rank higher than B8A and B12. This is consistent with the spectral characteristics of olive tree canopies, which are evergreen, sclerophyllous, and produce a mixed pixel of canopy and bare inter-row soil. Olive trees maintain relatively stable chlorophyll content year-round but show subtle seasonal variations (Makhloufi et al., 2021). These gradual changes are best captured in the red-edge region rather than in the broad NIR or SWIR.
The relatively lower ranking of Sentinel-1 SAR features (VV, VH) is consistent with the broader finding that SAR contributes modestly to classification accuracy in semi-arid Mediterranean contexts. In rainfed terrain specifically, the SAR signal is influenced by surface roughness, soil moisture, and terrain geometry on steep Rif slopes, which can obscure vegetation-related signals. Nevertheless, SAR features may still contribute to resolving specific classification ambiguities not fully captured in aggregated SHAP importance.
Overall, the SHAP analysis demonstrates that crop type classification in the rainfed terrain of the TTH region is governed by a hierarchical combination of topographic context (elevation and slope as proxies for environmental gradients), vegetation biophysical state (NDRE2 capturing chlorophyll and water content), and crop-specific spectral signatures. The dominance of DEM-derived variables reflects the fundamental role of topography in shaping water availability and agricultural practices, making it a primary driver of crop spatial distribution in this context. While SHAP provides valuable insights into the relative importance of predictors, it does not establish causal relationships between environmental variables and crop occurrence. Instead, SHAP quantifies how strongly each variable contributes to model predictions. Therefore, the dominant influence of elevation and slope should be interpreted as evidence that these variables effectively represent underlying environmental gradients, including rainfall, temperature, soil characteristics, and accessibility, which collectively influence crop distribution in the study area.
5 Conclusion
This study investigated the contribution of optical (Sentinel-2), radar (Sentinel-1), and topographic variables to the binary discrimination of rainfed cereals and olive groves in the heterogeneous agricultural landscapes of the Tangier–Tétouan–Al Hoceima (TTH) region. The integrated configuration achieved the highest classification performance, with an overall accuracy of 0.96 and balanced F1-scores for both cereals and olive groves. Statistical comparisons further showed that the integrated scenario significantly improved overall accuracy and olive F1-score relative to the high-performing Sentinel-1-based and Sentinel-2-based scenarios. For cereals, however, the improvement over the Sentinel-2-based scenario was small and not statistically significant, indicating that optical and topographic information alone already provided strong discrimination of this class. These findings demonstrate that the benefit of multi-source integration is class-dependent and particularly relevant for improving olive-grove discrimination in this heterogeneous Mediterranean landscape.
Beyond classification performance, the study provides important insights into the factors governing crop distribution in rainfed agro-ecosystems. SHAP analysis revealed that topographic variables, particularly elevation and slope, exerted a stronger influence on model predictions than most spectral and radar-derived features. This highlights the important role of environmental gradients in shaping agricultural patterns in the Rif landscape, where rainfall availability, temperature conditions, soil properties, and terrain constraints influence crop suitability. The results therefore suggest that crop type discrimination in rainfed systems is not driven solely by crop spectral characteristics but also by the broader agro-ecological context.
The results further indicate that combining optical, SAR, and topographic information can improve the representation of crop systems by integrating complementary information on vegetation condition, canopy structure, moisture-related characteristics, and environmental context. In particular, red-edge information and DEM-derived variables were among the most informative predictors for distinguishing annual rainfed cereals from perennial olive groves. The statistical comparison showed that the contribution of sensor integration was most evident for overall classification performance and olive-grove discrimination, whereas Sentinel-2-based information already provided high performance for cereals.
Several limitations should nevertheless be acknowledged. The analysis focused on a single agricultural season (2024) and therefore does not capture interannual variability associated with climate fluctuations, management changes, or land-use transitions. In addition, the use of 10 m satellite imagery may still be affected by mixed-pixel effects in highly fragmented agricultural areas. Furthermore, only the Random Forest algorithm was evaluated, although other machine-learning and deep-learning approaches may provide complementary perspectives.
Future research should therefore extend the analysis to multiple years, investigate the transferability of the proposed framework across different Mediterranean environments, evaluate alternative classification algorithms, and explore the integration of higher-resolution imagery as well as socio-economic and management-related variables. Such developments would contribute to a more comprehensive understanding of the environmental and anthropogenic drivers of crop distribution and further improve the reliability of operational crop monitoring systems.
Overall, this study demonstrates that the integration of spectral, structural, and environmental information can enhance the binary discrimination of rainfed cereals and olive groves in complex Mediterranean agricultural landscapes, although the magnitude of this benefit varies between crop classes. By linking classification performance with agro-ecological interpretation, the proposed framework provides a foundation for agricultural monitoring and decision support in data-scarce and climate-sensitive regions.
Statements
Data availability statement
The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.
Author contributions
MQ: Formal Analysis, Writing – original draft, Methodology, Writing – review and editing, Conceptualization. M-AB: Investigation, Software, Writing – review and editing, Funding acquisition, Conceptualization, Resources, Supervision, Project administration, Data curation, Validation, Methodology, Visualization, Formal Analysis. MC: Methodology, Formal Analysis, Software, Project administration, Resources, Visualization, Data curation, Validation, Investigation, Writing – review and editing, Conceptualization, Funding acquisition, Supervision.
Funding
The author(s) declared that financial support was received for this work and/or its publication. This study received financial support from Ouranos and the Minister of the Environment, the Fight Against Climate Change, Wildlife and Parks through the International Climate Cooperation Program (PCCI).
Conflict of interest
The author(s) declared that this work was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Generative AI statement
The author(s) declared that generative AI was used in the creation of this manuscript. The author used ChatGPT to assist with data preprocessing and figure extraction in Python during the preparation of this manuscript. All prompts, intermediate outputs, and resulting text were carefully reviewed, verified, and edited by the author. The author accepts full responsibility for the content and integrity of the final manuscript.
Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.
Publisher’s note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
References
1
AkcayH.AksoyS.KayaS.SertelE.DashJ. (2023). Evaluating the potential of multi-temporal sentinel-1 and sentinel-2 data for regional mapping of olive trees. Int. J. Remote Sens.44 (23), 7338–7364. 10.1080/01431161.2023.2282404
2
AsamS.GessnerU.Almengor GonzálezR.WenzlM.KrieseJ.KuenzerC. (2022). Mapping crop types of Germany by combining temporal statistical metrics of sentinel-1 and sentinel-2 time series with lpis data. Remote Sens.14 (13), 2981. 10.3390/rs14132981
3
BerryD. M.FerrariA.GnesiS. (2017). Assessing tools for defect detection in natural language requirements: recall vs precision. Sch. Comput. Sci. Univ. Waterloo, Tech. Rep.
4
BlickensdörferL.SchwiederM.PflugmacherD.NendelC.ErasmiS.HostertP. (2022). Mapping of crop types and crop sequences with combined time series of sentinel-1, sentinel-2 and landsat 8 data for Germany. Remote Sensing Environment269, 112831. 10.1016/j.rse.2021.112831
5
BogireddyS. R.MurariH. (2024). “Enhancing crop yield prediction through random forest classifier: a comprehensive approach,” in 2024 5th International Conference on Smart Electronics and Communication (ICOSEC) (IEEE), 1663–1668.
6
BouasriaA.RahimiA.El MjiriI.NamrK. I.EttachfiniE. M.BounifM. (2021). “Comparative study between two methods of crop classification in the irrigated area of sidi bennour,” in 2021 Third International Sustainability and Resilience Conference: Climate Change (IEEE), 500–503.
7
BreimanL. (2001). Random forests. Mach. Learning45 (1), 5–32. 10.1023/a:1010933404324
8
BurzykowskiT.GeubbelmansM.RousseauA.-J.ValkenborgD. (2023). Validation of machine learning algorithms. Am. Journal Orthodontics Dentofacial Orthopedics164 (2), 295–297. 10.1016/j.ajodo.2023.05.007
9
ChakharA.Hernández-LópezD.BallesterosR.MorenoM. A. (2021). Improving the accuracy of multiple algorithms for crop classification by integrating sentinel-1 observations with sentinel-2 data. Remote Sens.13 (2), 243. 10.3390/rs13020243
10
ChakkourS.BergmeierE.MeyerS.KassoutJ.KadiriM.AterM. (2023). Plant diversity in traditional agroecosystems of north Morocco. Veg. Classif. Surv.4, 31–45. 10.3897/vcs.86024
11
CheikhaouiY.MohamedS.MohamedA.SaïdC.AbdelhakB.KenzaK. H. (2024). Remote sensing for sustainable crop water management in a changing climate. Environ. Sci. and Sustain. Dev.9 (4), 79–93. 10.21625/essd.v9i4.1120
12
ChenJ. M. (1996). Evaluation of vegetation indices and a modified simple ratio for boreal applications. Can. J. Remote Sens.22 (3), 229–242. 10.1080/07038992.1996.10855178
13
ChenD.HuangJ.JacksonT. J. (2005). Vegetation water content estimation for corn and soybeans using spectral indices derived from modis near-and short-wave infrared bands. Remote Sens. Environ.98 (2-3), 225–236. 10.1016/j.rse.2005.07.008
14
ChengG.DingH.YangJ.ChengY. (2023). Crop type classification with combined spectral, texture, and radar features of time-series sentinel-1 and sentinel-2 data. Int. J. Remote Sens.44 (4), 1215–1237. 10.1080/01431161.2023.2176723
15
CleversJ. G.GitelsonA. A. (2013). Remote estimation of crop and grass chlorophyll and nitrogen content using red-edge bands on sentinel-2 and-3. Int. J. Appl. Earth Observation Geoinformation23, 344–351. 10.1016/j.jag.2012.10.008
16
De LucaG.Mn SilvaJ.Di FazioS.ModicaG. (2022). Integrated use of sentinel-1 and sentinel-2 data and open-source machine learning algorithms for land cover mapping in a mediterranean region. Eur. J. Remote Sens.55 (1), 52–70. 10.1080/22797254.2021.2018667
17
DemissieW. A.SebastianiL.RossettoR. (2026). Integration of artificial intelligence and remote sensing for crop yield prediction and crop growth parameter estimation in mediterranean agroecosystems: methodologies, emerging technologies, research gaps, and future directions. Eur. J. Agron.173, 127894. 10.1016/j.eja.2025.127894
18
DongJ.XiaoX.ChenB.TorbickN.JinC.ZhangG.et al (2013). Mapping deciduous rubber plantations through integration of palsar and multi-temporal landsat imagery. Remote Sens. Environ.134, 392–402. 10.1016/j.rse.2013.03.014
19
Ed-dahmanyN.BounouaL.LachkhamM. A.BoukachabaN.KhebizaM. Y.BahiH. (2025). Land use and agricultural policy: assessing the green Morocco plan’s effect on cereal production. Land15 (1), 17. 10.3390/land15010017
20
El AroussiO.MesrarL.El GarouaniA.LahrachA.BeaabidaateL.AkdimB.et al (2011). Predicting the potential annual soil loss using the revised universal soil loss equation (rusle) in the oued el malleh catchment (prerif, Morocco). Present Environ. Sustain. Dev.5 (2), 5–16. Available online at: https://www.usmba.ac.ma/~usmba2/wp-content/uploads/2020/12/Predicting-the-potential-annual-soil-loss-using-revised-universal-soil-loss-equation.pdf.
21
EldersA.CarrollM. L.NeighC. S.D’AgostinoA. L.KsollC.WootenM. R.et al (2022). Estimating crop type and yield of small holder fields in Burkina Faso using multi-day sentinel-2. Remote Sensing Applications Soc. Environment27, 100820. 10.1016/j.rsase.2022.100820
22
ElmoussaouiE.MoumniA.LahrouniA. (2021). Cartography of moroccan argan tree using combined optical and sar imagery integrated with digital elevation model. International Archives Photogrammetry, Remote Sensing Spatial Information Sciences46, 211–217. 10.5194/isprs-archives-xlvi-4-w5-2021-211-2021
23
FarrT. G.RosenP. A.CaroE.CrippenR.DurenR.HensleyS.et al (2007). The shuttle radar topography mission. Rev. Geophysics45 (2). 10.1029/2005rg000183
24
FelegariS.SharifiA.MoravejK.AminM.GolchinA.MuzirafutiA.et al (2021). Integration of sentinel 1 and sentinel 2 satellite images for crop mapping. Appl. Sci.11 (21), 10104. 10.3390/app112110104
25
FontanelliG.CremaA.AzarR.StroppianaD.VillaP.BoschettiM. (2014). “Agricultural crop mapping using optical and sar multi-temporal seasonal data: a case study in lombardy region, Italy,” in 2014 IEEE Geoscience and Remote Sensing Symposium (IEEE), 1489–1492.
26
FuB.XieS.HeH.ZuoP.SunJ.LiuL.et al (2021). Synergy of multi-temporal polarimetric sar and optical image satellite for mapping of marsh vegetation using object-based random forest algorithm. Ecol. Indic.131, 108173. 10.1016/j.ecolind.2021.108173
27
GaoB.-C. (1996). Ndwi—a normalized difference water index for remote sensing of vegetation liquid water from space. Remote Sensing Environment58 (3), 257–266. 10.1016/s0034-4257(96)00067-3
28
GhoshS.SarafS.BeheraM.BiradarC. (2017). Estimating agricultural crop types and fallow lands using multi temporal sentinel-2a imageries. Proc. Natl. Acad. Sci. India Sect. A Phys. Sci.87 (4), 769–779. 10.1007/s40010-017-0447-5
29
GitelsonA.MerzlyakM. N. (1994). Spectral reflectance changes associated with autumn senescence of aesculus hippocastanum l. and acer platanoides l. leaves. spectral features and relation to chlorophyll estimation. J. Plant Physiology143 (3), 286–292. 10.1016/s0176-1617(11)81633-0
30
GitelsonA. A.KaufmanY. J.MerzlyakM. N. (1996). Use of a green channel in remote sensing of global vegetation from eos-modis. Remote Sensing Environ.58 (3), 289–298. 10.1016/s0034-4257(96)00072-7
31
Gonzalez-AudicanaM.Lopez-SaenzS.AriasM.SolaI.Alvarez-MozosJ. (2021). “Sentinel-1 and sentinel-2 based crop classification over agricultural regions of navarre (spain),” in 2021 IEEE International Geoscience and Remote Sensing Symposium IGARSS (IEEE), 5977–5980.
32
Google Developers (2020). Google Developers: Sentinel-1 Algorithms. Available online at: https://developers.google.com/earth-engine/sentinel1 (Accessed April 08 2026).
33
Google Developers (2026). Earth engine data catalog: sentinel-1 SAR GRD: C-band synthetic aperture radar ground range detected, log scaling. Available online at: https://developers.google.com/earth-engine/datasets/catalog/COPERNICUS_S1_GRD (Accessed April 08 2026).
34
GorelickN.HancherM.DixonM.IlyushchenkoS.ThauD.MooreR. (2017). Google earth engine: Planetary-scale geospatial analysis for everyone. Remote Sensing Environ.202, 18–27. 10.1016/j.rse.2017.06.031
35
HajarE.HichamB.TomaderE.L’bachirE. K. M.Mohammed L’bachirE. K. (2020). Monitoring of the project to convert cereal production into olive plantations in the province of tetouan (northern Morocco). J. Agric. Ecol. Res. Int.20 (3), 1–16. 10.9734/jaeri/2019/v20i330114
36
HCP (2020). Monographie de la région Tanger-Tétouan-Al Hoceima. Tech. Report. Haut‐Commissariat au Plan. Available online at: https://www.hcp.ma/region-tanger/attachment/2099765/ (Accessed April 15, 2025).
37
HoltgraveA.-K.RöderN.AckermannA.ErasmiS.KleinschmitB. (2020). Comparing sentinel-1 and-2 data and indices for agricultural land use monitoring. Remote Sens.12 (18), 2919. 10.3390/rs12182919
38
HtitiouA.BoudharA.LebriniY.HadriaR.LionbouiH.ElmansouriL.et al (2019). The performance of random forest classification based on phenological metrics derived from sentinel-2 and landsat 8 to map crop cover in an irrigated semi-arid region. Remote Sens. Earth Syst. Sci.2 (4), 208–224. 10.1007/s41976-019-00023-9
39
HueteA. R. (1988). A soil-adjusted vegetation index (savi). Remote Sensing Environment25 (3), 295–309. 10.1016/0034-4257(88)90106-x
40
HueteA.DidanK.MiuraT.RodriguezE. P.GaoX.FerreiraL. G. (2002). Overview of the radiometric and biophysical performance of the modis vegetation indices. Remote Sensing Environment83 (1-2), 195–213. 10.1016/s0034-4257(02)00096-2
41
ImmitzerM.VuoloF.AtzbergerC. (2016). First experience with sentinel-2 data for crop and tree species classifications in central Europe. Remote Sensing8 (3), 166. 10.3390/rs8030166
42
JiangZ.HueteA. R.DidanK.MiuraT. (2008). Development of a two-band enhanced vegetation index without a blue band. Remote Sensing Environ.112 (10), 3833–3845. 10.1016/j.rse.2008.06.006
43
JungM. (2013). LecoS-A QGIS plugin for automated landscape ecology analysis (No. e116v2). Peer J. Pre Prints. Technical report.
44
KamenovaI.DimitrovP. (2021). Evaluation of sentinel-2 vegetation indices for prediction of lai, fapar and fcover of winter wheat in Bulgaria. Eur. J. Remote Sens.54 (Suppl. 1), 89–108. 10.1080/22797254.2020.1839359
45
KernerH.NakalembeC.Becker-ReshefI. (2020). Field-level crop type classification with k nearest neighbors: a baseline for a new Kenya smallholder dataset. arXiv preprint arXiv:2004.03023.
46
KobayashiN.TaniH.WangX.SonobeR. (2020). Crop classification using spectral indices derived from sentinel-2a imagery. J. Inf. Telecommun.4 (1), 67–90. 10.1080/24751839.2019.1694765
47
LeeJ.-S.WenJ.-H.AinsworthT. L.ChenK.-S.ChenA. J. (2008). Improved sigma filter for speckle filtering of SAR imagery. IEEE Trans. Geoscience Remote Sens.47 (1), 202–213. 10.1109/TGRS.2008.2002881
48
LiuC.‐A.ChenZ.‐X.ShaoY.ChenJ.‐S.HasiT.PanH.‐Z. (2019). Research advances of SAR remote sensing for agriculture applications: a review. J. Integrative Agriculture18 (3), 506–525. 10.1016/S2095-3119(18)62016‐7
49
LiuH. Q.HueteA. (1995). A feedback based modification of the ndvi to minimize canopy background and atmospheric noise. IEEE Transactions Geoscience Remote Sensing33 (2), 457–465. 10.1109/tgrs.1995.8746027
50
LoudiyiI.JacqueminI.TychonB.FrançoisL.LahlouM.WellensJ.et al (2020). “Simulating and analysing climate change impacts on crop yields in Morocco using the caraib dynamic vegetation model driven by med-cordex projections,” in European Geosciences Union General Assembly 2020.
51
LundbergS. (2017). A Unified Approach to Interpreting Model Predictions. arXiv preprint arXiv:1705.07874.
52
MaC.JohansenK.McCabeM. F. (2022). Monitoring irrigation events and crop dynamics using sentinel-1 and sentinel-2 time series. Remote Sens.14 (5), 1205. 10.3390/rs14051205
53
MakhloufiA.KallelA.ChakerR.Gastellu-EtchegorryJ.-P. (2021). Retrieval of olive tree biophysical properties from sentinel-2 time series based on physical modelling and machine learning technique. Int. J. Remote Sens.42 (22), 8542–8571. 10.1080/01431161.2021.1980241
54
MayoufR.MennaniA.HanafiM. T.BoualiN. (2025). Integrating sentinel-1 SAR and landsat 8 optical data for crop type discrimination and vegetation monitoring in arid zones of Algeria. Agric. Sci. Dig.46 (1), 154–161. 10.18805/ag.DF‐797
55
McFeetersS. K. (1996). The use of the normalized difference water index (ndwi) in the delineation of open water features. Int. Journal Remote Sensing17 (7), 1425–1432. 10.1080/01431169608948714
56
MercierA.BetbederJ.BaudryJ.Le RouxV.SpicherF.LacouxJ.et al (2020). Evaluation of sentinel-1 & 2 time series for predicting wheat and rapeseed phenological stages. ISPRS J. Photogrammetry Remote Sens.163, 231–256. 10.1016/j.isprsjprs.2020.03.009
57
MercierA.BetbederJ.DenizeJ.RogerJ.-L.SpicherF.LacouxJ.et al (2021). Estimating crop parameters using sentinel-1 and 2 datasets and geospatial field data. Data Brief38, 107408. 10.1016/j.dib.2021.107408
58
MeroniM.d’AndrimontR.VrielingA.FasbenderD.LemoineG.RemboldF.et al (2021). Comparing land surface phenology of major european crops as derived from sar and multispectral data of sentinel-1 and-2. Remote Sensing Environment253, 112232. 10.1016/j.rse.2020.112232
59
MoumniA.OujaouraM.EzzaharJ.LahrouniA. (2021a). A new synergistic approach for crop discrimination in a semi-arid region using sentinel-2 time series and the multiple combination of machine learning classifiers. J. Phys. Conf. Ser.1743, 012026. 10.1088/1742-6596/1743/1/012026
60
MoumniA.BelghaziT.MaksoudiB.LahrouniA. (2021b). Argan tree (argania spinosa (l.) skeels) mapping based on multisensor fusion of satellite imagery in essaouira province, Morocco. J. Sensors2021 (1), 6679914. 10.1155/2021/6679914
61
MullissaA.VollrathA.Odongo-BraunC.SlagterB.BallingJ.GouY.et al (2021). Sentinel-1 sar backscatter analysis ready data preparation in google earth engine. Remote Sens.13 (10), 1954. 10.3390/rs13101954
62
MustakS.UdayG.RameshB.PraveenB. (2019). Evaluation of the performance of SAR and SAR-optical fused dataset for crop discrimination. Int. Arch. Photogramm. Remote Sens. Spatial Inf. Sci.XLII‐3/W6, 563–571. 10.5194/isprs-archives‐XLII‐3‐W6‐563‐2019
63
NasiriV.Le BrisA.DarvishsefatA. A.MoradiF. (2022). Integration of radar and optical sentinel images for land use mapping in a complex landscape (case study: arasbaran protected area). Arabian J. Geosciences15 (24), 1759. 10.1007/s12517-022-11035-z
64
NasirzadehdizajiR.SanliF. B.CakirZ.SertelE. (2019). “Crop mapping improvement by combination of optical and sar datasets,” in 2019 8th International Conference on Agro-Geoinformatics (Agro-Geoinformatics) (IEEE), 1–6.
65
NatarajanR.KrishnaS.GanesanP.Al KaabiA. S. R.KalaR.MadlambayanA. M. (2025). “Advanced machine learning techniques for optimizing crop selection in precision agricultural systems,” in 2025 IEEE 8th International Conference on Electrical, Control and Computer Engineering (InECCE) (IEEE), 564–569.
66
OrynbaikyzyA.GessnerU.MackB.ConradC. (2020). Crop type classification using fusion of sentinel-1 and sentinel-2 data: assessing the impact of feature selection, optical data availability, and parcel sizes on the accuracies. Remote Sensing12 (17), 2779. 10.3390/rs12172779
67
OrynbaikyzyA.GessnerU.ConradC. (2022). Spatial transferability of random forest models for crop type classification using sentinel-1 and sentinel-2. Remote Sens.14 (6), 1493. 10.3390/rs14061493
68
PalchowdhuriY.Valcarce-DiñeiroR.KingP.Sanabria-SotoM. (2018). Classification of multi-temporal spectral indices for crop type mapping: a case study in coalville, UK. J. Agric. Sci.156 (1), 24–36. 10.1017/s0021859617000879
69
PedregosaF.VaroquauxG.GramfortA.MichelV.ThirionB.GriselO.et al (2011). Scikit-learn: machine learning in python. J. Mach. Learn. Res.12, 2825–2830. Available online at: https://jmlr.org/papers/v12/pedregosa11a.html.
70
RouseW. (1973). “Monitoring vegetation system in the great plain with erts,” in 3rd ERTS Symposium (Washington DC: NASA), 1, 309–317.
71
SabirM.RooseE.MachouriN. (2003). “Organisation spatiale et gestion paysanne des ressources naturelles dans deux terroirs du Rif occidental, Maroc,” in Organisation spatiale et gestion des ressources et des territoires ruraux: Actes du colloque international UMR SAGERT. Editor DuguéP.JouveP.(Montpellier, France: UMR SAGERT–CNEARC), 25–27. Available online at: https://horizon.documentation.ird.fr/exl-doc/pleins_textes/divers11-02/010034022.pdf
72
SadikiA.FalehA.NavasA.BouhlassaS. (2009). Using magnetic susceptibility to assess soil degradation in the eastern rif, Morocco. Earth Surf. Process. Landforms34 (15), 2057–2069. 10.1002/esp.1891
73
SawadaY.KoikeT.IkomaE.KitsuregawaM. (2019). Monitoring and predicting agricultural droughts for a water-limited subcontinental region by integrating a land surface model and microwave remote sensing. IEEE Trans. Geoscience Remote Sens.58 (1), 14–33. 10.1109/tgrs.2019.2927342
74
SchlundM.ErasmiS. (2020). Sentinel-1 time series data for monitoring the phenology of winter wheat. Remote Sens. Environ.246, 111814. 10.1016/j.rse.2020.111814
75
SchulzD.YinH.TischbeinB.VerleysdonkS.AdamouR.KumarN. (2021). Land use mapping using sentinel-1 and sentinel-2 time series in a heterogeneous landscape in niger, sahel. ISPRS J. Photogrammetry Remote Sens.178, 97–111. 10.1016/j.isprsjprs.2021.06.005
76
SelvarajS.HaldarD.SrivastavaH. S. (2021). Condition assessment of pearl millet/bajra crop in different vigour zones using radar vegetation index. Spatial Inf. Res.29 (5), 631–643. 10.1007/s41324-021-00380-y
77
ShapleyL. S. (1953). “A value for n-person games,” in Contribution to the Theory of Games 2.
78
SharifiA.FelegariS. (2023). Remotely sensed normalized difference red-edge index for rangeland biomass estimation. Aircr. Eng. Aerosp. Technol.95 (7), 1128–1136. 10.1108/aeat-07-2022-0199
79
ShowstackR. (2014). Sentinel Satellites Initiate New Era in Earth Observation.
80
ShroyerJ.RyanJ.MonemM. A.MouridM. E. (1990). Production of fall-planted cereals in Morocco and technology for its improvement. J. Agronomic Educ.19 (1), 32–40. 10.2134/jae1990.0032
81
SimsD. A.GamonJ. A. (2002). Relationships between leaf pigment content and spectral reflectance across a wide range of species, leaf structures and developmental stages. Remote Sensing Environment81 (2-3), 337–354. 10.1016/s0034-4257(02)00010-x
82
ŞimşekF. F. (2025). Investigating the effect of spectral bands and vegetation indices selection on agricultural crop classification (especially for double crops regions). Turkish J. Agric. Nat. Sci.12 (1), 197–215. 10.30910/turkjans.1586291
83
SongX.-P.HuangW.HansenM. C.PotapovP. (2021). An evaluation of landsat, sentinel-2, sentinel-1 and modis data for crop type mapping. Sci. Remote Sens.3, 100018. 10.1016/j.srs.2021.100018
84
SyrrisV.HasenohrP.DelipetrevB.KotsevA.KempeneersP.SoilleP. (2019). Evaluation of the potential of convolutional neural networks and random forests for multi-class segmentation of sentinel-2 imagery. Remote Sens.11 (8), 907. 10.3390/rs11080907
85
TrémasT. L.DéchozC.LacheradeS.NosavanJ.PetrucciB. (2015). “Sentinel-2: presentation of the CAL/VAL commissioning phase,” in Image and Signal Processing for Remote Sensing XXI, Proc. (SPIE)9643, 964309. 10.1117/12.2194847
86
TufailR.AhmadA.JavedM. A.AhmadS. R. (2022). A machine learning approach for accurate crop type mapping using combined sar and optical time series data. Adv. Space Res.69 (1), 331–346. 10.1016/j.asr.2021.09.019
87
Van TrichtK.GobinA.GilliamsS.PiccardI. (2018). Synergistic use of radar sentinel-1 and optical sentinel-2 imagery for crop mapping: a case study for Belgium. Remote Sens.10 (10), 1642. 10.3390/rs10101642
88
VelosoA.MermozS.BouvetA.Le ToanT.PlanellsM.DejouxJ.-F.et al (2017). Understanding the temporal behavior of crops using sentinel-1 and sentinel-2-like data for agricultural applications. Remote Sensing Environment199, 415–426. 10.1016/j.rse.2017.07.015
89
VollrathA.MullissaA.ReicheJ. (2020). Angular-based radiometric slope correction for sentinel-1 on google earth engine. Remote Sens.12 (11), 1867. 10.3390/rs12111867
90
WegmannM.Schwalb-WillmannJ.DechS. (2020). An introduction to spatial data analysis: remote sensing and GIS with open source software. Exeter, United Kingdom: Pelagic Publishing Ltd. 10.53061/HCED6492
91
XieG.NiculescuS. (2022). Mapping crop types using sentinel-2 data machine learning and monitoring crop phenology with sentinel-1 backscatter time series in pays de brest, brittany, france. Remote Sens.14 (18), 4437. 10.3390/rs14184437
92
XiloyannisC.RayaA. M.KosmasC.FaviaM. (2008). Semi-intensive olive orchards on sloping land: requiring good land husbandry for future development. J. Environ. Manag.89 (2), 110–119. 10.1016/j.jenvman.2007.04.023
93
YedidiaA. (2016). Against the f-score. Available online at: https://adamyedidia.wordpress.com/wp-content/uploads/2014/11/fscore (Accessed May 01, 2025).
94
ZengY.HaoD.HueteA.DechantB.BerryJ.ChenJ. M.et al (2022). Optical vegetation indices for monitoring terrestrial ecosystems globally. Nat. Rev. Earth and Environ.3 (7), 477–493. 10.1038/s43017-022-00298-5
95
ZhangK.YuanD.YangH.ZhaoJ.LiN. (2023). Synergy of sentinel-1 and sentinel-2 imagery for crop classification based on dc-cnn. Remote Sens.15 (11), 2727. 10.3390/rs15112727
96
ZhouB.OkinG. S.ZhangJ. (2020). Leveraging google earth engine (gee) and machine learning algorithms to incorporate in situ measurement from different times for rangelands monitoring. Remote Sens. Environ.236, 111521. 10.1016/j.rse.2019.111521
Summary
Keywords
binary classification, Google Earth Engine, olive groves, rainfed cereals, Sentinel-1, Sentinel-2, SHAP, topography
Citation
Qacami M, Bourgault M-A and Chikhaoui M (2026) Mapping rainfed cereals and olive groves using Sentinel-1, Sentinel-2, and topographic data in northern Morocco. Front. Remote Sens. 7:1880806. doi: 10.3389/frsen.2026.1880806
Received
13 May 2026
Revised
25 August 2026
Accepted
14 September 2026
Published
16 October 2026
Volume
7 - 2026
Edited by
Menghui Jiang, Wuhan University, China
Reviewed by
Hadi Beygi Heidarlou, Urmia University, Iran
Edwin Pino-Vargas, Jorge Basadre Grohmann National University, Peru
Yilkal Gebeyehu Mekonnen, Debre Markos University, Ethiopia
Irvin D Shandu, University of KwaZulu-Natal, South Africa
Updates
Copyright
© 2026 Qacami, Bourgault and Chikhaoui.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Meryem Qacami, meqac@ulaval.ca
Disclaimer
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.