Create a terra::rast()
of julian days from a timeseries input.
get_days_from_raster.Rd
Create a terra::rast()
of julian days from a timeseries input.
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)
}