-
Notifications
You must be signed in to change notification settings - Fork 63
Fix the InSAR offsets products QA failure where there are multiple col pols #181
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
base: develop
Are you sure you want to change the base?
Conversation
Tyler-g-hudson
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, at least in terms of logic
nemo794
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.
Hi @xhuang-jpl , Thanks for putting up this PR to force the conversation! You're correct in that this creates a bit of a mess with QA and with the product specs. I'm going to block the merging for now to prevent any accidents, until the team discusses and agrees upon the correct path forward. Thank you again!
The Issue:
The default InSAR populate ONLY ONE co-pol offset products (HH first, VV second) because of the runconfig parameter (process_single_co_pol_offset) here. The InSAR writer mis-used the polarizations from the function get_cfg_freq_pols where the third returned parameters are the polarization from the offsets products, but it used the second return parameters. This triggers the inconsistency between the InSAR writer and offset products, which means that the VV offsets will be created in the InSAR products, but not in the offsets products.
The solution:
Update the InSAR writer to use the right polarizations being consistent with the offsets products.
The caveat:
how we will populate the listOfPolarizations in the RIFG, RUNW, and GUNW products? I mean the interferograms will have two co-polarizations, but the pixelOffsets will have one co-pol polarization, which might fail the QA?