usCreateSeasonFactorYday: usCreateSeasonFactorYday

Description Usage Arguments Details Value Author(s)

Description

calculate factors to denote the season for uStar-Filtering by specifying starting day of years

Usage

1
2
3
usCreateSeasonFactorYday(dates, yday = as.POSIXlt(dates)$yday + 
    1L, year = as.POSIXlt(dates)$year + 1900L, startYday = c(335, 
    60, 152, 244))

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

startYday

integer vector (1-366) specifying the starting yearDay 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.