Description Usage Arguments Details Value See Also Examples
SmoothStack
takes a raster stack of RS images and outputs a smoothed
raster brick over the same time period.
1 2 3 4 |
inStack |
The name of the raster stack to smooth. |
w |
FROM |
t |
FROM |
lambda |
FROM |
nIter |
FROM |
outputAs |
FROM |
collapse |
FROM |
outDirPath |
FROM |
removeOutlier |
FROM |
outlierThreshold |
FROM |
mergeDoyFun |
FROM |
... |
nFROM |
SmoothStack
converts a raster stack of RS images (as processed through
ConvertRS2Stack
) and calls the MODIS-R
whittaker.raster
smoothing function to generate a
smoothed raster brick over the same time series as the input. All function
parameters are per the whittaker.raster
function except
we force the timeInfo to be derived from the input raster stack so the names
match and the smoothed brick can be used in other tools. The
whittaker.raster
tool also exports a set of smoothed
TIFs, so also specify an output file directory.
raster brick of smoothed images
Other MODIS: CalcStatsRS
,
ConvertRS2Stack
,
ConvertStack2NC
, GapFillRS
,
GetMODIS
, InsertRS
1 2 3 4 5 6 7 8 9 10 | ## Take the raster stack of LAI images created through ConvertRS2Stack and
## apply a smoothing filter that also removes outliers, which we specify to
## be more than 0.5 LAI from the smoothed value.
## Not run:
lai.b.sm <- SmoothStack(lai.b,
outDirPath="/Volumes/d1/adugger/RS/MODIS_ARC/PROCESSED/FRNTRNG_LAI_SMOOTHED",
outputAs="one", removeOutlier=TRUE, outlierThreshold=0.5, lambda=1000,
overwrite=TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.