SunCalcMeeus-package: SunCalcMeeus: Sun Position and Daylight Calculations

SunCalcMeeus-packageR Documentation

SunCalcMeeus: Sun Position and Daylight Calculations

Description

logo

Compute the position of the sun, and local solar time using Meeus' formulae. Compute day and/or night length using different twilight definitions or arbitrary sun elevation angles. This package is part of the 'r4photobiology' suite, Aphalo, P. J. (2015) \Sexpr[results=rd]{tools:::Rd_expr_doi("10.19232/uv4pb.2015.1.14")}. Algorithms from Meeus (1998, ISBN:0943396611).

Details

Please see the vignette 0: The R for Photobiology Suite for a description of the suite.

Author(s)

Maintainer: Pedro J. Aphalo pedro.aphalo@helsinki.fi (ORCID)

References

Aphalo, Pedro J. (2015) The r4photobiology suite. UV4Plants Bulletin, 2015:1, 21-29. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.19232/uv4pb.2015.1.14")}.

See Also

Useful links:

Examples

# daylength
sunrise_time(lubridate::today(tzone = "EET"), tz = "EET",
             geocode = data.frame(lat = 60, lon = 25),
             unit.out = "hour")
day_length(lubridate::today(tzone = "EET"), tz = "EET",
           geocode = data.frame(lat = 60, lon = 25),
           unit.out = "hour")
sun_angles(lubridate::now(tzone = "EET"), tz = "EET",
           geocode = data.frame(lat = 60, lon = 25))


SunCalcMeeus documentation built on April 4, 2025, 1:43 a.m.