View source: R/S2_generate_RGB.R
S2_generate_RGB | R Documentation |
Generates 8-bit/channel composite image (see 'https://s2.boku.eodc.eu/wiki/' for details)
S2_generate_RGB(granuleId, destfile = NULL, resolution = c("highest", "lowest"), atmCorr = TRUE, r = "B08", g = "B04", b = "B03", ra = 20, ga = 20, ba = 20, rb = 20, gb = 20, bb = 20, overwrite = FALSE)
granuleId |
integer the granuleId for which to create the RGB composite |
destfile |
character path to the output file. If destfile is a path to an existing directory, a filename will be automatically generated. If NULL, the file will be saved to the current working directory using an automatically generated name. If a filename is supplied, it will be recognized by its '.tiff' extension. |
resolution |
character one of |
atmCorr |
0 (default) or 1, if atmospherically corrected bands should be used |
r |
character red band, e.g. "B08" |
g |
character green band, e.g. "B04" |
b |
character blue band, e.g. "B03" |
ra |
see wiki |
ga |
see wiki |
ba |
see wiki |
rb |
see wiki |
gb |
see wiki |
bb |
see wiki |
overwrite |
logical, should existing files be overwritten? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.