Hi,
I am trying to download the Pleiades data using the WmsRequest() function from sentinelhub Python library.
I followed the instructions at point 17 of the documentation: Custom (BYOC) data adapting it to use my Pleiades collection:
collection_id = <'my_id'>
layer = '2_TRUE-COLOR-PANSHARPENED'
config = SHConfig()
config.instance_id = collection_id
byoc_request = WmsRequest(
data_source=DataSource(collection_id),
layer=layer,
bbox=rome_coords_wgs84,
width=512,
config=config
)
but I got the following error:
DownloadFailedException: Failed to download from:
https://services.sentinel-hub.com/ogc/wfs/<my_id>?SERVICE=wfs&WARNINGS=False&REQUEST=GetFeature&TYPENAMES=DSS10-<my_id>&BBOX=11.573303%2C40.897678%2C13.573303%2C42.897678&OUTPUTFORMAT=application%2Fjson&SRSNAME=EPSG%3A4326&TIME=1985-01-01T00%3A00%3A00%2F2020-05-19T23%3A59%3A59&MAXCC=100.0&MAXFEATURES=1&FEATURE_OFFSET=0
with HTTPError:
400 Client Error: Bad Request for url: https://services.sentinel-hub.com/ogc/wfs/<my_id>?SERVICE=wfs&WARNINGS=False&REQUEST=GetFeature&TYPENAMES=DSS10-<my_id>&BBOX=11.573303%2C40.897678%2C13.573303%2C42.897678&OUTPUTFORMAT=application%2Fjson&SRSNAME=EPSG%3A4326&TIME=1985-01-01T00%3A00%3A00%2F2020-05-19T23%3A59%3A59&MAXCC=100.0&MAXFEATURES=1&FEATURE_OFFSET=0
Server response: "TYPENAME=DSS10-<my_id> not found!"
Clearly <my_id>
is a placeholder for the Collection id that I have copyed from the dashboard.
Can somebody give me a hint on how to solve the problem?
Thank you.