Skip to content

SatSearchError for landsat-8-l1 collection #118

@cloudisnoise

Description

@cloudisnoise

Unable to use sat-search search for landsat-8-l1 collection.

from satsearch import Search
search = Search(bbox=[-110, 39.5, -105, 40.5],
               datetime='2021-04-26/2021-05-05',
               collections=['landsat-8-l1'],
               url = 'https://m2m.cr.usgs.gov/api/api/json/stable/')

print('%s items' % search.found())

This raises the following error.

SatSearchError: {"requestId": 280080498, "version": "stable", "data": null, "errorCode": "NOT_FOUND", "errorMessage": "Invalid Endpoint"}

I am not sure if sat-search is able to reach out to the latest Landsat API. It would be very useful if sat-search can search the landsat dataset. I may have missed the required documentation on how to use sat-search for this, if so, could someone help me with the piece of code to search for the latest landsat product for given bbox and datetime. Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions