path <- system.file("extdata", package = "satellite")
files <- list.files(path, pattern = glob2rx("LC08*.TIF"), full.names = TRUE)
compFilePathLandsat(files)
sortFilesLandsat(files)
sortFilesLandsat(files, id = TRUE) # indices
Run the code above in your browser using DataLab