Package: SunCalcMeeus 0.1.3.9000

SunCalcMeeus: Sun Position and Daylight Calculations

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) <doi:10.19232/uv4pb.2015.1.14>. Algorithms from Meeus (1998, ISBN:0943396611).

Authors:Pedro J. Aphalo [aut, cre]

SunCalcMeeus_0.1.3.9000.tar.gz
SunCalcMeeus_0.1.3.9000.zip(r-4.7)SunCalcMeeus_0.1.3.9000.zip(r-4.6)SunCalcMeeus_0.1.3.9000.zip(r-4.5)
SunCalcMeeus_0.1.3.9000.tgz(r-4.6-any)SunCalcMeeus_0.1.3.9000.tgz(r-4.5-any)
SunCalcMeeus_0.1.3.9000.tar.gz(r-4.7-any)SunCalcMeeus_0.1.3.9000.tar.gz(r-4.6-any)
SunCalcMeeus_0.1.3.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
SunCalcMeeus/json (API)

# Install 'SunCalcMeeus' in R:
install.packages('SunCalcMeeus', repos = c('https://aphalo.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/aphalo/suncalcmeeus/issues

Pkgdown/docs site:https://docs.r4photobiology.info

On CRAN:

Conda:

6.01 score 1 stars 17 packages 10 scripts 405 downloads 29 exports 18 dependencies

Last updated from:24232f89f9. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK128
source / vignettesOK216
linux-release-x86_64OK124
macos-release-arm64OK88
macos-oldrel-arm64OK74
windows-develOK91
windows-releaseOK80
windows-oldrelOK83
wasm-releaseOK112

Exports:as_todas.solar_datebind_geocodesday_lengthday_nightdistance_to_sunirrad_extraterrestrialis_daytimeis_valid_geocodeis.solar_dateis.solar_timelength_geocodena_geocodenight_lengthnoon_timerelative_AMrelative_AM_geotimerelative_AMtrelative_AMt_geotimesolar_timesplit_geocodessun_anglessun_azimuthsun_elevationsun_zenith_anglesunrise_timesunset_timetz_time_diffvalidate_geocode

Dependencies:clicpp11dplyrgenericsgluelifecyclelubridatemagrittrpillarpkgconfigR6rlangtibbletidyselecttimechangeutf8vctrswithr

User Guide
Radiation, astronomy and atmosphere | Getting started | Introduction | Position of the sun | Times of sunrise, solar noon and sunset | Solar time | Time of day | Relative air mass | Irradiance

Last update: 2026-04-15
Started: 2024-08-05

User Guide: 0 The R for Photobiology Suite
Introduction | References | Packages in the suite | Acknowledgements

Last update: 2025-06-06
Started: 2024-08-05

Readme and manuals

Help Manual

Help pageTopics
SunCalcMeeus: Sun Position and Daylight CalculationsSunCalcMeeus-package SunCalcMeeus
Convert datetime to time-of-dayas_tod
Convert a solar_time object into solar_date objectas.solar_date
Times for sun positionsday_length day_night day_night_fast is_daytime night_length noon_time sunrise_time sunset_time
Encode in a Common Formatformat.solar_time
Encode in a Common Formatformat.tod_time
Extraterrestrial solar irradianceirrad_extraterrestrial
Query classis.solar_date is.solar_time
Print solar time and solar date objectsprint.solar_date print.solar_time
Print time-of-day objectsprint.tod_time
Relative Air Mass (AM)relative_AM relative_AMt relative_AMt_geotime relative_AM_geotime
Local solar timesolar_time
Split or bind geocodesbind_geocodes split_geocodes
Sun anglesdistance_to_sun sun_angles sun_angles_fast sun_azimuth sun_elevation sun_zenith_angle
Time difference between two time zonestz_time_diff
Validate a geocodeis_valid_geocode length_geocode na_geocode validate_geocode