In an effort to get everything in the units of yr-1, the following things need to happen:
[x] Make a new time column in the observation data frame that is decimal_date(date)
[x] Set up the covar data frame to have a similar time column as decimal date, but do so on daily time steps to match the eventual model simulation time step
[x] Redo the generation of the B-spline seasonal bases to have a period of 1 yr over the daily time steps in the covar data frame
[x] Store observation and covar data frames separately, or nested
In an effort to get everything in the units of yr-1, the following things need to happen:
[x] Make a new
time
column in the observation data frame that isdecimal_date(date)
[x] Set up the covar data frame to have a similar
time
column as decimal date, but do so on daily time steps to match the eventual model simulation time step[x] Redo the generation of the B-spline seasonal bases to have a period of 1 yr over the daily time steps in the covar data frame
[x] Store observation and covar data frames separately, or nested
See recent King work for a good example.