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

Modify .getSat to use new Landsat PI #18

Open
midraed opened this issue Apr 19, 2016 · 2 comments
Open

Modify .getSat to use new Landsat PI #18

midraed opened this issue Apr 19, 2016 · 2 comments

Comments

@midraed
Copy link
Owner

midraed commented Apr 19, 2016

This:

New Landsat Product Identifiers

T​o better identify in which collection a scene is contained, a new Landsat Product ID will be created for Landsat data products. ​The current Scene ID will remain in the visible metadata on EarthExplorer (EE), and in the metadata file (MTL.txt) as a cross-reference for easier metadata searching.​

The proposed Product ID:

LXSS_LLL_PPPRRR_YYYYMMDD_yyyymmdd_CC_TX

L = Landsat (constant)
X = Sensor (“C” = OLI/TIRS Combined, “O”= OLI-only, “T” = TIRS-only, “E” = ETM+, “T” = TM, “M”= MSS)
SS = Satellite (“07” = Landsat 7, “08” = Landsat 8)
LLL = Processing Correction level (“L1T” = precision and terrain, “L1G” = systematic terrain,
“L1S” = systematic)
PPP = WRS path
RRR = WRS row
YYYYMMDD = Acquisition Year (YYYY) / Month (MM) / Day (DD)
yyyymmdd = Processing Year (yyyy) / Month (mm) / Day (dd)
CC = Collection number (“01”,”02”)
TX = Collection Category (”RT” = real-time, “T1” = Tier 1 , or “T2” = Tier 2)

@midraed
Copy link
Owner Author

midraed commented Apr 19, 2016

second char could be T for TIRS ONLY or T for TM...! ... -_-

@rokoeh
Copy link

rokoeh commented May 28, 2020

Hello

If I rename the Landsat band file names to align to what the package is expecting as provided in the error below the function should work again? I was thinking of changing the date too. The date should cause troubles? I guess not because the information of the acquisition date is in the MTL file?

image.DN <-loadImage(path=ImagePath,sat="auto")
[1] "ERROR: I expected something like landsat.band = LC82320832013319LGN00_BX.TIF in C/:.../imagens/landsat/LC08_L1TP_222079_20170901_20170915_01_T1_tar_gz/"

So original file name is LC08_L1TP_222079_20170901_20170915_01_T1_B3 and the new version will be LC82320832013319LGN00_B3

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