Description Usage Arguments Value Author(s) References Examples
View source: R/springpheno_v0.4.R View source: R/springpheno_v0.5.R View source: R/springpheno_v0.3.R
The function daylength will calculate the day length for a given for all days of the year up to the user defined day of the year and latitude of the location. Essentially this is the number of hours of daylight for given location for each day. The formula for day length calculation is retained from Ault et al. (2015).
1 |
daystop |
Scalar - Calendar day of year from 1 to 366 where the function should cease day length calculations |
lat |
Scalar - latitude of the locations, in decimal degrees |
DAYLEN - vector of length equal to input daystop describing the total hours of daylight per day.
Adrienne M. Wootten (University of Oklahoma)
Ault, T.R., R. Zurita-Miller and M. Schwarz, 2015: A Matlab© toolbox for calculating spring indices from daily meteorological data. Computers and Geosciences, 83, DOI: 10.1016/j.cageo.2015.06.015
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.