I am trying to access with my python scripts data from Sentinel5P (in particular, NO2 products).
I am using the same syntax as in the tutorials, with Sentinel2, that is:
three_band_req = WmsRequest(layer=“NO2”,
But i keep obtaining a 400 client error, with the typename error: “TYPENAME=S2.TILE not found!”
This rises a couple of questions. Does that S2.TILE refer to Sentinel2? If that is the case, how can I refer in my data to Sentinel5P products? The INSTANCE_ID corresponds to one with a configuration of Sentinel5P, but I wonder if maybe I have to edit some other parameter of the function ‘wmsRequest’ to explicitly refer to S5P.
In case S2.TILE does not refer to Sentinel2 products, how can I solve this issue?
Thanks for the quick answer. I managed, tweaking the code, the constants file and the config.json file, to use WMS to request DSS7 data, but it tells me that the DataSource of Sentinel5P is not available nor in the services.sentinel-hub.com url, nor in the creodias.sentinel-hub.com one, as follows:
‘ValueError: DataSource.SENTINEL5P is not available for service at service available at https://creodias.sentinel-hub.com/ogc. Trychanging ‘sh_base_url’ parameter in package configuration file’
What value should I give sh_base_url? I also tried with EOCLOUD url, but my INSTANCE_ID, as expected, does not work on that one.
The trick is, if I copy manually the URL into my browser as it is (the request URL, redacting all the parameters: INSTANCE_ID, TYPENAME, etc), it gives me back correct XML responses, but I cannot manage to automatically do it from the code. (other issue is I don’t know how to ‘translate’ those XML lines into automatic downloading files, but I think that is just me not having experience yet with that). I manually copi the ‘path’ value given in each block, the one accessing cloudferro, but it always give me a timeout error.
I’ve just tried downloading Sentinel5P data from eocloud (I think 5P is not available on creodias) with a WMS request and it worked for me. I made an instance of sentinelhub.SHConfig and set the credentials like so:
Thank you for your answer. The issue that I have is that I do not have an INSTANCE_ID related with EOCLOUD, so I cannot access it. Should I request one from sinergise, if they are available?