Provide utilities to work with solar time, i.e. where noon is exactly when sun culminates. Provides functions for computing sun position and times of sunrise and sunset.
Most fundamental functions are
corrected fractional hour getSolarTimeHour
based on computeSolarToLocalTimeDifference
computing position of the sun computeSunPosition
On this basis, properties are computed such as
hour of sunrise and sunset:
computeSunriseHour
,computeSunsetHour
daylength in hours: computeDayLength
flagging times as day or night:
computeIsDayByHour
and
computeIsDayByLocation
and
More utils provide
get the hours ahead UTC: getHoursAheadOfUTC
get fractional hour of the day: getFractionalHours
Also have a look at the package vignettes.
Thomas Wutzler
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.