insarlab / MintPy

Miami InSAR time-series software in Python
https://mintpy.readthedocs.io
Other
575 stars 252 forks source link

`readfile`: support GDAL `int8` dtype #1083

Closed yunjunz closed 11 months ago

yunjunz commented 11 months ago

Description of proposed changes

This PR adds the support of reading int8 type for files in GDAL format, as suggested by @scottstanie in #1081.

I did not replace the usage of dict conversion with the two functions above yet, because cint16/32 is supported by GDAL but not in numpy yet, thus, the dict conversion may be more generic at the moment for translation purposes.

Reminders