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

earthexplorer json search deprecation #9

Open
loicdtx opened this issue Jul 24, 2020 · 5 comments
Open

earthexplorer json search deprecation #9

loicdtx opened this issue Jul 24, 2020 · 5 comments

Comments

@loicdtx
Copy link
Owner

loicdtx commented Jul 24, 2020

Looks like usgs API is about to be deprecated (by December 2020)
See migration guide to switch to v1.5

@spatialtrail
Copy link

Been using espa.order for a few weeks but now getting an error when trying to use it:
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0) at:
https://github.com/loicdtx/lsru/blob/master/lsru/__init__.py#L194

response is status code 301 so guess they have made the switch!

@loicdtx
Copy link
Owner Author

loicdtx commented Nov 25, 2020

Thanks a lot for letting me know @spatialtrail, I'll try to have a look at that in the coming days.

@rbavery
Copy link

rbavery commented Feb 23, 2021

does this mean this package is deprecated? I tried to use the USGS class search method but it fails.

@loicdtx
Copy link
Owner Author

loicdtx commented Feb 23, 2021

For now it's temporarily broken, not deprecated. Thanks for the reminder; I have to think how the package can evolve following the recent USGS changes (API change) and surface reflectance data now directly downloadable from earthexplorer rendering the Espa ordering part obsolete https://www.usgs.gov/news/usgs-releases-most-advanced-landsat-archive-date

@palmoreck
Copy link

A start could be to use an endpoint such as https://m2m.cr.usgs.gov/api/api/json/stable/dataset-search (need credentials) instead of this one https://github.com/loicdtx/lsru/blob/master/lsru/__init__.py#L132

👋🏾

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

4 participants