Earth observation

Test pixelwise correlation between two time series of gridded satellite data in R

Satellite time series data are useful for studying biophysical how variables change over time and understanding what causes those changes. Recently, I was looking into correlating two time series datasets over Africa to look at the relationship between net primary production (NPP) and rainfall. After a futile attempt to find an “out-of-the-box” software package that does this, I created an R function to speed things up.