Closed agrouaze closed 1 year ago
In this land mask issue for SLC product, there is 2 main feature to adapt compare to GRD behavior: a) the capability to rasterize a land mask defined on lon/lat grids in the image coordinates b) the capability to re-project the SLC product in a lon/lat grid*. This operation is equivalent to SLC -> GRD conversion and is far beyond the scope of land mask. So I propose to discard this feature for SLC products.
There are several difficulties to tackle a):
.buffer(N)
initially used for GRD products to simplify the polygon shapes can be dangerous for SLC if one goes beyond burst limits.*the dataset['sigma0'].rio.reproject(...)
that us using GCPs would be tuned so that ll2coords()
and coords2ll()
methods are not using Affine
transformations to get the right values and probably that the.rio.reproject
accessor has to be called burst by burst* while .rio
accessor needs prior Sentinel1Dataset.recompute_attributes()
call -> _set_rio()
call -> _local_gcps()
S1B_IW_SLC__1SDV_20181013T062320_20181013T062348_013130_018428_F58B.SAFE subswath = 'IW1' first burst. bounding box: [22, 1485, 1177, 21583]