determine the year of the record of middle of seasons
usGetYearOfSeason(seasonFactor, sDateTime.v)
Arguments
- seasonFactor
factor vector of length data:
for each record which season it belongs to
- sDateTime.v
POSIX.t vector of length data:
for each record: center of half-hour period
(corresponding to sDATA$sDateTime)
Value
named integer vector, with names corresponding to seasons
Author
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]