Skip to content

[Bug]: Partial backscatter returned at Antimeridian (Mask bug) #94

@abradley60

Description

@abradley60

Checked for duplicates

Yes - I've already checked

Describe the bug

Summary

  • There appears to be a bug where partial backscatter data is returned for bursts that intersect the antimeridian / dateline (180 degrees).
  • From my investigation, The bug is likely associated with the generation of the shadow layover mask.
  • The bug impacts sentinel-1 scenes. I am unsure if this bug would also impact the processing of Nisar scenes over the antimeridian and therefore be high on your priority list to address.

Details

The bursts I have tested are at high latitude near the Antarctic coastline. I have tested a couple different sentinel-1 SLC’s in the region, finding similar results. The following is the produced backscatter for two bursts t028_059508_iw1 and t028_059507_iw2 corresponding to S1A_IW_SLC__1SSH_20220122T153615_20220122T153645_041575_04F1EF_9254. The image below shows the resulting backscatter plotted in QGIS using 3031 polar stereographic projection. Artifacts either side of the antimeridian appear for both bursts.

Figure 1 – HH Backscatter for t028_059508_iw1 and t028_059507_iw2 for scene S1A_IW_SLC__1SSH_20220122T153615_20220122T153645_041575_04F1EF_9254 over the antimeridian.

Image

Further analysis suggests to me that this may be an issue with the generation of the shadow and layover mask. Below shows the masks plotted in QGIS. As can be seen, there are some interesting striping artifacts showing layover, and large blocks either side of the antimeridian appear to be impacted by both shadow and layover. From what I can see, the generation of the other ancillary layers is normal.

Figure 2 – Data masks for bursts showing artifacts.

Image

When we set apply_shadow_masking : False, complete data is returned for the bursts as expected. I have not spent time diving into the isce3 code, but I suspect the culprit is associated with compute_layover_shadow_mask, and potentially the Ellipsoid?

Figure 3 – Backscatter bursts with NO masking applied

Image

There is full DEM coverage for the bursts that have been tested. Given the high latitude of the test areas, the DEM is passed in using EPSG:3031 Polar Stereographic Coordinates. The bursts are actually over water, so ellipsoid heights are used.

Files

What did you expect?

Expected nominal processing of the bursts.

Reproducible steps

- Data was produced using `rtc_s1.py OPERA-RTC_runconfig.yaml`. 
- The config and the DEM file for the run can be found in the link above.
- We use a burst-db which was built from https://github.com/opera-adt/burst_db
- Aside from that, the SLC was downloaded from the ASF and the orbit files from ESA’s CDSE

Environment

- Linux environment set up as suggested by the RTC Dockerfile 
- Opera-adt/RTC version = 1.0.2
- s1-reader version = 0.2.4
- isce3==0.15.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions