Landsat collections not found in search

  • 26 April 2024
  • 1 reply
  • 11 views

Hello,

I’m getting {“code”:404,“description”:“Collection not found.”} returned when using the search api for landsat-tm-l1, directly hitting the rest endpoint or using the python module, e.g.

  curl -X GET -G https://services.sentinel-hub.com/api/v1/catalog/1.0.0/search \
  --header 'Authorization: Bearer xxx' \
  --data 'bbox=13,45,14,46' \
  --data 'limit=5' \
  --data 'collections=landsat-tm-l1' \
  --data 'datetime=1990-12-10T00:00:00Z/2019-12-11T00:00:00Z'
    catalog.search(
        DataCollection.LANDSAT_TM_L1,
        bbox=bbox,
        time=(start, end),
        fields={"include": ["id", "properties.datetime", "properties.eo:cloud_cover"], "exclude": []}
    )

Looks like none of these are working:

DataCollection.LANDSAT_MSS_L1
DataCollection.LANDSAT_TM_L1
DataCollection.LANDSAT_TM_L2
DataCollection.LANDSAT_ETM_L1
DataCollection.LANDSAT_ETM_L2
DataCollection.LANDSAT_OT_L1
DataCollection.LANDSAT_OT_L2

1 reply

Hi,
for Landsat collections you should use our us-west-2 end-point, see:

docs.sentinel-hub.com

57b10d77cdf19cda03dbe73c52e6d5854ef7620d.png

Landsat 8-9 Level 1

Use Sentinel Hub Processing API to access Landsat 8-9 Level 1 data with 8 optical, 2 thermal, and a 15 m resolution panchromatic band.

 

Do replace

https://services.sentinel-hub.com

with

https://services-uswest2.sentinel-hub.com

and it should work.

Reply


Planet Monitoring
Investors

© 2024 Planet Labs PBC. All rights reserved.
| Privacy Policy | California Privacy Notice | California Do Not Sell
Your Privacy Choices | Cookie Notice | Terms of Use