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

check_sen2r_deps()

Value

NULL (the function is called for its side effects)

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.

Note

License: GPL 3.0

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. doi:10.1016/j.cageo.2020.104473 , URL: https://sen2r.ranghetti.info/.

Author

Luigi Ranghetti, phD (2019)

Examples

if (interactive()) {
  check_sen2r_deps()
}