Skip to content
Prev 19710 / 29559 Next

MODIS EVI time series missing data interpolation (linear or whittaker.raster)

Mohammad:you still leave open a lot of important details especially on how you processed the data.
The function whittaker.raster() has 3 important data inputs:
vi: vegetation index layer
w: VI qualitiy layer, derivate of it or any custom indicator
t: composite day of the year layer


if you provide 't' the function 'repDoy' generates (internally) a vector where each pixel value is placed on the exact DOY of it acquisition (if not the date in the filename is used), the output is always equally spaced depending on your 'timeInfo' argument. So the linear interpolation should not be needed, and I would also say a less good solution.
I don't know what parameters you have used: lambda? niter? outlier? pillow? 


I have no idea what the problem could be that causes the difference. Maybe post a self containing example (restricted area!) (but I currently have very little time to share).


Matteo
Matteo,
Thanks for your reply

1. Yes it is MOD13Q1 series,

2. interpNA function I used is from timeSeries package

3. I re-did the filtering this time with MODIS pixel quality as you 
suggested, which is much easier than my method :)

I used the whittaker on both filtered and raw evi time series, still it 
dosn't give me a clear indication of land use change (compared to 
published papers for the same point coordinates)


What seems to be the problem is the interpolation /before /whittaker. In 
this research 
(http://www.dsr.inpe.br/laf/series/artigos/Freitas_Ramon_M_et_al_2011_JCIS_Virtual_laboratory_of_remote_sensing_time_series.pdf) 
the authors did the following:

"The filtered data were then linear interpolated based on the date of 
the pixel of the image composition to provide equally spaced time series."

They did it with Matlab, is there a way to do it in R?


Thanks again

Mohammad
On 21.10.2013 12:49, Matteo Mattiuzzi wrote: