nasa / opera-sds-pcm

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

[Bug]: Early in DISP-S1 historical processing, reduce m when looking for compressed cslcs if there aren't enough sensing times #903

Closed philipjyoon closed 4 months ago

philipjyoon commented 4 months ago

Checked for duplicates

Yes - I've already checked

Describe the bug

The value of m starts from 1 at the very beginning of the sensing time series for any particular frame and then ramps up to the actual m value. In the early stages of historical processing, there will not be enough sensing times in the database (and dataset) to satisfy the entire m compressed CSLC files. m needs to be reduced in these cases accordingly.

What did you expect?

n/t

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]
...
philipjyoon commented 4 months ago

This was implemented into CSLC download code but wasn't absolutely necessary because historical batch processing does the counter side of this: reduce m before submitting queries jobs. Either way, this ticket is completed.