-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Temporary issue for save_hdf5eos fix of MintPy #83
Comments
I was aware of this potential issue. After seeing @stackTom's initial implementation using the four corners lat/lon, I realize it won't work for dataset with no-data-value on the corners/edges, which is very common for S1. Thus, I changed it to the min/max lat/lon as a bounding box. If you have a robust way to exact the inclined polygon, please issue another PR. |
I only know how to get data from the unavco h5 files, don't know enough about geology or rest of the mintpy pipeline to suggest any alternatives. Do you know how else we could do it @falkamelung? |
Hi @stackTom , I would think in most cases we can just take the (1,1), (1,N), (N,1), (N,N) of the arrays to get the lat/long coordinates of the edges: |
Will have to play with it. I initially did it like you suggest (before yunjun put in his fixes), but the resultant polygon also wasn't slanted. I tested it using an online WKT visualizer. Unless my memory is failing me (which is a full possibility), it wasn't slanted. |
I could not find the MintPy issue so I am writing it here.
https://insarmaps.miami.edu/start/19.4594/-155.5096/10.6143?flyToDatasetCenter=false&startDataset=S1_IW12_087_0527_0531_20180908_XXXXXXXX_N19390_N19549_W155679_W155507
(There is something weird: in geo coordinates it always uses --subset, no matter whether it is given. Try the command below without --subset. ??????)
The text was updated successfully, but these errors were encountered: