Skip to content

Incorporate the qFSP mask into InSAR mask#247

Open
xhuang-jpl wants to merge 38 commits intoisce-framework:developfrom
xhuang-jpl:update_insar_mask
Open

Incorporate the qFSP mask into InSAR mask#247
xhuang-jpl wants to merge 38 commits intoisce-framework:developfrom
xhuang-jpl:update_insar_mask

Conversation

@xhuang-jpl
Copy link
Copy Markdown
Contributor

@xhuang-jpl xhuang-jpl commented Apr 2, 2026

This PR is to incorporate the qFSP mask into the InSAR mask, where many places are updated including:

  1. Add the hasInputDataException to the identification group
  2. Incorporate the qSFP mask into mask in the InSAR dataset
  3. Update the geocode_insar.py
  4. Update the interpret_subswath_mask function

Xiaodong Huang added 30 commits September 19, 2023 20:40
@xhuang-jpl xhuang-jpl marked this pull request as draft April 2, 2026 18:10
@xhuang-jpl xhuang-jpl changed the title Incorporate the qFSB mask into InSAR mask Incorporate the qFSP mask into InSAR mask Apr 2, 2026
@xhuang-jpl xhuang-jpl marked this pull request as ready for review April 6, 2026 19:39
@xhuang-jpl xhuang-jpl added this to the R05.01.4 milestone Apr 6, 2026
@hfattahi
Copy link
Copy Markdown
Contributor

hfattahi commented Apr 8, 2026

We reviewed this PR in a PR review session. Overall it looks good pending testing and very minor comments provided offline.

Comment on lines +591 to +592
sec_i = int(int(i) + azimuth_off[0,int(j)] + 0.5)
sec_j = int(int(j) + range_off[0,int(j)] + 0.5)
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use round() function here

# The azimuth index is not in the radar grid meaning no subswath mask
else:
subswath_mask += [0] * len(rg_idx_arr)
mask += [0] * len(rg_idx_arr)
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

may use the fillvalue (255) here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants