nasa / opera-sds-pcm

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

[New Feature]: Dynamic Compressed CSLC checking, blocking, and running for DISP-S1 workflow forward and reprocessing modes #925

Open philipjyoon opened 4 months ago

philipjyoon commented 4 months ago

Checked for duplicates

Yes - I've already checked

Alternatives considered

Yes - and alternatives don't suffice

Related problems

No response

Describe the feature request

DISP-S1 SCIFLO can run if and only if all m compressed cslcs have been satisfied. Compressed cslcs are generated also by the DISP-S1 SCIFLO jobs. CSLC Download jobs currently perform the compressed cslc satiety check and fail if it is not met.

Instead of failing such jobs, we want to block (pause, etc) the download jobs if compressed cslcs have not been satisfied. And when they are satisfied then we can trigger the download jobs.

https://github.com/nasa/opera-sds-pcm/blob/develop/tools/run_disp_s1_historical_processing.py does something very similar so we should refactor that and integrate it into this design.

Quick design: