Error when saving the results.
The analysis of the FRTB252_S remote sending date returns a warning
2024-01-31 13:36:36,194 :: WARNING :: /home/kernelo/app/kernelo_app/general_functions/all_functions.py:324: RuntimeWarning: divide by zero encountered in double_scalars return np.linalg.norm(observation - reconstruction) / np.linalg.norm(observation)
and then an error 2024-01-31 13:36:36,201 :: ERROR :: Task kernelo_app.tasks.execute_simulation[4d8ae3e8-d29d-4090-81f1-f35737c9f3b3] raised unexpected: KeyError('') Traceback (most recent call last): File "/home/kernelo/.local/lib/python3.8/site-packages/celery/app/trace.py", line 412, in trace_task R = retval = fun(*args, **kwargs) File "/home/kernelo/.local/lib/python3.8/site-packages/celery/app/trace.py", line 704, in protected_call return self.run(*args, **kwargs) File "/home/kernelo/app/kernelo_app/tasks.py", line 29, in execute_simulation RemoteSensingSimulationExecutor(interm_result_manager).execute_simulation(task_model) File "/home/kernelo/app/kernelo_app/execution/simulation_executor.py", line 156, in execute_simulation results = write_results(predictions, is_results, observations, self._physical_model, self._predictor) File "/home/kernelo/app/kernelo_app/general_functions/all_functions.py", line 467, in write_results results['x_best']['ESTIM_X'][sample,wavelength,:] = results[prediction_type]['ESTIM_X'][sample,wavelength,:] KeyError: '' It is not obvious to tell if the warning and the error are related. The data can be found at this link : https://filesender.renater.fr/?s=download&token=a393354c-b9f9-46ac-ae27-1a73b16e4215