2023/05/22 11:47:47: Starting atmospheric correction for VNIR and SWIR detector in 'combined' mode. Source radiometric unit code is 'TOARad'.
2023/05/22 11:47:47: The atmospheric correction mode was set to 'combined' but Polymer cannot be imported (Error was: No module named 'polymer'). As a fallback, SICOR is applied to water surfaces instead.
2023/05/22 11:47:47: Running atmospheric correction in 'land' mode, i.e., SICOR is applied to ALL surfaces. Uncertainty is expected for water surfaces because SICOR is designed for land only.
2023/05/22 11:47:47: Setting up forward operator...
2023/05/22 11:47:48: SICOR is applied to land AND water pixels.
2023/05/22 11:47:48: Transforming VNIR data to SWIR sensor geometry to enable first guess retrievals for liquid water and ice...
2023/05/22 11:47:50: Getting observation metadata...
2023/05/22 11:47:50: Checking if observation metadata values are within LUT value ranges...
2023/05/22 11:47:50: Loading solar irradiance model...
2023/05/22 11:47:50: Loading RT LUT...
2023/05/22 11:47:50: LUT file was not found locally. Try to download it from Git repository...
2023/05/22 11:47:53: LUT file was properly downloaded and is available for AC!
2023/05/22 11:47:53: Converting LUT to Fontenla solar model...
2023/05/22 11:47:53: Resampling LUT to EnMAP wavelengths...
2023/05/22 11:48:16: Reducing grid dimensionality of LUT to increase interpolation speed...
2023/05/22 11:48:16: Calculating absorption coefficients of liquid water and ice...
2023/05/22 11:48:16: Transforming CWV first guess map to SWIR sensor geometry to enable segmentation and 3 phases of water retrieval...
2023/05/22 11:48:17: Calculating first guess for intercept and slope of absorption feature continuum...
2023/05/22 11:48:17: Segmenting SWIR L1B spectra to enhance processing speed...
Traceback (most recent call last):
File "/home/gfz-fe/mambaforge/envs/enpt_py311/bin/enpt", line 10, in <module>
sys.exit(main())
^^^^^^
File "/home/gfz-fe/mambaforge/envs/enpt_py311/lib/python3.11/site-packages/enpt/cli.py", line 227, in main
parsed_args.func(get_config(parsed_args))
File "/home/gfz-fe/mambaforge/envs/enpt_py311/lib/python3.11/site-packages/enpt/cli.py", line 195, in run_job
CTR.run_all_processors()
File "/home/gfz-fe/mambaforge/envs/enpt_py311/lib/python3.11/site-packages/enpt/execution/controller.py", line 184, in run_all_processors
self.run_atmospheric_correction()
File "/home/gfz-fe/mambaforge/envs/enpt_py311/lib/python3.11/site-packages/enpt/execution/controller.py", line 152, in run_atmospheric_correction
self.L1_obj.run_AC()
File "/home/gfz-fe/mambaforge/envs/enpt_py311/lib/python3.11/site-packages/enpt/model/images/images_sensorgeo.py", line 864, in run_AC
AC.run_ac(self)
File "/home/gfz-fe/mambaforge/envs/enpt_py311/lib/python3.11/site-packages/enpt/processors/atmospheric_correction/atmospheric_correction.py", line 291, in run_ac
self._run_AC__land_mode(enmap_ImageL1)
File "/home/gfz-fe/mambaforge/envs/enpt_py311/lib/python3.11/site-packages/enpt/processors/atmospheric_correction/atmospheric_correction.py", line 159, in _run_AC__land_mode
sicor_ac_enmap(enmap_l1b=enmap_ImageL1,
File "/home/gfz-fe/mambaforge/envs/enpt_py311/lib/python3.11/site-packages/sicor/sicor_enmap.py", line 87, in sicor_ac_enmap
fo_enmap = Fo(enmap_l1b=enmap_l1b, options=options, logger=logger)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gfz-fe/mambaforge/envs/enpt_py311/lib/python3.11/site-packages/sicor/AC/RtFo_3_phases.py", line 830, in __init__
self.X, self.segs, self.labels = SLIC_segmentation(data_rad_all=self.data_swir, n_pca=self.n_pca,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gfz-fe/mambaforge/envs/enpt_py311/lib/python3.11/site-packages/sicor/Tools/EnMAP/segmentation.py", line 65, in SLIC_segmentation
labels = slic(image=X_pca,
^^^^^^^^^^^^^^^^^
File "/home/gfz-fe/mambaforge/envs/enpt_py311/lib/python3.11/site-packages/skimage/_shared/utils.py", line 326, in fixed_func
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
TypeError: slic() got an unexpected keyword argument 'max_iter'