Average rainfall 2001-2016, global tropics

Map: Average rainfall 2001-2016, global tropics

TRMM autocorrelation

Thomas Gumbricht bio photo By Thomas Gumbricht

Introduction

This post illustrates how to use Karttur’s GeoImagine Framework for calculating autocorrelation in image time series data.

Prerequisites

You must have setup the Karttur’s GeoImagine Framework as described in earlier posts. You must also have created the monthly TRMM rainfall dataset from scratch, or imported from pre-processed data. Alternatively you can use any other time series dataset with regular (e.g. monthly) intervals, for example GRACE, or resampled SMAP data.

Autocorrelation

The autocorrelation of a time series reveals how the signal at a given time correlates with the signal at different lags (or later times). This allows for a better understanding of (seasonal) signal patterns and the temporal dependencies. This information can be used both for adjusting the time series data and for improving forecast models.

Framework process

The process for analysing autocorrelation in Karttur’s GeoImagine Framework is autocorrelate. The autocorrelation can be set to either a full autocorrelation function (acf) or a partial acf (pacf) as defined in the statsmodel package.

XML commands

The example below shows how to run acf (default) for a time series of 20 years on monthly TRMM rainfall data. The number of lags (nlags) to compute must be given. If mirror is set, the integer value will be used for adjusting seasonality to an annual cycle and the nlags should be set to the total number of season (i.e. 12 for monthly data).

Results

The process autocorrelate generate one layer per lag up to the number of requested lags. If mirror is set to a number larger than zero, negative numbers in the file date part indicates the correlations with the prior period.

Figure X shows the global autocorr for ???