powered by
Returns all names of the multi-band raster that make up the object.
get_band_names(sr, res)# S3 method for satres get_band_names(sr, res = NULL)
# S3 method for satres get_band_names(sr, res = NULL)
A vector of strings.
A satres object.
satres
A string, spatial resolution.
We can indicate the name of a certain spatial resolution to obtain only its names.
sat_untarzip
Other satellite definition: get_spatial_resolution(), get_spectral_band_names(), satres()
get_spatial_resolution()
get_spectral_band_names()
satres()
esa <- system.file("extdata", "esa", package = "satres") sr <- satres(dir = esa, only_spectral_bands = FALSE) r <- sr |> get_band_names()
Run the code above in your browser using DataLab