Hi, I have several S2L2A files I want to mosaic.
For that, I want to first resample each of them to a pixel resolution of 20m. These files have 12 bands with different resolutions (when I look at the metadata — spectral information I see that some bands have 20m, others 10m and others 60m resolution).
As I want all of them with a final resolution of 20m, I use the resampling tool choosing the following options:
After this process, if I open the Spectral information List of my target product, and I find out that the resolution for each band is not 20m but the one they had previous to the resampling.
Here is my question:
Should I ignore this fact and assume the bands of the target product are now 20m resolution? or am I missing something to do a propper resampling?
I openned a RGB image of the target product and measured the pixel size. It was 20m so I guess the operation worked properly.
Anyway, I will check it later with different bands.
I am now trying to perform the same operation with another file but the following error comes out:
I dont really know what could be wrong now.
Thank you.
Are you still using version 5 of SNAP. Because resampling works fine for me in SNAP 6. But actually it worked in SNAP 5
If you want to mosaic the products anyway, you can use the Multi-size Mosaic which is in the menu at Raster/ Geometric Operations.
the resampling should be OK, but the operator do not change anything on the metadata xml file, so if you check the resolution there you will see the old resolution.
On the other hand, the error that you have is produced with what kind of input?
hello, i am new with SNAP, now i used SNAP 11, when i do the resampling i got error like this,
A problem occurred during the target product processing.
Type: OperatorException
Message: Not able to write product file:
'C:lUsers UseriDocuments SOOKIsentinel-2120171S2A_MSIL2A_20171013T022631_N0500_R046 _TSONML_20230811T230806_s2resampled.dim"
i use sentinel 2 level 2a, i want to resample because my analysis will conduct the vegetation index such as ndvi, ndwi, gndvi, and ndrs.
The path in the error message looks strange.
There are no delimiters.
It actually should look more like:
‘C:\Users\Useri\Documents\SOOKIsentinel-2120171\S2A_MSIL2A_20171013T022631_N0500_R046 _TSONML_20230811T230806_s2resampled.dim’
Not sure if I have split the path correctly but you probably know what I mean.
How do you provide the path? Are you using the desktop or gpt? Can you tell a bit more?