I am trying to create a mosaic of 2 L2A images, using a .xml file in a python script, but the GPT doesn’t find my .dim files. I guess that my error is in my xml file, but I didn’t found it.
Thank you, I think that I will try to use the multi-size mosaic tool then.
The problem is that tried to modify my XML in comparison to the one that you uploaded, but it still doesn’t seem do find my input files ; I get the same message from python
Thank you again, but I still get the “non zero exit status” error…
I also tried to call -Pinput1=mypath/images/* and -Pinput1=mypath/images/*dim
Maybe it is because the mosaic tools from snap want a specific kind of path, like “path/images/file1.dim , path/images/file2.dim” or with an other separator, or several different inputs for the number of images to mosaic ?
Well, for the multi-mosaicing yes, but the simple mosaic tool works perfectly on SNAP. And eventually I need to use resampled data to apply a subset in my process chain so I am going to use the simple mosaic tool.
I also tried the 2 input solutions with some modifications to the .xml that I found on other posts, where I use the “ProductSet-Reader” to read my 2 files as “path/to/file1.dim,path/to/file2.dim”, and then i place it as sources for the Mosaic operator, as sourceProduct.2 refid=“ProductSet-Reader”, but it still doesn’t work…