opera-adt / DSWX-SAR

Dynamic Surface Water Extent from Synthetic Aperture Radar
Apache License 2.0
9 stars 6 forks source link

automatic determination of polarizations and inundated vegetation #68

Closed oberonia78 closed 4 months ago

oberonia78 commented 4 months ago

This PR adds new options for polarizations and inundated vegetation.

In strategies using MGRS tile collection database, multiple scenarios could happen as follows:

  1. all bursts have dual polarizations 1.1. all bursts have the same polarizations (e.g., VV/VH) 1.2. some bursts have dual VV/VH polarization, but the others have HH/HV polarizations.
  2. all bursts have single polarizations (e.g., VV) 2.1. all bursts have the same polarizations (e.g., VV) 2.2. some bursts have single VV polarization, but the others have HH polarizations.
  3. some bursts have dual (e.g., VV/VH) but the others have single polarizations 3.1. all bursts have the same polarizations (e.g., VV/VH and VV) 3.2. some bursts have dual VV/VH polarization, but the others have HH polarizations.

To handle all possible scenarios, this PR adds more polarimetric cases. New code automatically searches the available polarizations from the given RTC bursts.

Depending on the availability of cross-polarization, the inundated vegetation will be enabled/disabled. For example, the inundated vegetation mapping is possible in scenario 1) and 3). In particular, in scenario 3, only limited areas have inundated vegetation.