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

Download Landsat - 4/5/7 #85

Open
alkimj opened this issue Dec 12, 2024 · 1 comment
Open

Download Landsat - 4/5/7 #85

alkimj opened this issue Dec 12, 2024 · 1 comment

Comments

@alkimj
Copy link

alkimj commented Dec 12, 2024

Hi to all,
when I try to download Landsat 4/5/7 the images are always blank with NaN. I have to download monthly Landsat from 1985 to 2024.
How can I do this ?

Thank you in advance!

@h-a-graham
Copy link
Contributor

I think this issue is a duplicate of #64.

Essentially, what is required is to filter the collection by the platrform and apply the correct bit mask.

As the original intention of rsi was to support contemporary monitoring activities, support for older Landsat sensors was not added. This is definitely a feature which we should consider adding.

I'm not in a position to provide a comprehensive work around right now but you should be able to develop a suitable filter for the landsat platform(s) using an approach similar to that for cloud cover here: #64

For creating the bitmask see an example in this gist here (for HLS data):
https://gist.github.com/h-a-graham/35b6ee6b5fd4fac75eb87629265fb8ee#file-hls-functions-r-L38

You will need to find out the correct bits to mask out for your platform and needs.

If you do make progress on this issue, please share back here and we might be able to integrate this functionality as high-level functions more easily.

Cheers!

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