The Mann-Kendall trend test has become popular in the remote sensing community to test whether a time series of satellite observations is consistently increasing or decreasing. In this post, I developed a function in R that can take in raster stacks or bricks to perform the Mann-Kendall trend test and calculate its statistical significance (p values).
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.