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

Colection 2 returning colection 1 images #122

Open
Digdgeo opened this issue Aug 25, 2024 · 6 comments
Open

Colection 2 returning colection 1 images #122

Digdgeo opened this issue Aug 25, 2024 · 6 comments

Comments

@Digdgeo
Copy link

Digdgeo commented Aug 25, 2024

Hi there!

I am trying to download the 'landsat_ot_c2_l2' images but I am getting as result colection 1 images (I am looking and already have downloaded a lot of "L2SP" scenes, but in the last hours I am only getting "L1TP" scenes). Even when I look for the ones L2SP that I had already downloaded.

@Digdgeo
Copy link
Author

Digdgeo commented Aug 25, 2024

Sorry, I forgot to say that this happens when I try to run the api from python code. The weird thing is that when I run excatly the same sentence from the terminal I get the correct collection 2 "L2SP" products that I was expecting to get. But yet from the python code I am getting the "L1TP" products.

@Digdgeo
Copy link
Author

Digdgeo commented Aug 26, 2024

This was quick. The problem was that I was looking for the key 'landsat_product_id' instead of 'display_id'. This can be very confsing because in the collection 2 scenes level 2 the 'landsat_product_id' is wrong and point to the 'L1TP' products. So, I was looking in the 'landsat_ot_c2_l2' but I was downloading the Level 1 products. Easy to solve changing to display_id but it very confusing because once you downloaded the correct "L2SP" scene in the MTL.txt the landsat_product_id is the correct. So, I am not sure where can you be obtaining these Ladsat_product_id.

However, thanks a lot for this super util library! :)

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

2 participants
@Digdgeo and others