powered by
install_sen2cor() downloads and installs a standalone version of Sen2Cor.
install_sen2cor()
link_sen2cor() links an existing standalone version of Sen2Cor to sen2r.
link_sen2cor()
install_sen2cor(sen2cor_dir = NA, version = "2.5.5", force = FALSE)link_sen2cor(sen2cor_dir)
link_sen2cor(sen2cor_dir)
Path where sen2cor will be installed or searched (by default it is a subdirectory "sen2cor" of the default sen2r directory).
"sen2cor"
(optional) Character: Sen2Cor version (one among '2.5.5' - default - and '2.8.0').
(optional) Logical: if TRUE, installs sen2cor even if it is already found in sen2cor_dir (default is FALSE).
NULL (the function is called for its side effects)
# NOT RUN { install_sen2cor(sen2cor_dir = tempdir()) # ( use a non-temporary folder path instead of tempdir() ) # }
Run the code above in your browser using DataLab