nasa / opera-sds-pge

Observational Products for End-Users from Remote Sensing Analysis (OPERA)
Apache License 2.0
16 stars 6 forks source link

[Bug]: DISP-S1 Burst ID Validation does not take sensor into account #493

Closed collinss-jpl closed 1 week ago

collinss-jpl commented 1 month ago

Checked for duplicates

Yes - I've already checked

Describe the bug

We currently perform the following check when validating the set of input CSLC burst ID's against the set of burst ID's for ancillary inputs: https://github.com/nasa/opera-sds-pge/blob/main/src/opera/util/input_validation.py#L220

However, this current test is too naive, in that it does not account for the following case:

What did you expect?

The test below this one (that performs straight comparison of the sets of burst IDs parsed from group of files) is probably sufficient for what we are tying to accomplish with this validation. So it should be sufficient to simply remove the naive test noted above.

Reproducible steps

1.
2.
3.
...

Environment

- Version of this software [e.g. vX.Y.Z]
- Operating System: [e.g. MacOSX with Docker Desktop vX.Y]
...
collinss-jpl commented 1 week ago

Closed by #506