I noticed that when I’m using the SentinelHubInputTask() to request SENTINEL2_L2A and also include the Cloud probability, based on Sen2Cor processor [‘CLD’] as an additional parameter random tasks start falling with the code “500 224”. When the additional parameter [‘CLD’] is removed and all the other code is left unchanged no more errors occur.
Errorlog:
urllib3.connectionpool DEBUG Starting new HTTPS connection (1): services.sentinel-hub.com:443
urllib3.connectionpool DEBUG https://services.sentinel-hub.com:443 "POST /api/v1/process HTTP/1.1" 500 224
root DEBUG EOWorkflow execution failed
Code:
maxcc = 0.8
resolution = 10
time_difference = datetime.timedelta(hours=2)
bands_l2a = ['B01','B02','B03','B04','B05','B06','B07','B08','B8A','B09','B11','B12']
download_l2a = SentinelHubInputTask(
data_source=DataSource.SENTINEL2_L2A,
bands=bands_l2a,
bands_feature=(FeatureType.DATA, 'L2A_data'),
additional_data=[
(FeatureType.MASK, 'SCL'),
(FeatureType.MASK, 'CLD'),
(FeatureType.MASK, 'dataMask', 'IS_DATA')
(FeatureType.MASK, 'CLM'),
(FeatureType.MASK, 'CLP')
],
resolution=resolution,
maxcc=maxcc,
time_difference=time_difference,
config=my_config,
max_threads=6
)
Execution Arguments of failed task:
{'bbox': BBox(((644773.3392848094, 5800235.863795398), (645423.3392848094, 5800885.863795398)), crs=CRS('32632')),
'time_interval': ['2017-08-01', '2020-08-01']}
Thanks in advance.