Description Usage Arguments Value Note Author(s)
Function to create RGB images from Sentinel-2 reflectances. natural: B4, B3, B2 near infrarouge: B8, B4, B3 far infrarouge: B12, B8, B4 vegetation: B11, B8, B2
1 2 3 4 |
infiles |
A vector of input filenames. Input files are paths of products already converted from SAFE format to a format managed by GDAL (use s2_translate to do it); their names must be in the theia2r naming convention (safe_shortname). |
rgblist |
rgblist |
tilesdir |
Directory of tiles |
mosaicdir |
Directory of mosaic |
outdir |
(optional) Full name of the existing output directory where the files should be created. Default is the same directory of input reflectance files. # FIXME use a subdir with product name |
subdirs |
(optional) Logical: if TRUE, different indices are
placed in separated |
tmpdir |
(optional) Path where intermediate files (VRT) will be created. Default is a temporary directory. |
rmtmp |
(optional) Logical: should temporary files be removed? (Default: TRUE) |
format |
(optional) Format of the output file (in a format recognised by GDAL). Default is the same format of input images (or 'GTiff' in case of VRT input images). |
compress |
(optional) In the case a GTiff format is present, the compression indicated with this parameter is used. |
vrt_rel_paths |
Directory vrt |
parallel |
(optional) Logical: if TRUE, the function is run using parallel
processing, to speed-up the computation for large rasters.
The number of cores is automatically determined; specifying it is also
possible (e.g. |
resolution |
Resolution |
overwrite |
(optional) Logical value: should existing thumbnails be |
overwritten? |
(default: TRUE) |
A vector with the names of the created images.
License: GPL 3.0
pascal Obstetar, (2019) pascal.obstetar@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.