This function download and install standalone version of Sen2Cor.

install_sen2cor(sen2cor_dir, version = "2.5.5", force = FALSE)

Arguments

sen2cor_dir

Path where sen2cor will be installed.

version

(optional) Character: Sen2Cor version (one among '2.5.5' - default - and '2.8.0').

force

(optional) Logical: if TRUE, install even if it is already installed (default is FALSE).

Value

NULL (the function is called for its side effects)

Note

License: GPL 3.0

Examples

if (FALSE) { install_sen2cor(sen2cor_dir = tempdir()) # ( use a non-temporary folder path instead of tempdir() ) }