Skip to content

Version 1.0.1

Compare
Choose a tag to compare
@ranghetti ranghetti released this 09 Apr 09:28
334a24c

Changes from version 1.0.0

Major changes

  • A new algorithm was implemented in s2_calcindices(): now internal raster routines are used by default instead than gdal_calc.py, allowing reducing RAM usage and computation time.
  • Better RAM usage and reduction of execution time: sen2r_getElements() was rewritten in order to:
    1. avoid a RAM leak present in the function, which was causing a high RAM use in the first part of the execution of sen2r();
    2. considerably speed up the execution (now the metadata of 100 files is retrieved in 4 milliseconds instead than 80).

Changes in function defaults

  • s2_calcindices() uses internal routines; the legacy mode can be used with the argument proc_mode = "gdal_calc" (default value is "raster").
  • list_indices() now returns only checked indices by default (specify all = TRUE to return also non-checked ones).
  • the default output format of sen2r_getElements() is now a data.table instead than a list (use format = "list" to reproduce the old default).

Various fixes.