You can use the Subset operator. You can use it before or after the Reproject operator.
As a general note, it is better to use GPF.createOperator('Reproject', ...) to invoke the operators.
See the example in this thread:
How is your system equipped with memory? I really wonder why you still get this error after editing the memory setting. To which value you have you set it?
Have you been lucky?
Maybe you try to execute your processing chain directly from the command line without Python.
You can create the graph with the graph Builder and store it as file.
Then you can execute it with gpt.
You can change memory settings for gpt in the gpt.vmoptions file. You’ll find several posts about it.
Additionally you can set the -c option. This allows to set a bigger cache size.
Call gpt -h for some more help.
Pretty hard API. Still trying to understand how to reproject only 2 bands from source product sen3. I have to spend more time for it than i thought.
gpt reproj.xml failed with same error. I’ll try to add more mem for gpt.
I’ll reply what i’ll get .
Thanks for you work!