Description Usage Arguments Details Value Note Author(s) References See Also Examples
Fill NA
values in Raster* time series
1 2 3 |
x |
A |
w |
Optional, a |
t |
Optional, a |
timeInfo |
object returned by |
method |
character |
lambda |
Yearly lambda value. Default is 5000. See |
nIter |
numeric |
outlierThreshold |
Numeric. If provided, |
df |
Yearly degree of freedom for 'spline' |
ws |
window size for the 'fensholt' |
cl |
cluster object for parallel processing (do not use it if beginCluster() has been called. Default is |
filename |
name of the file where the interpolated raster is saved. Default is created through |
... |
arguments passed to |
The 'fensholt' method
fill gaps in a time serie according to the following rule:
If t0 is flagged as NA (e.g. cloudy) an average between t-1, t+1 is performed;
if only one of t-1 or t+1 is not missing t0 will be replaced by this value.
If both t-1 and t+1 are missing then the filter is extended to cover also t-2 and t+2 following the same rules as for
t-1 and t+1
A Raster-class
object with NA values filled
Most of the code is borrowed from smooth.spline.raster
and whittaker.raster
Antoine Stevens & Matteo Mattiuzzi
Fensholt, R., Rassmussen, K., Nielsen, T.T., and Mbow, C. (2009). Evaluation of earth observation based long term vegetation trends - Intercomparing NDVI time series trend analysis consistency of Sahel from AVHRR GIMMS, Terra MODIS and SPOT VGT data. Remote Sensing of Environment 113, 1886-1898.
1 | # See interpolate_raster
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.