Hi,
I have been using the Sentinel 3 SLSTR and Sentinel 5P collections for the past months but it has been a couple of weeks I am not able to download the latest data anymore.
My python script (which have always worked for Sentinel 5P until now) is the following
config = SHConfig()
# OAuth client ID associated after secret creation
config.sh_client_id = os.getenv('CLIENT_ID')
# OAuth secret created online
config.sh_client_secret = os.getenv('CLIENT_SECRET')
config.sh_base_url = "https://creodias.sentinel-hub.com"
sh_catalog = SentinelHubCatalog(config=config)
search_iterator = sh_catalog.search(
DataCollection.SENTINEL5P,
bbox=city_bbox,
time=(args.FROM, args.TO),
fields={"include": "id", "properties.datetime", "properties.eo:cloud_cover"], "exclude": ]},
)
unique_timestamps = sh.filter_times(search_iterator.get_timestamps(), time_difference=tile_delta)
but it raises
Traceback (most recent call last):
File "tools/download_sentinel5p.py", line 90, in <module>
unique_timestamps = sh.filter_times(search_iterator.get_timestamps(), time_difference=tile_delta)
File "/nfs/home/blanco/up2030/eo-air-quality/.venv/lib/python3.8/site-packages/sentinelhub/api/catalog.py", line 253, in get_timestamps
return nparse_time(featurer"properties"]""datetime"], force_datetime=True) for feature in self]
File "/nfs/home/blanco/up2030/eo-air-quality/.venv/lib/python3.8/site-packages/sentinelhub/api/catalog.py", line 253, in <listcomp>
return nparse_time(featurer"properties"]""datetime"], force_datetime=True) for feature in self]
File "/nfs/home/blanco/up2030/eo-air-quality/.venv/lib/python3.8/site-packages/sentinelhub/base.py", line 274, in __next__
new_features = self._fetch_features()
File "/nfs/home/blanco/up2030/eo-air-quality/.venv/lib/python3.8/site-packages/sentinelhub/api/catalog.py", line 240, in _fetch_features
results = self.client.get_json_dict(self.url, post_values=payload, use_session=True)
File "/nfs/home/blanco/up2030/eo-air-quality/.venv/lib/python3.8/site-packages/sentinelhub/download/client.py", line 265, in get_json_dict
response = self.get_json(url, *args, **kwargs)
File "/nfs/home/blanco/up2030/eo-air-quality/.venv/lib/python3.8/site-packages/sentinelhub/download/client.py", line 255, in get_json
return self._single_download_decoded(request)
File "/nfs/home/blanco/up2030/eo-air-quality/.venv/lib/python3.8/site-packages/sentinelhub/download/client.py", line 134, in _single_download_decoded
return None if response is None else response.decode()
File "/nfs/home/blanco/up2030/eo-air-quality/.venv/lib/python3.8/site-packages/sentinelhub/download/models.py", line 246, in decode
return decode_data(self.content, data_type=self.response_type)
File "/nfs/home/blanco/up2030/eo-air-quality/.venv/lib/python3.8/site-packages/sentinelhub/decoding.py", line 34, in decode_data
return json.loads(response_text)
File "/nfs/home/blanco/.pyenv/versions/3.8.16/lib/python3.8/json/__init__.py", line 357, in loads
return _default_decoder.decode(s)
File "/nfs/home/blanco/.pyenv/versions/3.8.16/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/nfs/home/blanco/.pyenv/versions/3.8.16/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Is this a temporary issue or something happened to the collections so i need to update my code ? I have checked on EO Browser as well and the collections are not even listed there anymore.
Thanks