insarlab / MintPy

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

Output KMZs not properly geocoded for time series in UTM #1211

Closed Alex-Lewandowski closed 4 months ago

Alex-Lewandowski commented 4 months ago

Description of the problem

KMZs produced when running the google_earth step are not properly geocoded if data are in UTM because save_kmz.py assumes that data are in WGS84 and creates an invalid bounding box.

https://github.com/insarlab/MintPy/pull/1210

Full script that generated the error

smallbaselineApp.py path/to/config --work-dir path/to/work_dir --dostep google_earth

Error example The KMZ should appear in Google Earth like this:

image

But, if data are in UTM, it appears like this:

image

Adjusting Google Earth preferences to use UTM does not work because the kmz is not correctly geocoded.

System information