names | R Documentation |
Get/set Satellite data layer names, i.e. the BCDE id.
## S4 method for signature 'Satellite'
names(x)
## S4 replacement method for signature 'Satellite'
names(x) <- value
x |
A Satellite object. |
value |
Band codes of the individual data layers. |
Satellite data layer names as character vector.
path <- system.file("extdata", package = "satellite")
files <- list.files(path, pattern = glob2rx("LC08*.TIF"), full.names = TRUE)
sat <- satellite(files)
names(sat)
new_names <- paste0(names(sat), "_test")
names(sat) <- new_names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.