Is there a minimum size for the specified window, either in pixels or in geographic coordinates, when creating a subset?
I’ve been working with Sentinel-2 L1C images, trying to make subscenes of various sizes. I’ve found that, if the subscene is too small, the operation returns with error, either on SNAP GUI or using Snappy.
A workaround I found was to first subset the area with a Shapefile that is bigger than the subset you’re using here (Done with LandSeaMask). This creates a smaller raster, that you can then subset as small as you want using the Subset tool.
This is more of a lengthy work-around, but it fixed the issue for me.
I did try to search through the source code in Github where the ‘invalid region’ Illegal Argument Exception was thrown, to understand what would trigger it, but did not find the location.