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

Landsat thematic mapper: possible lines of code missing #3

Open
alr94AR opened this issue Sep 19, 2023 · 1 comment
Open

Landsat thematic mapper: possible lines of code missing #3

alr94AR opened this issue Sep 19, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@alr94AR
Copy link

alr94AR commented Sep 19, 2023

Hi,

Firstly, I much appreciate the course, it's very interesting. Thank you :). Secondly, I may have found a small error in code sample for getting Landsat TM pictures.
obraz
The 'tm' variable is not initialized. It is possible (and I think it was the intention) to get it through collection search. However, layer is set over somewhere in Oklahoma instead of San Francisco.
obraz

@GalenReich GalenReich self-assigned this Mar 14, 2024
@GalenReich GalenReich added the bug Something isn't working label Mar 14, 2024
@GalenReich
Copy link

Hey, thanks for spotting this and opening the issue! This cropped up because of how the exernal resources were loaded.

Here are the imports you need to programmatically load the data, I'll be updating the page soon.

var msi = ee.ImageCollection("COPERNICUS/S2"),
    naip = ee.ImageCollection("USDA/NAIP/DOQQ"),
    eo1 = ee.ImageCollection("EO1/HYPERION"),
    tm = ee.ImageCollection("LANDSAT/LT05/C02/T1"),
    mod09 = ee.ImageCollection("MODIS/061/MOD09A1");

You can also see the book from which this content derives here: https://www.eefabook.org/go-to-the-book.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants