Function used to generate and handle the GUI used to allow selection of MODIStsp processing parameters. If the "previous options" file (MODIStsp_Previous.json) already exists, it is loaded and used to reinstate the GUI to its last state. Otherwise, the previous options file is created by launching the MODIStsp_read_xml function

MODIStsp_GUI(general_opts, prod_opt_list, scrollWindow, MODIStsp_dir,
  previous_jsfile, prodopts_file)

Arguments

general_opts

data.frame containing general processing options passed by MODIStsp

prod_opt_list

List of MODIS products specifications (read from MODIStsp_ProdOpts.xml file)

scrollWindow

logical parameter passed by MODIStsp main function.

MODIStsp_dir

main folder of the package

previous_jsfile

json parameters file containing data of the last execution

prodopts_file

character name of RData file containing info about MODIS products

Value

Quit - Logical - tells the main if running processing or exiting (also, Processing options are saved in "previous" file and (if "Save options" is pressed) in user's selected file)

Note

License: GPL 3.0