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]: function async_query_cmr is forcing a revision time query to be temporal if native_id parameter is used #879

Closed philipjyoon closed 3 months ago

philipjyoon commented 3 months ago

Checked for duplicates

Yes - I've already checked

Describe the bug

cmr.py line 147 has a logic that assigns the time range to be temporal if native_id argument is used. This logic was introduced just for RTC processing... and it's having unintended effect on other processing, namely DISP-S1 revision date range processing with frame ids.

Since this temporal time override logic only applies for RTC processing, it should be isolated just for that.

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]
...