Package: SunCalcMeeus 0.1.1

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.1.tar.gz
SunCalcMeeus_0.1.1.zip(r-4.5)SunCalcMeeus_0.1.1.zip(r-4.4)SunCalcMeeus_0.1.1.zip(r-4.3)
SunCalcMeeus_0.1.1.tgz(r-4.4-any)SunCalcMeeus_0.1.1.tgz(r-4.3-any)
SunCalcMeeus_0.1.1.tar.gz(r-4.5-noble)SunCalcMeeus_0.1.1.tar.gz(r-4.4-noble)
SunCalcMeeus_0.1.1.tgz(r-4.4-emscripten)SunCalcMeeus_0.1.1.tgz(r-4.3-emscripten)
SunCalcMeeus.pdf |SunCalcMeeus.html
SunCalcMeeus/json (API)
NEWS

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

Peer review:

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

Pkgdown:https://docs.r4photobiology.info

On CRAN:

4.78 score 6 scripts 79 downloads 26 exports 19 dependencies

Last updated 1 days agofrom:ca75b29cd9. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 18 2024
R-4.5-winOKDec 18 2024
R-4.5-linuxOKDec 18 2024
R-4.4-winOKDec 18 2024
R-4.4-macOKDec 18 2024
R-4.3-winOKDec 18 2024
R-4.3-macOKDec 18 2024

Exports:as_todas.solar_dateday_lengthday_nightdistance_to_sunis_daytimeis_valid_geocodeis.solar_dateis.solar_timelength_geocodena_geocodenight_lengthnoon_timerelative_AMrelative_AM_geotimerelative_AMtrelative_AMt_geotimesolar_timesun_anglessun_azimuthsun_elevationsun_zenith_anglesunrise_timesunset_timetz_time_diffvalidate_geocode

Dependencies:clicpp11dplyrfansigenericsgluelifecyclelubridatemagrittrpillarpkgconfigR6rlangtibbletidyselecttimechangeutf8vctrswithr

User Guide

Rendered fromuserguide-1-astronomy.Rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2024-12-03
Started: 2024-08-05

User Guide: 0 The R for Photobiology Suite

Rendered fromuserguide-0-r4p-introduction.Rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2024-12-03
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
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
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