I am trying to export a spatial subset of Sentinel-2 bands which have both 20m resolution (B12,B11,B8A) and 10m resolution (B4,B3,B2).
SNAP (6.0) however requires the entire product to be resampled at a given resolution before being able to perform a subset operation. Consequently, I have to choose whether to export all bands at 20m or 10m, which means I would either undersample the visible bands (B4,B3,B2) or oversample the SWIR bands (B12,B11,B8A).
@marpet reported in 2017 that this was “due to the unfinished support of multi-size products”. Is there any way to overcome this issue now?
At the moment in order to overcome this restriction I export the subset as 2 distinct BEAM-DIMAP files (one with just the 10m bands, the other just with the 20m bands), and when I need to use all bands for later analysis, I open/resample/merge both products. This is however quite cumbersome.
(I use snappy to manipulate Sentinel products, but any other solution not involving a GUI is welcomed).