getSunCoordinates: Estimates Sun azimuth and height above a location at a given...

Description Usage Arguments Value Author(s) References

View source: R/getSunCoordinates.R

Description

Estimates Sun azimuth and height above a location at a given time

Usage

1
getSunCoordinates(locCoordinates = c(6.5, 46.5), time = Sys.time())

Arguments

locCoordinates

a vector holding longitude and latitude of a single location on earth

time

a POSIXct class object

Value

a matrix of 2 columns, azimuth and height of sun

Author(s)

Marco Bascietto marco@bascietto.name

References

Code adapted from http://stackoverflow.com/questions/8708048/position-of-the-sun-given-time-of-day-latitude-and-longitude, Richie Cotton answer


mbask/meteopv documentation built on May 21, 2019, 2:25 p.m.