ACCESS-Cloud-Based-InSAR / dem-stitcher

Download and merge DEM tiles
Apache License 2.0
43 stars 15 forks source link

Properly handle nodata value #24

Closed sssangha closed 2 years ago

sssangha commented 2 years ago

Specifying None as a nodata value works for native float32 format datasets such as glo_30.

But for int16 format datasets such as SRTM, gdal does not handle 'None' as a nodata value, such that the native integer nodata values (-32768) in the array must be masked to avoid interpolation and geoid removal artifacts.