View source: R/compFilePathLandsat.R
compFilePathLandsat | R Documentation |
The function compiles the sensor, band, filename and metadata filename information for standard level 1B/T Landsat files.
compFilePathLandsat(files)
sortFilesLandsat(files, id = FALSE)
files |
Path and filename(s) of one or more Landsat band files or, alternatively, one or more Landsat metadata files. |
id |
|
data.frame
containing filepaths, band numbers and metadata
filepaths.
If id = FALSE
(default), sorted band files as
character
, else the corresponding sorting order as integer
.
sortFilesLandsat()
: Sort Landsat band files in ascending order.
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.