Skip to contents

Create a terra::rast() of julian days from a timeseries input.

Usage

get_days_from_raster(r)

Arguments

r

The timeseries terra::rast() used as an input.

Value

A terra::rast() that is of size terra::nlyr(r), where each layer is a static value representing the julian day.

Examples

if (FALSE) {
r <- terra::rast(rh)
get_days_from_raster(r)
}