Greetings,
I am trying to use the Sentinel5P satellite catalog. To achieve that I followed the example here https://sentinelhub-py.readthedocs.io/en/latest/examples/data_search.html. I got no problems creating the creodias configuration or the SentinelHubCatalog.
Now I want to search for available data using this short code:
def search_creodias(bbox, time_interval, satellite=DataCollection.SENTINEL5P):
config.sh_base_url = 'https://creodias.sentinel-hub.com'
catalog = SentinelHubCatalog(config=config)
search_iterator = catalog.search(
collection=satellite
time=time_interval,
bbox=bbox
)
return search_iterator
And running it I get: <sentinelhub.sentinelhub_catalog.CatalogSearchIterator at...>
.
To this point everything works fine, but when I now try to acces the data via list(search_iterator)
or any other kind of iteration I get the error message: MissingTokenError: (missing_token) Missing access token parameter.
.
For info: using the standard catalog search e.g. Sentinel_L1C works and the only difference is config.sh_base_url = 'https://creodias.sentinel-hub.com'
in the configuration. Looking for example for the L1C data yields the same pattern (works with standard search url but not creodias).
Someone got any idea why that’s the case and how to fix it?
best regars.