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:

Polar 6 on Svalbard

Polar 6 on Svalbard

The EORC team, particularly Dr. Jakob Schwalb-Willmann and Dr. Mirjana Bevanda, had the chance to catch up with our former Msc student Luisa Wagner in Longyearbyen, Svalbard. Luisa is pursuing her PhD at the Alfred-Wegener-Institute (AWI), where her research focuses...

EOCap4Africa closing meeting

EOCap4Africa closing meeting

The EOCap4Africa project officially concluded with an online closing meeting bringing together our project partners, lecturers, researchers, and institutional representatives from across Africa and Europe. The meeting was attended by our African partners from...

NetCDA at EGU26

NetCDA at EGU26

At the EGU General Assembly 2026 in Vienna, the NetCDA framework organized the session “ITS4.33/CLO.19: Strengthening African-European Partnerships for Global Change Research: From Scientific Capacity to Practical Solutions” on 4 May 2026. The session was convened by...

Presentation at the Geo-Colloquium of the University of Graz

Presentation at the Geo-Colloquium of the University of Graz

Our researcher Dr. Ariane Droin was invited to present her PhD work at the Geo-Colloquium of the University of Graz. The event brought together geographers of a variety of disciplines. Under the title "Erreichbarkeit lokaler Nachbarschaften im urbanen Kontext",...

Share This