I am again experiencing the error I reported here:
I am running large numbers of WCS requests through the EO-learn library. I request LAI time series data for areas of 0.1-10 hectare land parcels for ca. 6 month time intervals.
Occasionally (ca. 1% of the time), the EO learn workflow.execute() call will fail because of a HTTP error:
“DownloadFailedException: During execution of task S2L2AWCSInput: Failed to download from:
https://services.sentinel-hub.com/ogc/wcs/?SERVICE=wcs&BBOX=660977.0343447%2C5689713.093569177%2C661295.2431077849%2C56900…
The only difference, I get the error code 400 not 500. The code I use is the same as in the above linked topic.
The following request (generated by the sentinel-hub library) fails:
During execution of task S2L2AWCSInput: Failed to download from:
https://services.sentinel-hub.com/ogc/wcs/<instance_id>?SERVICE=wcs&BBOX=646525.6022025917%2C5689924.88277053%2C646707.4823878885%2C5690142.361125947&FORMAT=image%2Ftiff%3Bdepth%3D32f&CRS=EPSG%3A32631&RESX=10m&RESY=10m&COVERAGE=LAI&REQUEST=GetCoverage&VERSION=1.1.2&TIME=2019-02-20T10%3A51%3A36%2F2019-02-20T11%3A01%3A36&MAXCC=90.0&ShowLogo=False&Transparent=True
with HTTPError:
400 Client Error: Bad Request for url:
As in the linked topic, changing the maxcc parameter to 100 solves the problem.
I’d appreciate if you could investigate.
Cheers
Sam