dmea_time_filter_index: Filter timestamps by calendar year and day-of-year

View source: R/dm_sea.R

dmea_time_filter_indexR Documentation

Filter timestamps by calendar year and day-of-year

Description

Internal helper used by the SEA functions to select timestamps by calendar year and day-of-year.

Usage

dmea_time_filter_index(times, Year = NULL, DOY = NULL)

Arguments

times

A vector of date-time values.

Year

Optional numeric vector of calendar years to retain.

DOY

Optional numeric vector of length one or two. If length one, only that day-of-year is retained. If length two, the inclusive DOY range is retained. If the first value is larger than the second, the range is treated as a cross-year DOY window, for example DOY = c(300, 60) keeps DOY >= 300 or DOY <= 60.

Value

A logical vector with the same length as times.


dendRoAnalyst documentation built on May 20, 2026, 5:07 p.m.