Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

names

Get/set Satellite data layer names


Description

Get/set Satellite data layer names, i.e. the BCDE id.

Usage

## S4 method for signature 'Satellite'
names(x)

## S4 replacement method for signature 'Satellite'
names(x) <- value

Arguments

x

A Satellite object.

value

Band codes of the individual data layers.

Value

Satellite data layer names as character vector.

Examples

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

satellite

Handling and Manipulating Remote Sensing Data

v1.0.2
MIT + file LICENSE
Authors
Thomas Nauss, Hanna Meyer, Tim Appelhans, Florian Detsch
Initial release
2019-12-06

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.