Skip to main content
← Back to Thoughts

Finding Optimal Sensing Periods for Crop Classification

Guillermo Siesto••12 min read
EN/ES

Published in: International Journal of Remote Sensing 2022, 43(15-16), 6038–6055
Authors: Marcos Fernández-Sellers, Guillermo Siesto, Adolfo Lozano-Tello, Pedro J. Clemente
Institution: Quercus Software Engineering Group, Universidad de Extremadura
DOI: 10.1080/01431161.2021.1975846 • Peer-Reviewed • Taylor & Francis Full Paper

Abstract: Satellite crop identification processes are increasingly being used on a large scale, both to verify the crop and to improve production. As it is necessary to study phenological data over a period of time across a large territory, a lot of storage space is needed to save the satellite images and a lot of calculation time to analyse all this information. Sensing periods are usually established based on subjective expert criteria or previous experience. However, this decision may cause several differences when discriminating crop patterns, besides not guaranteeing good precision. These processes would greatly improve if the appropriate time periods could be found systematically using the minimum number of satellite images in the shortest possible time. In this paper, we propose a new methodology to determine a suitable sensing period for crop identification using Sentinel-2 images, applying hill climbing algorithms to the training sets of neural network models. We have used the method successfully in the 2020 Common Agricultural Policy campaign in the Extremadura region, Spain. The article also describes the use of the method in a case on tobacco detection in this region.


1. The Operational Bottleneck in Regional CAP Monitoring

Satellite-based crop identification relies on multi-temporal analysis: distinguishing agricultural species requires observing their phenological trajectory across multiple dates rather than a single snapshot. However, operating at regional scale introduces a major computational and engineering trade-off.

In our collaboration with the Regional Government of Extremadura (Spain) for European Common Agricultural Policy (CAP) subsidy monitoring, the system must oversee more than 4,000,000 hectares containing over 100 distinct crop declarations. Each individual Sentinel-2 tile consumes roughly 1.3 GB of disk storage, and processing full-year temporal stacks across an entire region demands massive bandwidth, storage capacity, and neural network training time—all under strict administrative payment deadlines.

Traditionally, remote sensing teams select sensing windows using subjective agronomist intuition (for instance, picking the months when a crop is visually greenest). As our experiments demonstrated, this heuristic assumption frequently fails:

  • Too narrow a window misses transitional soil preparation, planting, or harvesting signatures that separate visually similar crops.
  • Too wide a window ingests redundant or noisy satellite acquisitions, inflating disk storage and training times by more than 2× without improving classification accuracy.

To solve this, we designed an automated methodology that wraps Steepest Ascent Hill Climbing around deep neural network training pipelines to systematically discover the shortest possible sensing window that maximizes classification F-score.


2. Methodology: Pentad Discretization & Synthetic Pixel Inputs

Our pipeline ingests Level-2A bottom-of-atmosphere reflectance imagery from the European Space Agency's Sentinel-2 constellation, utilizing 12 spectral bands (B1, B2, B3, B4, B5, B6, B7, B8, B8A, B9, B11, and B12, discarding B10 after atmospheric correction) resampled to a uniform 10 × 10 m spatial resolution.

Figure 1: Overview of the suitable time period detection method Figure 1 — Overview of the proposed methodology: (left) satellite image clipping, atmospheric filtering, and pixel-level extraction into 5-day pentads; (right) iterative steepest ascent hill climbing search over candidate time windows.

Preprocessing & Temporal Normalization:

  1. 5 × 5 km Grid Partitioning: The territory is subdivided into standardized 5 × 5 km zones (2,500 ha each) aligned with the UTM projection, enabling parallelized extraction and localized cloud screening.
  2. Cloud Masking & Hampel Outlier Filtering: Every acquisition is screened using the ESA Scene Classification (SCL) cloud mask. Because optical cloud masks occasionally miss thin cirrus haze or dark cloud shadows, we apply a temporal Hampel filter across each pixel's band series to replace anomalous spikes.
  3. Five-Day Pentad Interpolation: Sentinel-2 revisit times vary slightly by latitude and orbital overlap (every 2 to 5 days). To construct uniform neural network inputs across any arbitrary territory, we linearly interpolate pixel reflectance into fixed 5-day intervals (pentads)—yielding 6 pentads per month (days 1–5, 6–10, 11–15, 16–20, 21–25, and 26–end).
  4. Pixel-Level Feature Vectors: Given a candidate sensing window of P pentads, each 10 × 10 m agricultural pixel is represented by a feature matrix of 12 spectral bands × P pentads, paired with the ground-truth crop label declared in the CAP registry.

3. Steepest Ascent Hill Climbing over Neural Network Models

For a candidate season spanning N pentads, the number of possible contiguous time windows [start_pentad, end_pentad] is:

Total Candidate Windows = N × (N + 1) / 2

Even for a 5-month summer campaign (N = 30 pentads, from 1 May to 30 September), training and evaluating all 465 possible neural network models is computationally prohibitive when repeated across dozens of crop categories.

We formulate sensing-window selection as a discrete state-space search using Steepest Ascent Hill Climbing:

  • State Representation: Each state is a contiguous time window [p_start, p_end] defined by its start and end pentads.
  • Initial State: The search is seeded with a short, domain-informed window corresponding to the crop's peak vegetative growth phase.
  • Neighborhood Operator (Up to 4 Neighbors): From any state [p_start, p_end], the algorithm generates up to four adjacent candidate states by shifting either boundary by one 5-day pentad:
    • Expand start earlier: [p_start - 1, p_end]
    • Contract start later: [p_start + 1, p_end]
    • Expand end later: [p_start, p_end + 1]
    • Contract end earlier: [p_start, p_end - 1]
  • Heuristic Evaluation Function: Each unvisited neighbor state triggers the training of a binary Deep Neural Network (DNN) on the extracted pixel dataset (70% training, 15% validation, 15% testing). The state's heuristic value is the resulting test F-score.
  • Transition & Convergence: At each iteration, the algorithm moves to the neighbor with the highest F-score improvement. Search terminates when no neighbor strictly improves upon the current state's F-score (or when a predefined administrative accuracy threshold and deadline are met).

4. Case Study: High-Precision Tobacco Detection in the Tiétar River Basin

To validate the methodology under demanding real-world constraints, we tackled tobacco crop verification during the 2020 CAP campaign in Extremadura—the largest tobacco-producing region in Spain. Because tobacco is subject to strict European regulatory quotas and tax controls, the regional government required a classification F-score exceeding 96% delivered before the October administrative deadline (imposing a hard satellite acquisition cutoff of 30 September).

Figure 2: Study area in the Tiétar river basin, Extremadura Figure 2 — Study area: the Extremadura region divided into 5 × 5 km zones, highlighting the 88 zones (220,000 ha) along the Tiétar river basin in northern Cáceres where tobacco cultivation is concentrated.

Dataset Scale & Ground Truth Distribution:

The study area encompasses 88 zones of 5 × 5 km (220,000 hectares of total surface, containing 87,500 hectares of declared agricultural plots) across the Tiétar river basin.

Figure 3: Distribution of 2020 CAP crop statements in the study area Figure 3 — Spatial distribution of the 25,623 agricultural plots declared in the 2020 CAP campaign across the study area.

From the official 2020 CAP declarations, we extracted 3,896,402 pixels at 10 × 10 m resolution across 25,623 plots, partitioned into a balanced 70% training, 15% validation, and 15% testing split:

  • Tobacco (Target Class): 4,561 plots (~7,500 ha) totaling 557,346 pixels (390,144 training • 83,601 validation • 83,601 testing).
  • Other Crops (110 competing classes, including olive groves, fruit orchards, corn, tomato, and pepper): 21,062 plots (~80,000 ha) totaling 3,339,056 pixels (2,337,430 training • 500,813 validation • 500,813 testing).
  • Combined Dataset: 25,623 plots (~87,500 ha) totaling 3,896,402 pixels (2,727,574 training • 584,414 validation • 584,414 testing).

Figure 4: Average NDVI curve of tobacco pixels across 2020 Figure 4 — Average NDVI evolution across all 557,346 tobacco pixels during the 2020 growing cycle, showing planting in May, rapid canopy closure in July, peak greenness in late July/August, and harvesting in September.


5. Hill Climbing Trace & Exhaustive 465-Model Benchmark

Based on the phenological curve in Figure 4, agronomists initially selected the peak greenness interval of 16 July – 31 July (4 pentads) as the starting state. Training the DNN on this expert window yielded an F-score of 0.94765—falling short of the 96% regional government threshold.

Figure 5: Steepest ascent hill climbing exploration trace Figure 5 — Complete trace of the steepest ascent hill climbing execution across 10 iterations (evaluating 29 out of 465 possible states). Green nodes mark the selected best state at each step, converging at 1 July – 31 August with an F-score of 0.97028.

Step-by-Step Convergence Walkthrough:

  1. Initial State (16 July – 31 July): Baseline F-score = 0.94765.
  2. Iterations 1 to 5 (Expanding Forward into August): The algorithm evaluates all four boundary shifts and consistently discovers that extending the end date into August yields the steepest gain:
    • Iteration 1 → 16 July – 5 August (0.95280)
    • Iteration 2 → 16 July – 10 August (0.95539)
    • Iteration 3 → 16 July – 15 August (0.95713)
    • Iteration 4 → 16 July – 20 August (0.95857)
    • Iteration 5 → 16 July – 25 August (0.96519) — crosses the 96% operational requirement at Level 6.
  3. Iterations 6 to 9 (Expanding Backward into Early July & Late August): Once late-August maturation is captured, expanding the start date backward to early July provides the next set of gains:
    • Iteration 6 → 11 July – 25 August (0.96694)
    • Iteration 7 → 6 July – 25 August (0.96827)
    • Iteration 8 → 6 July – 31 August (0.96873)
    • Iteration 9 → 1 July – 31 August (0.97028)
  4. Iteration 10 (Local Maximum Convergence): All four neighbors of 1 July – 31 August (26 Jun – 31 Aug at 0.97009, 6 Jul – 31 Aug at 0.96873, 1 Jul – 25 Aug at 0.96934, and 1 Jul – 5 Sep at 0.97020) score lower than 0.97028. The search terminates.

Brute-Force Verification Against All 465 Possible Windows:

To rigorously verify how close the heuristic solution came to the true global optimum, we trained all 465 possible pentad combinations between 1 May and 30 September (30 pentads):

  • Hill Climbing Result (1 July – 31 August, 12 pentads / 60 days): F-score = 0.97028, found after evaluating only 29 models (6.2% of the search space)—a 93.8% reduction in training compute.
  • True Global Best (1 June – 25 September, 23 pentads / 115 days): F-score = 0.97716 (followed by 16 May – 20 Sep at 0.97704, 16 May – 25 Sep at 0.97673, 6 Jun – 25 Sep at 0.97669, and 1 Jun – 30 Sep at 0.97666).
  • Worst Single-Pentad Windows: 6 June – 10 June (0.81250), 11 June – 15 June (0.82265), 16 June – 20 June (0.83123), 21 June – 25 June (0.83186), and 16 May – 20 May (0.83640).

Figure 6: Average F-scores depending on sensing window length Figure 6 — Average F-scores across all 465 models grouped by sensing window duration (in days). Performance climbs steeply up to 50–65 days and plateaus thereafter, proving that windows beyond two months yield diminishing returns.

Figure 7: Average F-scores and distributions by included pentad date Figure 7 — Distribution of model F-scores depending on which specific 5-day pentad is included in the sensing window. Pentads in July and August consistently anchor the highest-performing models.


6. Real-World Impact: 60% Resource Savings & Cross-Year Generalization

Deploying the hill-climbing window (1 July – 31 August, 12 pentads) instead of the full growing season (1 May – 30 September, 30 pentads) delivered immediate operational benefits for the Regional Government of Extremadura:

  • 60% Reduction in Storage & Preprocessing: Cutting the window from 30 pentads to 12 pentads saved 60% of disk storage, satellite download bandwidth, atmospheric filtering time, and neural network input size, while sacrificing less than 0.0069 in F-score compared to the 115-day brute-force maximum.
  • >98% Field Inspection Agreement: Subsequent on-site field inspections conducted by regional government technicians confirmed a >98% match between our model's predictions and ground reality.
  • Cross-Year Temporal Stability: To verify whether a window discovered in one campaign generalizes to other years without re-running the heuristic search, we trained a model on historical 2019 CAP data using the exact 1 July – 31 August window. It achieved an F-score of 0.9637, comfortably surpassing the 96% regulatory threshold.
  • Detecting Undeclared & Illegal Plantations: Because the classifier operates at the individual 10 × 10 m pixel level rather than relying solely on declared plot polygons, running inference across the full 220,000-hectare raster allows authorities to spot undeclared tobacco plots or illegal plantations hidden inside other high-canopy crops such as corn.

If you use this methodology or reference our findings in your remote sensing research, please cite the original peer-reviewed article:

@article{fernandez2022finding,
  title={Finding a suitable sensing time period for crop identification using heuristic techniques with multi-temporal satellite images},
  author={Fern{\'a}ndez-Sellers, Marcos and Siesto, Guillermo and Lozano-Tello, Adolfo and Clemente, Pedro J.},
  journal={International Journal of Remote Sensing},
  volume={43},
  number={15-16},
  pages={6038--6055},
  year={2022},
  publisher={Taylor \& Francis},
  doi={10.1080/01431161.2021.1975846}
}