Cannot find GIPP for SENTINEL2. Will attempt to download it.
name: General Issue (FA)
about: Use this template for reporting an anomaly.
Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues and build/installation issues on GitHub.
System information
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): HAL
- Maja installed from (source or binary): binary
- Maja version (use command below): 4.6.0
- Maja commit sha (if Maja is installed from source):
- Python version (From binpkg or custom):
- Complementary info (i.e. GCC/Compiler version) : binary from https://gitlab.orfeo-toolbox.org/maja/maja/-/jobs/60212/artifacts/browse/build-pkg/
Describe the current behavior
Startmaja attempts to download GIPP while the directory exist:
2022-06-01 11:58:59,380 [INFO ] =============This is Start_Maja v4.6.0==============
2022-06-01 11:59:05,842 [WARNI] 43PFP
2022-06-01 11:59:17,038 [INFO ] Detecting input products...
2022-06-01 11:59:17,161 [INFO ] 78 L1C product(s) detected for site Inde_patch and tile 43PFP in /work/CESBIO/projects/Maja/L1C/Inde_patch/T43PFP
2022-06-01 11:59:17,161 [WARNI] No L2A products detected for site Inde_patch and tile 43PFP in /work/CESBIO/projects/Maja/L2A_MAJA/Inde_patch/43PFP
2022-06-01 11:59:17,162 [INFO ] Skipping CAMS file detection.
2022-06-01 11:59:17,162 [INFO ] Checking GIPP files
2022-06-01 11:59:17,163 [INFO ] Setting up GIPP folder: /work/CESBIO/users/colinj/runs_460/maja-gipp2
2022-06-01 11:59:17,213 [INFO ] Cannot find GIPP for SENTINEL2. Will attempt to download it.
2022-06-01 11:59:17,213 [INFO ] Searching for DTM
2022-06-01 11:59:17,228 [INFO ] Found DTM: /work/CESBIO/users/colinj/runs/DTM/S2__TEST_AUX_REFDE2_43PFP_1001.HDR
2022-06-01 11:59:17,248 [INFO ] Attempting to download Gipp for SENTINEL2
Traceback (most recent call last):
File "/work/scratch/colinj/tmpdir/MAJA-4.6.0/lib/python/StartMaja/Start_maja.py", line 881, in <module>
s.run()
File "/work/scratch/colinj/tmpdir/MAJA-4.6.0/lib/python/StartMaja/Start_maja.py", line 679, in run
self.gipp.download()
File "/work/scratch/colinj/tmpdir/MAJA-4.6.0/lib/python/StartMaja/Chain/GippFile.py", line 211, in download
"GIPP download failed. Please delete gipp/ folder and try again."
ValueError: GIPP download failed. Please delete gipp/ folder and try again.
If I clone the maja-gipp2 repository prior to launch startmaja again, it still complains, overwrites the content and ends with the same message. If I then make a git diff on the gipp2 directory, all the binaries have changed, eg.:
Binary files a/SENTINEL2/S2A_TEST_GIP_L2ALBD_L_AMMONIUM_00002_20190710_21000101.DBL.DIR/albedo_V51_S2A_Ammonium_RH70_CAMS_bande_492 and b/SENTINEL2/S2A_TEST_GIP_L2ALBD_L_AMM
diff --git a/SENTINEL2/S2A_TEST_GIP_L2ALBD_L_AMMONIUM_00002_20190710_21000101.DBL.DIR/albedo_V51_S2A_Ammonium_RH70_CAMS_bande_492.txt b/SENTINEL2/S2A_TEST_GIP_L2ALBD_L_AMMON
old mode 100755
new mode 100644
Describe the expected behavior
Point to and use the adequate maja-gipp2 with version tag 4.6.0
Urgency/Criticity
- Urgency (Select Low/Medium/High): Medium
- Criticity (Select Low/Medium/High): Medium
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem. Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
A path to a context folder is also accepted. Please note the Context policy
Correction
(Optional) Provide a version number (Major.Minor.Patch, e.g. 3.2.1) when the correction shall be introduced.