Skip to contents

The labels on the t axis: one per slice, typically acquisition dates or the period labels group_by_time() assigns.

Usage

time_labels(x)

Arguments

x

A LazyRaster, GridSpec or LazyDataset.

Value

A character vector, or NULL when there is no labelled t axis. For a LazyDataset whose value bands carry different labels, a list named by band.

Examples

g <- grid_spec(c(0, 0, 100, 50), res = 10, crs = "EPSG:3857")
time_labels(g)
#> NULL