sun_position: Compute sun azimuth and elevation given a location and a...

Description Usage Arguments Details See Also

Description

Compute sun azimuth and elevation given a location and a date/time

Usage

1
sun_position(time, lat, lon)

Arguments

time

a POSIXlt, POSIXct or data.frame. If a data frame order of columns must be from Year to Second (6 columns).

lat

numeric vector of latitudes.

lon

numeric vector of longitudes.

Details

Based on: http://stackoverflow.com/questions/8708048/position-of-the-sun-given-time-of-Day-latitude-and-longitude.. Update version: Jan 6 '12 at 21:40 by "Josh O'Brien".

See Also

is_day


SESman/rbl documentation built on May 9, 2019, 11:10 a.m.