select_bands {satres} | R Documentation |
Select bands by spatial resolution and name
Description
Select the bands of an object based on spatial resolution and band name.
Usage
select_bands(sr, res, bands)
## S3 method for class 'satres'
select_bands(sr, res = NULL, bands = NULL)
Arguments
sr |
A |
res |
A string, spatial resolution. |
bands |
A string, band name. |
Value
A satres
object.
See Also
Other satellite transformation:
clip_bands()
,
merge_tiles()
Examples
esa <- system.file("extdata", "esa", package = "satres")
sr <- satres(dir = esa) |>
select_bands(res = c("r2000m", "r6000m"), bands = c("B02", "B03", "B04"))
[Package satres version 1.1.1 Index]