Map the available raw data years over the given period
Source:R/calc_postprocessing.R
post_calc_year_expand.Rd
Many raw datasets are periodically updated and the period could be longer than a year. This function maps the available years over the given period.
Usage
post_calc_year_expand(
time_start = NULL,
time_end = NULL,
time_unit = "year",
time_available = NULL
)
Value
integer vector of length (time_end - time_start + 1). Each element will get the nearest preceeding available year.