insarlab / MintPy

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

fix bug in gdal -> mintpy corner coordinate convention #1034

Closed sssangha closed 1 year ago

sssangha commented 1 year ago

Description of proposed changes

Through the ARIA products workflow, or whenever loading a gdal file in general, an erroneous shift appears to be applied to the accessed geotransform and the derived x_first and y_first fields. Specifically, an extra half pixel shift (to the north and west) is applied when the gdal geotransform object already reports the coordinates of the upper left pixel.

I've tracked this bug in a few scripts, but would like advise on where else I should look to track down potential persistent issues.

Reminders