umr-lops / xsar

Synthetic Aperture Radar (SAR) Level-1 GRD python mapper for efficient xarray/dask based processing
https://cyclobs.ifremer.fr/static/sarwing_datarmor/xsar/
MIT License
24 stars 8 forks source link

make swathBounds available #99

Open oarcher opened 2 years ago

oarcher commented 2 years ago

swathBounds are available in annotation (xpath '/product/swathMerging'). ( ref Sentinel-1 Product Specification from IPF 2.9x to 3.3x , p 182)

We should be able to decode it as a geodataframe.

_NoiseLut has also a '.block' property that should be compared to those swath bounds

https://github.com/umr-lops/xsar/blob/40340e22cea1f97c5a5ab3f52e1dd05ae590c078/src/xsar/sentinel1_xml_mappings.py#L371-L375

vincelhx commented 7 months ago

@agrouaze i added swathBounds in a datatree, but didn't make this comparison. as a reminder