"No workplans were created!"
--- name: General Issue (FA) --- **System information** - OS Platform and Distribution: HAL, noeuds 2022 - Maja installed from (source or binary): Binary - Maja version (use command below): 4.7.1 - Python version (From binpkg or custom): - Complementary info (i.e. GCC/Compiler version) **Describe the current behavior** When MAJA finds no product to process because all L2A products already exist, it Throws an error, while an exit with a clear message would have been welcome, explaining that all the L2A exist and there is nothing to do : ``` Traceback (most recent call last): File "/work/CESBIO/projects/Maja/MAJA-4.7.1/lib/python/StartMaja/Start_maja.py", line 1030, in <module> s.run() File "/work/CESBIO/projects/Maja/MAJA-4.7.1/lib/python/StartMaja/Start_maja.py", line 831, in run workplans = self.create_workplans(self.max_product_difference) File "/work/CESBIO/projects/Maja/MAJA-4.7.1/lib/python/StartMaja/Start_maja.py", line 741, in create_workplans raise ValueError("No workplans were created!") ValueError: No workplans were created! ``` Moreover, the directory where the L2A products had been moved ! in folders.txt : I had repL2 = /work/CESBIO/projects/Maja/L2A_MAJA_120 I had moved the products in a subdirectory to save them : /work/CESBIO/projects/Maja/L2A_MAJA_120/L2A_MAJA_120_Shadvar30, but MAJA still found them. **Describe the expected behavior** MAJA should not try to find data outside the specified directory in the file folders.txt, and it should provide a clearer message, explaining why "no workplans were created". **Urgency/Criticity** - Urgency Low - Criticity Low **Code to reproduce the issue** Run MAJA with a few L1C products (8 if backward parameter is 8). Move the result in a subdirectory, and MAJA will find it and issue the message above. **Correction** (Optional) Provide a version number (Major.Minor.Patch, e.g. 3.2.1) when the correction shall be introduced.
issue