Support the use of an AOI
Describe the current behavior
The full product is process even if some part are not useful for the next processing.
Describe the expected behavior
maja can take as input a AOI (a raster mask but potentially a gis file) which is used to limit the surface reflectance correction to this area. The other steps (estimation of atmospheric properties, cloud detection, ...) done a reduced resolution will be done at full resolution. The idea is to avoid to produce something which will be remove just after maja. For example If I want to product the S2 L2A over Haute Garonne, I will need to produce 6 tiles but some of them intersects the AOI with very small area (cf. following figure). I will spend a lot of cpu time to produce something which is not useful. Indeed to avoid paid storage I will mask the output to 0 and made compression.