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
29 stars 8 forks source link

Revisit the way the down sampling is performed in `xsar` #242

Open agrouaze opened 1 week ago

agrouaze commented 1 week ago

currently the default strategy of down-sampling is based on rasterio.enums.Resampling.rms.

1) Ideally the down-sampling should be done fully in xsar (I think with rasterio the change of resolution is done only at opening, see https://github.com/rasterio/rasterio/issues/755). The reader should only map the files to python objects, "editing" operations should be done in xsar. 2) Ideally the down-sampling should let the user choose: