Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Notebook examples

Earth System Science Hub Challenge 3: Time series interpolation techniques for remote sensing - Fran, Denise, Mae

Sept-2025-Venice-Edinburgh-Leeds.jpg
This concise notebook demonstrates guidelines for submission of your projects developed under the Earth System Science Open Challenge!
Please use this notebook as a template for delivering your workflow with the code you used to produce the results!
For more information, refer to Open Challenge website: https://eo4society.esa.int/event/sciencehubchallengefeb2024/

Earth System Science Hub Challenge 3: Time series interpolation techniques for remote sensing - Fran, Denise, Mae


1. Title

Author(s): Fran, Denise, Mae
Group name: “Team 5”
Challenge: Challenge 3: Time series interpolation techniques for remote sensing. From: link to challenges

Submission date: 06 Oct 2025

2. Description

Scientific problem:

Vegetation EO time series are crucial for monitoring ecosystem health, agricultural productivity and climate impacts. NDVI (Normalised Difference Vegetation Index) time series often suffer from residual cloud presence, even after data pre-processing.

Depending on land cover type, NDVI time series reconstructions may perform differently due to varying periodicity, amplitude or steepness of transitions (Julien and Sobrino, 2019).

Accurate interpolation is essential to ensure reliable analysis of vegetation dynamics !

Objective:

Design and implement a reproducible framework to compare multiple time series interpolation techniques on vegetation EO datasets with artificially introduced temporal gaps.

Methods:

Location selection

We select 5 points:

  • one in Amazon (Low seasonality, High precipitation, 123 billion tonnes of carbon (NOAA, 2021))

  • one in Caatinga (High Seasonality, High precipitation, Nearly 100,000 km2 and large flux of carbon, water, and other compounds with the atmosphere with seasons)

  • one in Elmstein, Germany (High seasonality, Medium precipitation)

  • one in Muara, Indonesia (High Seasonality - monsoonal pattern, High precipitation)

  • one in the Canadian Rockies (High seasonality, medium precipitation, boreal)

Then:

  1. Extract timeseries over each point for the period 2017-2022

  2. introduce artifical gaps

  3. Interpolate using various techniques

  4. measure metrics (R2, RMSE, processing time)

Data used:

ndvi timeseries from DeepESDL Earth System Datacube (ESDC) v.3.0.1

  • Temporal resolution: 8 days

  • spatial resolution: 0.25° (~28 km)

  • Derived from MODIS Terra + Aqua BRDF corrected daily reflectance data

Interpolation techniques tested:

  • Linear interpolation: fit a line through the points.

  • Cubic Spline: uses piecewise cubic polynomials to create a smooth curve passing through a set of points.

  • Gaussian Process Regression: Bayesian ML method that models data as a smooth curve with uncertainty. Smooth trend, seasonality noise accounted for using custom kernels.

  • Climatology Fill (seasonal): uses average values from previous 4 years to deduce pattern at missing time.

4. References

  • Julien, Y. and Sobrino, J.A. (2019). Optimizing and comparing gap-filling techniques using simulated NDVI time series from remotely sensed global data. International Journal of Applied Earth Observation and Geoinformation, 76, pp.93-111.

  • de Oliveira, M.L.; dos Santos, C.A.C.; Santos, F.A.C.; de Oliveira, G.; Santos, C.A.G.; Bezerra, U.A.; de B. L. Cunha, J.E.; da Silva, R.M. (2023). Evaluation of Water and Carbon Estimation Models in the Caatinga Biome Based on Remote Sensing. Forests, 14, 828. Oliveira et al. (2023).

5. Key Conclusions

Best interpolation teechnique depends on land cover being observed + length of missing data gap.

  • short window → better interpolation

  • GPR processing time takes almost 2x as much

  • Best interpolation technique for seasonal pattern:

    • SHORT missing gap: linear, cubicSpline

    • LONG missing gap: Seasonal (but may be affected by climate change), GPR (but slightly more time-intensive)

  • Best interpolation technique for non-seasonal: linear

Note: when no data available over long periods, or when the missing data is at the end of the timeseries --> cubic spline overshoots!

Disclaimer: Due to the coarse spatial resolution of this dataset (~28 km), certain land cover classes (e.g., cropland) could not be monitored in this case study. This framework however could be easily applied to ndvi timeseries acquired from other platforms (e.g. Sentinel-2) which would provide finer spatial resolution, allowing for field-scale monitoring.

6. Societal Context

This is important for society because reliable, gap-free vegetation timeseries are useful for...

  • tracking carbon dynamics in forests & forest health

  • tracking crop phenological stages and agricultural management

  • wider applicability outside of vegetation domain i.e. interpolating climatic data or data acquired by other sensors

PART 2: SCIENTIFIC EXPLOITATION AND ANALYSIS


7. Import Libraries

This notebook runs with the python environment deepesdl-xcube-1.1.2, please checkout the documentation for help on changing the environment.

8. Data sources


Datacube nameVariable nameDescriptionReference*RegionTime rangeResolution
(ESDC) v3.0.1ndvimetadata descriptionlink to sourceWorld8 days0.25° (~28 km)

Here you can start with accessing the relevant data:

<Figure size 640x480 with 2 Axes>
<Figure size 1000x1200 with 5 Axes>

9. Analysis cells

Please comment your code, describe the functions, remove dead and unreachable code.

<Figure size 500x400 with 1 Axes>
<Figure size 500x400 with 1 Axes>
<Figure size 500x400 with 1 Axes>
<Figure size 500x400 with 1 Axes>
<Figure size 500x400 with 1 Axes>
Execution Time:  0.35504698753356934
Execution Time:  0.6290695667266846
Execution Time:  0.37151408195495605
Execution Time:  0.4424552917480469
Execution Time:  0.5377426147460938
<Figure size 600x500 with 1 Axes>
<Figure size 600x500 with 1 Axes>
<Figure size 600x500 with 1 Axes>
<Figure size 600x500 with 1 Axes>
<Figure size 600x500 with 1 Axes>
Execution Time:  0.38396620750427246
Execution Time:  0.6379997730255127
Execution Time:  0.3731379508972168
Execution Time:  0.44517946243286133
Execution Time:  0.5438599586486816
<Figure size 600x500 with 1 Axes>
<Figure size 600x500 with 1 Axes>
<Figure size 600x500 with 1 Axes>
<Figure size 600x500 with 1 Axes>
<Figure size 600x500 with 1 Axes>
Execution Time:  0.8819622993469238
/home/conda/users/fbfe84b6-1757499783-109-science-hub-course-updated/lib/python3.13/site-packages/sklearn/gaussian_process/kernels.py:440: ConvergenceWarning: The optimal value found for dimension 0 of parameter k2__noise_level is close to the specified lower bound 1e-05. Decreasing the bound and calling fit again may find a better value.
  warnings.warn(
Execution Time:  1.1756927967071533
/home/conda/users/fbfe84b6-1757499783-109-science-hub-course-updated/lib/python3.13/site-packages/sklearn/gaussian_process/_gpr.py:663: ConvergenceWarning: lbfgs failed to converge after 1 iteration(s) (status=2):
ABNORMAL: 

You might also want to scale the data as shown in:
    https://scikit-learn.org/stable/modules/preprocessing.html
  _check_optimize_result("lbfgs", opt_res)
Execution Time:  1.2742934226989746
/home/conda/users/fbfe84b6-1757499783-109-science-hub-course-updated/lib/python3.13/site-packages/sklearn/gaussian_process/_gpr.py:663: ConvergenceWarning: lbfgs failed to converge after 2 iteration(s) (status=2):
ABNORMAL: 

You might also want to scale the data as shown in:
    https://scikit-learn.org/stable/modules/preprocessing.html
  _check_optimize_result("lbfgs", opt_res)
/home/conda/users/fbfe84b6-1757499783-109-science-hub-course-updated/lib/python3.13/site-packages/sklearn/gaussian_process/kernels.py:450: ConvergenceWarning: The optimal value found for dimension 0 of parameter k1__k2__periodicity is close to the specified upper bound 100000.0. Increasing the bound and calling fit again may find a better value.
  warnings.warn(
Execution Time:  1.1290569305419922
Execution Time:  1.4447743892669678
<Figure size 600x500 with 1 Axes>
<Figure size 600x500 with 1 Axes>
<Figure size 600x500 with 1 Axes>
<Figure size 600x500 with 1 Axes>
<Figure size 600x500 with 1 Axes>
Execution Time:  0.3807833194732666
Execution Time:  0.6626808643341064
Execution Time:  0.3941342830657959
Execution Time:  0.4735894203186035
Execution Time:  0.5647144317626953
<Figure size 600x500 with 1 Axes>
<Figure size 600x500 with 1 Axes>
<Figure size 600x500 with 1 Axes>
<Figure size 600x500 with 1 Axes>
<Figure size 600x500 with 1 Axes>
Loading...
<Figure size 2500x500 with 5 Axes>
References
  1. de Oliveira, M. L., dos Santos, C. A. C., Santos, F. A. C., de Oliveira, G., Santos, C. A. G., Bezerra, U. A., de B. L. Cunha, J. E., & da Silva, R. M. (2023). Evaluation of Water and Carbon Estimation Models in the Caatinga Biome Based on Remote Sensing. Forests, 14(4), 828. 10.3390/f14040828