Closed fwfichtner closed 3 years ago
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 https://github.com/dlr-eoc/ukis-pysat/issues/104#issuecomment-802913849 seem logical to me.
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.
with sat-api we can get the STAC collections but cannot search the STAC items.
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).
So, after some more checks , Endpoint(https://landsatlook.usgs.gov/sat-api/stac/) can be used for accessing STAC items from the sat-api.
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
Hi Surendra. Many thanks for looking into this. Could you just provide me access to the referenced notebook for cross-checking?
My first guess would be that this relates to an authentication problem.
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.