SunRiseSet: Calculate sunset and sunrise for a given date at given...

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/SunsetSunrise.R

Description

Calculate sunset and sunrise for a given date at given location and observer height

Usage

1
SunRiseSet(date = "2016-07-01", phi = 51.176, lambda = 4.326, H = 0)

Arguments

date

POSIXct object or date specificied in unambiguous format. See as.POSIXct

phi

Latitude

lambda

Longitude

H

Height of location where fDL is to be calculated

Details

This is an implementation of the algorithm found in the explanatory supplement of the astronomical almanac p484 and further.

Value

Two element vector with sunrise and sunset time

Author(s)

Tom Cox <tom.cox@uantwerp.be>

See Also

fDLfun

Examples

1
fDLfun("2016-06-21")

GPPFourier documentation built on Sept. 22, 2017, 5:06 p.m.