We are having issues during S2 preprocessing with MAJA using SEN4CAP 3.2.
Currently, we observe that:
• the MAJA processor effectively runs in our system but the preprocessing job still finishes systematically with error
• And S2 data are downloaded and available in the DB
The l2a job logs reports 2 issues:
Maja script still tries to create a symlink on “mnt/archive/maccs_def” folder without success.
For your information, we have the archive directory mounted.
No valid products JPI L2NOTV found
issue: Symlink on “archive/maccs_def”
Maja script still tries to create a symlink on “archive/maccs_def” folder without success.
2023.06.22-11:40:55 - ERROR - Creating sym links for NOMINAL MACCS/MAJA mode: l2a prev tiles [‘/mnt/archive/maccs_def/lux_2022_test3/l2a/2022/01/12/S2B_MSIL2A_20220112T104319_N0301_R008_T32ULA_20220112T113720.SAFE/SENTINEL2B_20220112-104659-911_L2A_T32ULA_C_V1-0’,
*2023.06.22-11:40:55 - ERROR - Created sym links for NOMINAL MACCS/MAJA mode for [‘/mnt/archive/maccs_def/lux_2022_test3/l2a/2022/01/12/S2B_MSIL2A_20220112T104319_N0301_R008_T32ULA_20220112T113720.SAFE/SENTINEL2B_20220112-104659-911_L2A_T32ULA_C_V1-0’, *
We did face the same issue but with the working directory “/archive/demmaccs_tmp/” and we finally “solved “ it by changing, via the L2A Atmospheric Corrections panel, the path to the demmaccs_tmp folder from a mounted location to local folder.
But now, the Sen4CAP “L2A Atmospheric Corrections interface” seems not to take into account the changes done for the default path L2A products “mnt/archive/maccs_def” ( the path is a priori configurable but the changes seems not to be considered after saving).
• Is there another way to change the path of this folder?
• Are other paths which require to be accessed via symlinks?
2.Issue: No valid products JPI L2NOTV found
This second issues appears systematically after the error reported above. So it could be they are correlated.
Nevertheless, in case it’s not, I take the opportunity to report it.
Below you can find an extract of the log of the l2a_1282 job where the issue can be found.
2023.06.22-12:01:22 - INFO - Checking MAJA JPI file /leo4cap/tmp/demmaccs_tmp/tmp_1283/maccs_32ULA/SENTINEL2B_20220201-104658-260_L2A_T32ULA_C_V1-0/DATA/SENTINEL2B_20220201-104658-260_L2A_T32ULA_C_V1-0_JPI_ALL.xml …
2023.06.22-12:01:22 - ERROR - L2NOTV found in the Validity_Flag Processing_Flags_And_Modes element from MAJA JPI file /leo4cap/tmp/demmaccs_tmp/tmp_1283/maccs_32ULA/SENTINEL2B_20220201-104658-260_L2A_T32ULA_C_V1-0/DATA/SENTINEL2B_20220201-104658-260_L2A_T32ULA_C_V1-0_JPI_ALL.xml. The product will be invalidated …
2023.06.22-12:01:22 - ERROR - No valid products (JPI L2NOTV status) found in: /leo4cap/tmp/demmaccs_tmp/tmp_1283/maccs_32ULA.
2023.06.22-12:01:22 - INFO - Erasing the MACCS/MAJA working directory: rmtree: /leo4cap/tmp/demmaccs_tmp/tmp_1283/maccs_32ULA
2023.06.22-12:01:22 - ERROR - MACCS/MAJA did not process any tiles for L1C product /leo4cap/tmp/demmaccs_tmp/archives/tmpIeA9kY/S2B_MSIL1C_20220201T104149_N0400_R008_T32ULA_20220201T113513.SAFE
2023.06.22-12:01:22 - INFO - Remove all the temporary files and directory
2023.06.22-12:01:22 - INFO - Total execution 0:22:08.977361:
• is this issue linked to the symlink issue reported above?
• Otherwise, if there any hint of what the root cause could be?
Thank you very much in advance for your support.