The simplest way to use sen2r is to execute it in interactive mode. These commands will open the GUI provided with by function sen2r():


The GUI is organised in several panels (click on the images below for larger versions), allowing users to set all the required processing parameters. Help pop-up windows (marked with the symbol ) are provided to aid users regarding the more complex parameters.

The left-side bar of the dashboard allows instead to:

  • save the current parameters to a JSON file for later use (this allows for example to easily set-up parameters for a processing chain that can be later launched from the command line);
  • restore previously saved parameters;
  • specify the path of a log file where processing messages will be saved;
  • launch the processing: in this case, the GUI will close and sen2r() execution will start (the user will be able to monitor sen2r() progress from the processing messages sent to R console or to a log file, if this option was chosen with the previous button);
  • exit the GUI without launching the processing.