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

Fix anti meridian cases #173

Closed agrouaze closed 6 months ago

agrouaze commented 1 year ago

address #172 after testing a solution that would go beyond the raise Error in case of antimeridian, it appears that rastering methods (map_raster and _load_rasters_vars) can simply not handle such geolocations (at least without heavy modification of the function). Trying the rastering methods leads to artifacts: image So it is decided that the comments will be clearer in the code and in the Exception() msg.