_pickle.UnpicklingError: invalid load key, 'v'. if not using Git LFS.
When deserializing a dill file from within a freshly cloned SICOR repo, an UnpicklingError is raised.
_ Test_EnPT_Controller_DLR_testdata_ACWater.test_run_all_processors_without_acwater_installed _
tests/test_controller.py:94: in test_run_all_processors_without_acwater_installed
self.CTR.run_all_processors()
enpt/execution/controller.py:184: in run_all_processors
self.run_atmospheric_correction()
enpt/execution/controller.py:152: in run_atmospheric_correction
self.L1_obj.run_AC()
enpt/model/images/images_sensorgeo.py:864: in run_AC
AC.run_ac(self)
enpt/processors/atmospheric_correction/atmospheric_correction.py:291: in run_ac
self._run_AC__land_mode(enmap_ImageL1)
enpt/processors/atmospheric_correction/atmospheric_correction.py:159: in _run_AC__land_mode
sicor_ac_enmap(enmap_l1b=enmap_ImageL1,
/tmp/sicor/sicor/sicor_enmap.py:87: in sicor_ac_enmap
fo_enmap = Fo(enmap_l1b=enmap_l1b, options=options, logger=logger)
/tmp/sicor/sicor/AC/RtFo_3_phases.py:666: in __init__
conv_fac_fon_lut = dill.load(fl)
/opt/conda/envs/ci_env/lib/python3.11/site-packages/dill/_dill.py:272: in load
return Unpickler(file, ignore=ignore, **kwds).load()
/opt/conda/envs/ci_env/lib/python3.11/site-packages/dill/_dill.py:419: in load
obj = StockUnpickler.load(self)
E _pickle.UnpicklingError: invalid load key, 'v'.
git lfs pull
helps. However, a useful error message should be raised in that case.
Edited by Daniel Scheffler