sen2r (version 1.2.1)

install_sen2cor: Download and install (or link) Sen2Cor

Description

install_sen2cor() downloads and installs standalone version of Sen2Cor.

link_sen2cor() links an existing standalone version of Sen2Cor to sen2r.

Usage

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

link_sen2cor(sen2cor_dir)

Arguments

sen2cor_dir

Path where sen2cor is being installed or searched.

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)

Examples

Run this code
# NOT RUN {
install_sen2cor(sen2cor_dir = tempdir())
# ( use a non-temporary folder path instead of tempdir() )
# }

Run the code above in your browser using DataCamp Workspace