iCOR sometimes fails

Hello
We are experiencing some failures processing sentinel 2 and landsat 8 data using iCOR. These failures do not always happen and sometimes after several attemps the processing succed.

Please see the iCOR call and the correspondind failure output for a Sentinel 2 and landsat 0 examples:

/usr/bin/python /opt/vito/icor/src/icor.py --keep_intermediate true --cloud_average_threshold 0.19 --cloud_low_band B01 --cloud_low_threshold 0.25 --cirrus true --aot true --aot_window_size 500 --simec false --watervapor true --bg_window 1 --cirrus_threshold 0.01 --aot_override 0.1 --ozone_override 0.33 --wv_override 2.0 --water_band B08 --water_threshold 0.05 --data_type S2 --output_file /home/images/sentinel2/procesamiento/canarias/20180312_S2B/S2B_20180312_T28RDS.tif /home/images/sentinel2/procesamiento/canarias/20180312_S2B/S2B_MSIL1C_20180312T115209_N0206_R123_T28RDS_20180312T151010.SAFE/MTD_MSIL1C.xml

Failed!
Process output:
±--------------------------------------------------------------------
| :: load config file /tmp/atcconfkHZVuR.conf
| :: open image : /tmp/icor_91D7kY_proc/S2B_OPER_MSI_L1C_TL_SGS__20180312T151010_A005297_T28RDS_N02_06/S2B_OPER_MSI_L1C_TL_SGS__20180312T151010_A005297_T28RDS_N02_06_AOT_60M.tif
|
|
| 0% 10 20 30 40 50 60 70 80 90 100%
| |----|----|----|----|----|----|----|----|----|----|
| ***************************************************
|
| :: image does not contain valid values
±--------------------------------------------------------------------
Exception in thread Thread-1:
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 801, in __bootstrap_inner
self.run()
File “/usr/lib/python2.7/threading.py”, line 754, in run
self.__target(*self.__args, **self.__kwargs)
File “/opt/vito/icor/src/icor/sentinel2.py”, line 568, in sentinel2_granule
“valid.input=” + aot_location_60M + “\n”
File “/opt/vito/icor/src/icor/context.py”, line 500, in invoke_ac_runner_check
raise Exception(“process failed” + cmd)

/usr/bin/python /opt/vito/icor/src/icor.py --keep_intermediate true --cloud_average_threshold 0.19 --cloud_low_band B01 --cloud_low_threshold 0.25 --cirrus true --aot true --aot_window_size 500 --simec false --watervapor true --bg_window 1 --cirrus_threshold 0.01 --aot_override 0.1 --ozone_override 0.33 --wv_override 2.0 --water_band B05 --water_threshold 0.05 --data_type L8 --output_file /home/images/landsat/procesamiento/canarias/20190322_L8/L8_20190322_207041_icor_pre.tif /home/images/landsat/procesamiento/canarias/20190322_L8/LC08_L1TP_207041_20190322_20190403_01_T1_MTL.txt

Failed!
Process output:
±--------------------------------------------------------------------
| :: load config file /tmp/atcconflidOYd.conf
| :: open image : /tmp/icor_MPIMm8_proc/LC82070412019081LGN00/LC82070412019081LGN00_ACRUNNER_AOT.tif
|
|
| 0% 10 20 30 40 50 60 70 80 90 100%
| |----|----|----|----|----|----|----|----|----|----|
| ***************************************************
|
| :: image does not contain valid values
±--------------------------------------------------------------------
Traceback (most recent call last):
File “/opt/vito/icor/src/icor.py”, line 39, in process_product
icor.landsat8.process_tgz(context, product,working_folder)
File “/opt/vito/icor/src/icor/landsat8.py”, line 286, in process_tgz
“valid.input=” + aot_string + “\n”
File “/opt/vito/icor/src/icor/context.py”, line 500, in invoke_ac_runner_check
raise Exception(“process failed” + cmd)
Exception: process failedac_runner /tmp/atcconflidOYd.conf

Best regards
Josep

My suggestion is, continue in the same topic you have created before , and you already got solution,

Source of the post

Hello

The previous post was already solved. This is a new issue

Regards
Josep

Yes, I know, what I mentioned is, continue under same topic, to have entire problems and solutions of icor, for other users.