-
Notifications
You must be signed in to change notification settings - Fork 65
Add bridge algorithm to unwrap #164
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
Conversation
hfattahi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Would you please confirm if you have tested with latest constant PRF and Dithered data?
|
Currently, there is no issue in running the bridging algorithm for dithered mode but we don't see the differences with/without bridge algorithm, because there is no gap between subswaths for now. @hfattahi |
xhuang-jpl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @oberonia78 , LGTM, just a minor suggestion
| return output_arrays | ||
|
|
||
|
|
||
| def interpret_subswath_mask(subswath_mask, nodata=255): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @oberonia78, this is a very helpful function, would you please making it a generic function to put it here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. I just moved it to utils.
Sorry I meant to try with constant PRF data. Have you tested? |
hfattahi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Based on offline discussion, the PR is tested on Quad-pol data as well.
* add bridge algorithm to unwrap * fix bug in reading mask * move function to utils * fix the bug --------- Co-authored-by: Jungkyo Jung <jungkyoj@nisar-adt-dev-5.jpl.nasa.gov>
This PR adds the bridge functionality to the unwrap.

For the fixed PRF interferogram, the phase jumps occurs along the subswath boundaries. To minimize the issues, this PR masked out the invalid areas (partially focused area) using mask layer, then applies the bridge algorithm.