sertit / eoreader

Remote-sensing opensource python library reading optical and SAR sensors, loading and stacking bands, clouds, DEM and spectral indices in a sensor-agnostic way.
https://eoreader.readthedocs.io/en/latest/
Apache License 2.0
271 stars 22 forks source link

[OPTIM] SAR: Interpolate na only on user's request #19

Closed remi-braun closed 2 years ago

remi-braun commented 2 years ago

For now, nan are always interpolated when saving SAR images to disk.

However this is only useful for a very few SAR products (only for some COSMO for now) and this takes some computational effort!

So add a keyword (i.e. SAR_INTERPOLATE_NA) and change default behaviour.

remi-braun commented 2 years ago

Done in 046ce1138f0466f4ae47451fe32d3e590b62b01a