R Package for harmonic modelling of time-series data

R Package for harmonic modelling of time-series data

April 23, 2020

Sentinel-2 NDVI time-series over the Steigerwald. Left: Original satellite scenes after cloud, cloud shadow and snow maksing. Right: Interpolated time-series using a harmonic modelling.

In order to fully exploit the monitoring potential of the satellite systems, challenges such as noise and data gaps must be effectively addressed. These quality losses are mainly caused by sensor artifacts, clouds, cloud shadows and other weather conditions (Verbesselt et al., 2012). In the context of time series analysis, harmonic modeling is a powerful tool to fill these gaps and reduce noise by smoothing the original signal (de Jong et al., 2011).

For that purpose, I created an R-package rHarmonics which enables the user to perform a harmonic analysis on a given time-series data set.

To calculate the harmonic fitted curve of a periodic signal, ordinary least squares regressions are computed using coupled sine and cosine curves on time-series data. The underlying algorithm which is based on Shumway & Stoffer (2017) equations 4.1 – 4.2 can be seen below:

MODIS NDVI time-series data together with a harmonic fitted curve using 3 cylces per year.



Literature:

de Jong, R., de Bruin, S., de Wit, A., Schaepman, M. E., & Dent, D. L. (2011). Analysis of monotonic greening and browning trends from global ndvi time-series. Remote Sensing of Environment, 115 (2), 692–702.

Shumway, R. H., & Stoffer, D. S. (2017). Time series analysis and its applications: with r examples. Springer.

Verbesselt, J., Zeileis, A., & Herold, M. (2012). Near real-time disturbance detection using satellite image time series. Remote Sensing of Environment, 123 , 98–108.

follow us and share it on:

you may also like:

Welcome, Prof. Dr. Stefan Dech!

Welcome, Prof. Dr. Stefan Dech!

Big news at the EORC: as of today, October 1st, 2026, Stefan Dech is officially a senior professor at the University of Würzburg, and he's staying right where he belongs, with us at the EORC. Stefan will keep working with us on a whole range of Earth Observation...

EO4CAM Meeting with LfU and StMUV at DLR

EO4CAM Meeting with LfU and StMUV at DLR

On 30 September 2026, representatives from the Bavarian State Ministry of the Environment and Consumer Protection (StMUV), the Bavarian Environment Agency (LfU), the EORC of the University Würzubrg (JMU), and the...

Field campaign for DFG Fire and Savanna project

Field campaign for DFG Fire and Savanna project

Our PhD candidate Luisa Pflumm is back in Kruger National Park for her third field campaign. Her PhD focuses on how savanna trees respond to combined fire and drought stress for which she is flying UAVs equipped with multispectral and LiDAR sensors. With this round of...

Successful MSc Defense by Henning Riecken

Successful MSc Defense by Henning Riecken

Congratulations to Henning Riecken, who successfully defended his MSc thesis on September 28, 2026: "Mapping and Structural Assessment of Woody Vegetation in Bavaria Using Digital Elevation Models and Multisource Geodata" Henning's thesis explores how newly available...

bzgl. Art. 50 Verordnung (EU) 2024/1689 (AI Act):

Überwiegend werden eigene originäre Texte und Bilder des EORC genutzt, jedoch sind einige Inhalte von blog post Texten teilweise mit Hilfe von KI überarbeitet worden und einige Bilder sind ganz mit KI erstellt, die jedoch deutlich keine photorealistische Darstellungen abbilden. Aussnahmen sind KI generierte fernerkundliche Datensätze, die explizit für Forschungszwecke mit KI erstellt wurden, hier wird aber durch den assoziierten Text der wissenschaftliche Grund der KI generierten Bilder erläutert.

Share This