Has anybody tried to use multiple roi’s in batch processing? I would like to resample S2 data, then subset the data and then use Idepix. I have tried to used idepix only, but is too memory consuming and my computer is not able to do that (even in command line and with separate processes). My idea, for example, firstly, create txt file, where every roi is defined by its own limits and satellite image path is defined in separate column. And then using the info in the txt file in batch processing. Is it possible to do it and how?
You can set up a graph, which reads one S2 product and then you add for each ROI one subset operation and afterwards you do IdePix. In this case the number of rois is not dynamic.
You could store all the ROIs in a properties file if you like and use this properties file along with the graph.
A more dynamic approach could be done to set up a straight graph read-subset-idepix-write and in a batch script the read the ROIs from a file or define them within the scrip and then use them as parameter for the command line call of gpt.