Hello,
I’m trying to collect Landsat8/9 over some locations and periods using Python/WCsRequest, but, in many cases, the code failed because of the following error:
…
File ~/.local/lib/python3.9/site-packages/sentinelhub/download/handlers.py:47, in fail_user_errors..new_download_func(self, request)
42 except requests.HTTPError as exception:
43 if (
44 exception.response.status_code < requests.status_codes.codes.INTERNAL_SERVER_ERROR
45 and exception.response.status_code != requests.status_codes.codes.TOO_MANY_REQUESTS
46 ):
—> 47 raise DownloadFailedException(
48 _create_download_failed_message(exception, request.url), request_exception=exception
49 ) from exception
50 raise exception from exception
DownloadFailedException: Failed to download from:
https://services-uswest2.sentinel-hub.com/ogc/wfs/21397277-d832-MASKED?SERVICE=wfs&WARNINGS=False&REQUEST=GetFeature&TYPENAMES=DSS13&BBOX=39.70255693072356%2C-88.26500560307997%2C39.70977267239613%2C-88.25609149308909&OUTPUTFORMAT=application%2Fjson&SRSNAME=EPSG%3A4326&TIME=2018-04-01T00%3A00%3A00Z%2F2018-10-30T23%3A59%3A59Z&MAXCC=80.0&MAXFEATURES=100&FEATURE_OFFSET=0
with HTTPError:
400 Client Error: Bad Request for url: https://services-uswest2.sentinel-hub.com/ogc/wfs/21397277-d832-MASKED?SERVICE=wfs&WARNINGS=False&REQUEST=GetFeature&TYPENAMES=DSS13&BBOX=39.70255693072356%2C-88.26500560307997%2C39.70977267239613%2C-88.25609149308909&OUTPUTFORMAT=application%2Fjson&SRSNAME=EPSG%3A4326&TIME=2018-04-01T00%3A00%3A00Z%2F2018-10-30T23%3A59%3A59Z&MAXCC=80.0&MAXFEATURES=100&FEATURE_OFFSET=0
Server response: “TYPENAME=DSS13 not found!”
Do you have any idea how to fix this?
Thank you