insarlab / MintPy

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

Projection of Liine-of-Sight (LoS) displacement to the downslope component. #1170

Open ashokdahal opened 3 months ago

ashokdahal commented 3 months ago

Description of the desired feature I, together with @alhandwerger and @ EJFielding, would like to request a feature on MintPy to project LoS displacement onto the slope component, as many researchers working on the hillslope deformation field prefer to work with a downslope component instead of LoS displacement. The prescribed method for this is quite simple and is well established, Similar to asc_desc2horz_vert, the LoS displacement can be projected towards the hillslope using methods such as Handwerger et al. (2019).

Describe the solution you'd like We would like to have a simple mintpy cli tool / function which works in similar way to asc_desc2horz_vert.py and projects LoS displacement onto downslope component.

Additional context We have already developed the required tool and would like to share it with the community.

Are you willing to help implement and maintain this feature? Yes.

welcome[bot] commented 3 months ago

👋 Thanks for opening your first issue here! Please filled out the template with as much details as possible. We appreciate that you took the time to contribute! Make sure you read our contributing guidelines.

ashokdahal commented 1 month ago

Hello,

I am not sure why that is the case. Could you please try with this dataset (essentially, it should be the same, but maybe there was some issue in uploading)? Let me know if you face more errors.

Best Ashok Dahal


From: guo xin @.> Sent: Monday, May 27, 2024 8:11 AM To: insarlab/MintPy @.> Cc: Ashok Dahal @.>; Author @.> Subject: Re: [insarlab/MintPy] Projection of Liine-of-Sight (LoS) displacement to the downslope component. (Issue #1170)

After I copied the code into my directory and ran the command "los2slope.py -file geo_velocity.h5 -g geo_geometryRadar.h5 -o geo_slopevelocity.h5 -m 15 -sf 5" to test it, I received the following error: "ValueError: input dataset ['azimuthAngle'] not found in file geo_geometryRadar.h5." I then opened the h5 file in GIS software and found the following image. The h5 file does not contain azimuth angle information. 2024-05-27.102343.png (view on web)https://github.com/insarlab/MintPy/assets/101173834/22ee8c63-f709-4274-adec-7ad68ac1a93b

— Reply to this email directly, view it on GitHubhttps://github.com/insarlab/MintPy/issues/1170#issuecomment-2132532694, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFPJPCUXYPEAA7D565EDZC3ZEKKVBAVCNFSM6AAAAABFPADECKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZSGUZTENRZGQ. You are receiving this because you authored the thread.Message ID: @.***>

guoxin-swjtu commented 1 month ago

Thank you very much for your timely reply. I have tried this demo and it is completely effective. However, this error may occur because there is no azimuth information in my geo.h5 file. I am working on solving this problem. Thank you again for your code contributions and replies!