Thank you for your answer. It solved the first error but got me a new one, apparently S5p_L2.TILE is an invalid typename (FYI : The instance ID points to the the standard S5p configuration):
DownloadFailedException: During execution of task SentinelHubWCSInput: Failed to download from:
https://services.sentinel-hub.com/ogc/wfs/myid?SERVICE=wfs&WARNINGS=False&REQUEST=GetFeature&TYPENAMES=S5p_L2.TILE&BBOX=44.2%2C-1.8%2C45.9%2C1.7&OUTPUTFORMAT=application%2Fjson&SRSNAME=EPSG%3A4326&TIME=2019-03-01T00%3A00%3A00%2F2019-03-01T23%3A59%3A59&MAXCC=100.0&MAXFEATURES=100&FEATURE_OFFSET=0
with HTTPError:
400 Client Error: Bad Request for url: https://services.sentinel-hub.com/ogc/wfs/myid?SERVICE=wfs&WARNINGS=False&REQUEST=GetFeature&TYPENAMES=S5p_L2.TILE&BBOX=44.2%2C-1.8%2C45.9%2C1.7&OUTPUTFORMAT=application%2Fjson&SRSNAME=EPSG%3A4326&TIME=2019-03-01T00%3A00%3A00%2F2019-03-01T23%3A59%3A59&MAXCC=100.0&MAXFEATURES=100&FEATURE_OFFSET=0
Server response: "TYPENAME=S5p_L2.TILE is invalid!"
I got a similar problem when I tried to use Sentinel5P with SentinelHub. If you are using an ID that access EOCLOUD, the DataSource used for S5P is in fact S5p_L2.TILE, but in case you are using CREODIAS or any other, the DataSource is DSS7.
To solve it, I edited the ‘constants.py’ file of SentinelHub, renaming the available DataSource variable for Sentinel5P, like this:
Pre-fix:
constants.py, line 229 -> cls.SENTINEL5P: ‘S5p_L2.TILE’ ,
Post-fix:
constants.py, line 229 ->cls.SENTINEL5P: ‘S5p_L2.TILE’ if is_eocloud else ‘DSS7’,
This is the solution to deal with both services. Data on creodias has been added since we released that version of sentinelhub-py. We will try to support this and harmonise S5P data as soon as possible.
Don’t forget to change the sh_base_url in SHConfig() when using creodias to "https://creodias.sentinel-hub.com", and to use corresponding instance ID and layers.
For CreoDIAS service you do not need any additional credentials. You can simply change the end-point.
EO Cloud is our deprecated system, which is not needed in the case of this dataset.