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)
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"))