Skip to contents

names() lists a dataset's bands, including any QA/mask band, and length() counts them. ds$B04 is ds[["B04"]], and ds$ndvi <- value is ds[["ndvi"]] <- value.

Arguments

x

A LazyDataset.

name

A band name.

value

A LazyRaster (or a list of per-slice LazyRasters) on the dataset's grid.

Value

names(): a character vector. length(): an integer. $: a LazyRaster. $<-: the updated LazyDataset.