View source: R/EddyUStarFilterDP.R
usCreateSeasonFactorYdayYear | R Documentation |
Compute year-spanning Seasonfactor by starting year and yearday
usCreateSeasonFactorYdayYear(dates, yday = as.POSIXlt(dates)$yday +
1L, year = as.POSIXlt(dates)$year + 1900L,
starts)
dates |
POSIXct vector of length of the data set to be filled, specifying the center-time of each record |
yday |
integer (1-366) vector of length of the data set to be filled, specifying the day of the year (1..366) for each record |
year |
integer vector of length of the data set to be filled, specifying the year |
starts |
data.frame with first column specifying the starting yday (integer 1-366) and second column the year (integer e.g. 1998) for each season in increasing order |
With default parameterization, dates are assumed to denote begin
or center of the eddy time period.
If working with dates that denote the end of the period,
use yday = as.POSIXlt(fGetBeginOfEddyPeriod(dates))$yday
Integer vector of length nrow(ds)
,
each unique class representing one season
TW Department for Biogeochemical Integration at MPI-BGC, Jena, Germany <REddyProc-help@bgc-jena.mpg.de> [cph], Thomas Wutzler <twutz@bgc-jena.mpg.de> [aut, cre], Markus Reichstein <mreichstein@bgc-jena.mpg.de> [aut], Antje Maria Moffat <antje.moffat@bgc.mpg.de> [aut, trl], Olaf Menzer <omenzer@bgc-jena.mpg.de> [ctb], Mirco Migliavacca <mmiglia@bgc-jena.mpg.de> [aut], Kerstin Sickel <ksickel@bgc-jena.mpg.de> [ctb, trl], Ladislav <U+0160>igut <sigut.l@czechglobe.cz> [ctb]
usCreateSeasonFactorMonth
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.