Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SatSearchError for landsat-8-l1 collection #118

Open
cloudisnoise opened this issue May 5, 2021 · 0 comments
Open

SatSearchError for landsat-8-l1 collection #118

cloudisnoise opened this issue May 5, 2021 · 0 comments

Comments

@cloudisnoise
Copy link

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,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant