Description Usage Arguments Value Author(s) See Also
Extract layers, apply mask (optional), crop (optional), calculate NDVI (possible other indices supported in the future) and write output to file (optional)
1 2 |
x |
Character. File name of the hdf file containing the bands, or list of filenames (geoTiffs). |
vi |
Character. Vegetation index to be computed. 'ndvi', 'evi' and 'savi' are supported at the moment. The function will first attempt to find if a pre-processed version of the index is present in the list supplied or in the .hdf file and will use that layer when available. |
e |
Extent object or object that can be coerced as extent. |
mask |
Character or NULL. The name of the cloud/Land mask to be applied to the output (e.g.: |
keep |
Numeric. Can take multiple values. Which values of the mask layer should be kept? |
L |
Numeric. Soil-adjustment factor for SAVI (ignored if vi != 'savi'). L can take on values between 0 and 1, and a default of 0.5 is typically used. |
... |
Arguments to be passed to |
A rasterLayer object
Loic Dutrieux
processLandsat
and processLandsatBatch
for wrapper and wrapper/batcher functions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.