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

Replace EarthExplorer with SAT API #106

Closed
fwfichtner opened this issue Jan 21, 2021 · 9 comments · Fixed by #144
Closed

Replace EarthExplorer with SAT API #106

fwfichtner opened this issue Jan 21, 2021 · 9 comments · Fixed by #144
Assignees

Comments

@fwfichtner
Copy link
Contributor

Replace EarthExplorer with SAT API (https://landsatlook.usgs.gov/sat-api). First we need to check whether we can really find and get the same products there, this is not entirely clear to me on first sight.

This goes hand in hand with #103 and #104.

@fwfichtner
Copy link
Contributor Author

In #120 we are changing to Machine-to-Machine (M2M) API. We still need to go through the Landsat Data Access Site to have a clear view on what is best for us to use here. At the beginning the change in #120 and #104 (comment) seem logical to me.

@fwfichtner
Copy link
Contributor Author

Also pylandsat is quite a heavy library and we only use it for its string formatting. If SAT API is not our way forward we could consider reproducing this part only.

@shiwakotisurendra
Copy link
Contributor

shiwakotisurendra commented May 3, 2021

with sat-api we can get the STAC collections but cannot search the STAC items.

@fwfichtner
Copy link
Contributor Author

Like discussed, let's stick with M2M then for now and try to remove the dependency to pylandsat (which we only use to create the GCS keys).

@shiwakotisurendra
Copy link
Contributor

shiwakotisurendra commented May 3, 2021

So, after some more checks , Endpoint(https://landsatlook.usgs.gov/sat-api/stac/) can be used for accessing STAC items from the sat-api.

@shiwakotisurendra
Copy link
Contributor

shiwakotisurendra commented May 25, 2021

we can access the collections and items of landsat image from this_endpoint , but i am getting error while trying to view using rasterio.

RasterioIOError: '/vsicurl/https://landsatlook.usgs.gov/data/collection02/level-1/standard/etm/2021/148/046/LE07_L1TP_148046_20210525_20210525_02_RT/LE07_L1TP_148046_20210525_20210525_02_RT_B2.TIF' not recognized as a supported file format.

Any suggestions here ? @MWieland @fwfichtner

@shiwakotisurendra
Copy link
Contributor

shiwakotisurendra commented May 25, 2021

I found something odd while querying items from sat-api . Please check this notebook. @MWieland @fwfichtner

@MWieland
Copy link
Collaborator

Hi Surendra. Many thanks for looking into this. Could you just provide me access to the referenced notebook for cross-checking?

@MWieland
Copy link
Collaborator

My first guess would be that this relates to an authentication problem.

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

Successfully merging a pull request may close this issue.

3 participants