sen2r (version 1.6.0)

check_sen2r_deps: Check package dependencies

Description

The function allows to graphically check that all the optional runtime dependencies are installed.

Usage

check_sen2r_deps()

Arguments

Value

NULL (the function is called for its side effects)

Author

Luigi Ranghetti, phD (2019)

Details

This package needs some external dependencies in order to run specific actions:

  • Sen2Cor for atmospheric correction;

  • GDAL for cloud mask smoothing and buffering;

  • aria2 to download SAFE images with an alternative downloader.

This function opens a GUI which allows to check that these dependencies are installed. This check is highly suggested before using the library for the fist time, in order to avoid errors.

References

L. Ranghetti, M. Boschetti, F. Nutini, L. Busetto (2020). "sen2r": An R toolbox for automatically downloading and preprocessing Sentinel-2 satellite data. Computers & Geosciences, 139, 104473. tools:::Rd_expr_doi("10.1016/j.cageo.2020.104473"), URL: https://sen2r.ranghetti.info/.

Examples

Run this code
if (interactive()) {
  check_sen2r_deps()
}

Run the code above in your browser using DataLab