I’ve been trying to process multiple S2 images by calling the gpt command “c2rcc.msi” through the command line via an .XML file in Unix machine. However, it process only the 40% of the images without returning errors.
I’ll let here the XML file I’m using and the output from the command line.
This the output from the terminal. Here it stopped the processing after 30% of the image, and in fact when I open the image via SNAP only the upper part of the image is processed.
Thank you for your fast reply. Unfortunaly I think the cloud shadow option in not my case because I’m not using IdePix. Also, It’s strange that every time the processing stop at a different percentage of the image even if I don’t change anything.
I’ll leave here my XML file. c2rcc_msi_v2_algo.xml (4.3 KB)
Oh, yes you are right. You are using C2RCC. Sorry!
I think in your case it would be good to split the graph.
Do in one step only the resampling and the regional subsetting and then do in a second step the rest.
It could be that you are at the limit of your computer capabilities. How much memory do you have?
At list it will help to find out where, at which node, your graph hangs.
Another option is to use the general resampling and not the S2Resampling. It is faster and, it uses less memory, I think. I’m not sure how sensitive C2RCC is regarding the differences in the geometry bands and if you can use it.
If you want to automate your processing with the command line you have to invest some time in understanding the principles. Especially because these things are very sensitive to your individual files, their location, product level etc, there is little sense in copy-and-paste commands and expecting them to work.
Marpet and the others did a good job helping you to get on the right track in the other topic, so please specify your question and take some time to build your workflow step by step. Start simple and only edit/add something once it worked. Putting too much in at once makes it hard to find errors.