usCreateSeasonFactorYdayYear: usCreateSeasonFactorYdayYear

Description Usage Arguments Details Value Author(s)

Description

calculate factors to denote the season for uStar-Filtering by specifying starting day and year of each season

Usage

1
2
usCreateSeasonFactorYdayYear(dates, yday = as.POSIXlt(dates)$yday + 
    1L, year = as.POSIXlt(dates)$year + 1900L, starts)

Arguments

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

Details

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

Value

Integer vector of nrow ds, each unique class representing one season

Author(s)

TW seealso usCreateSeasonFactorMonth (Department for Biogeochemical Integration at MPI-BGC, Jena, Germany)


REddyProc documentation built on May 2, 2019, 5:19 p.m.