COPRS / rs-issues

This repository contains all the issues of the COPRS project (Scrum tickets, ivv bugs, epics ...)
2 stars 2 forks source link

[BUG] [Sentinel-2] Sentinel-2 Level-2 RS add-on fails. #897

Closed pcuq-ads closed 1 year ago

pcuq-ads commented 1 year ago

Environment:

Traceability:

Current Behavior: Sentinel-2 Level-2 processing fails.

Expected Behavior: All RS-add-on processing shall be up and running.

Steps To Reproduce: Obvious. Deploy and start the S2-L2 chain and check production.

Test execution artefacts (i.e. logs, screenshots…)

Whenever possible, first analysis of the root cause Information from @nleconte-csgroup :

"Currently, level 2 of Sentinel 2 in OPS is not working. But it is easily bypassed. On Sentinel 2, the versions of IPFs to use for processing are defined in an AUX (another S2 peculiarity):

These versions can be bypassed via a configuraiton file in the Python orchestrator that comes from the Production Service. This is practical, as it avoids having an AUX that tells us to use version 6.1.4 of the IPF when we are running version 6.1.0, for example.

In this AUX, there is also the "baseline version". This is the number at the end of the products, for example 04.00 for this DS: S2B_OPER_MSI_L1C_DS_REFS_20230329T135633_S20230325T203106_N04.00

Unfortunately, there is a processor at level 2 (Sen2Cor) that will still read the baseline version in this AUX no matter what (another S2 peculiarity).

Currently, the PROBA2 AUX in OPS gives the baseline version as 05.09. And so at level L2, this IPF (Sen2Cor) starts to generate an L2A DS with this name: S2B_OPER_MSI_L2A_DS_REFS_20230404T095354S20230325T203106N05.09, but the previous steps have generated an L2A DS S2B_OPER_MSI_L2A_DS_REFS_20230404T095354S20230325T203106N04.00.

After discussion with our S2 expert and Cyrille, the easiest solution is to disable the ingestion of new PROBA2 (via regex at the AUXIP ingestion level), delete the PROBA2 that mention the 05.09 baseline from our catalog, and restart the S2 L2 processing."

Bug Generic Definition of Ready (DoR)

Bug Generic Definition of Done (DoD)

pcuq-ads commented 1 year ago

Dear @nleconte-csgroup ,

I have accepted your pull request : https://github.com/COPRS/rs-config/pull/123 Please proceed with the change and deploy the fix in operation. Please, update also the "PRE Integration - tests" document to share S2 L2 processing behaviour.

Regards

LAQU156 commented 1 year ago

IVV_CCB_2023_w14 : Moved into "Accepted CS", Priority blocking

LAQU156 commented 1 year ago

CS_CCB_2023_w14 : Moved into "Refused CS", Workaround to be implemented anc check if it fix the situation

nleconte-csgroup commented 1 year ago

The workaround works. The S2 L2 production is unblocked but we have two new bugs :

LAQU156 commented 1 year ago

IVV_CCB_2023_w15 : Workaround needs to be explained (@nleconte-csgroup), Priority minor, Moved into "Under Analysis", no need to see this issue again

LAQU156 commented 1 year ago

IVV_CCB_2023_w16 : On hold (IPF)

pcuq-ads commented 1 year ago

RSRRv2_SystemCCB : need some "how to" documentation to explain how to make S2_L2 working with the deployed version of the IPF.

LAQU156 commented 1 year ago

IVV_CCB_2023_w18 : Moved into "Accepted CS" to update the documentation in order to inform the user, Priority minor

LAQU156 commented 1 year ago

CS_CCB_2023_w18 : Moved into "Product Backlog" to update the documentation

nleconte-csgroup commented 1 year ago

RSRRv2_CS-FR_CCB : Will be documented within phase 1, version to be specified.

LAQU156 commented 1 year ago

IVV_CCB_2023_w21 : Will be done for phase 1

LAQU156 commented 1 year ago

CS_CCB_2023_w23 : Moved into "Sprint Backlog" for implementation in the next delivery (S2 1.8.0)

nleconte-csgroup commented 1 year ago

This is now documented in the develop branch : https://github.com/COPRS/processing-sentinel-2/commit/42b9cb0876781cf7d68580c432bf051cf2ce4d0d

nleconte-csgroup commented 1 year ago

Delivered in processing-sentinel-2 1.8.0-rc1 (https://github.com/COPRS/processing-sentinel-2/releases)

pcuq-ads commented 1 year ago

SYS_CCB_w29 : The documentation has been updated on release 1.8.0-rc1. image