Join a data.frame with a year-only date column to that with a full date column
Source:R/calc_postprocessing.R
      post_calc_join_yeardate.RdThe full date column will be converted to a year column as a new column, then the data.frame with the year-only column will be joined.
Usage
post_calc_join_yeardate(
  df_year,
  df_date,
  field_year = "time",
  field_date = "time",
  spid = "site_id"
)