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

use s1meta.pixel_axtrack_m for Sentinel1Dataset.pixel_axtrack_m #102

Closed oarcher closed 2 years ago

oarcher commented 2 years ago

close #100

agrouaze commented 2 years ago

@oarcher Do not forget that pixel_atrack_m is currently not aligned with s1meta.image['ground_pixel_spacing'].

oarcher commented 2 years ago

It's the same:

https://github.com/umr-lops/xsar/blob/c03866aedc77b6e5dc103dccea1ad5cd64f3892e/src/xsar/sentinel1_meta.py#L505-L512

agrouaze commented 2 years ago

yes but look at this: https://github.com/umr-lops/xsar/blob/c03866aedc77b6e5dc103dccea1ad5cd64f3892e/src/xsar/sentinel1_dataset.py#L421