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

MTL issue #9

Open
4estone opened this issue Jun 20, 2021 · 1 comment
Open

MTL issue #9

4estone opened this issue Jun 20, 2021 · 1 comment

Comments

@4estone
Copy link

4estone commented Jun 20, 2021

Hello Nicos,

Im trying to run your grass add-on and I get an error dealing with MTL file informations. I get a message:
AttributeError: 'metadata' object has no attribute
'LANDSAT_SCENE_ID
And when I look at MTL file it doesnt contains any LANDSAT_SCENE_ID item.
Landsat product i'm working on is https://doi.org/10.5066/P975CC9B
It seems id looks like LANDSAT_PRODUCT_ID in this product...
Is there any way to make your add-on working with this product?

Thanks

@NikosAlexandris
Copy link
Owner

Hello Nicos,

Im trying to run your grass add-on and I get an error dealing with MTL file informations. I get a message:
AttributeError: 'metadata' object has no attribute
'LANDSAT_SCENE_ID
And when I look at MTL file it doesnt contains any LANDSAT_SCENE_ID item.
Landsat product i'm working on is https://doi.org/10.5066/P975CC9B
It seems id looks like LANDSAT_PRODUCT_ID in this product...
Is there any way to make your add-on working with this product?

Thanks

Hello there. It's probably the new structure of metadata files. I'll have to check this in-detail. I had to deal with Collection 2 Level 2 scenes recently, and I quickly updated my version of i.landsat.import (have some difficulties to push in github) to deal with C2L2 data. It should do also L1. But, the code is messy and I have to review it.

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