solarPosition: Solar zenith and azumith angles

Description Usage Arguments Details Value Author(s) Examples

Description

Computes the solar zenith and azimuth for a place on Earth for a given date and time.

Usage

1
solarPosition(jd, lon, lat, delta_t = 32.184, elev = 0, temp = 16, pres = 1013.25)

Arguments

jd

Julian day, with decimal fraction.

lon

Longitude, in decimal degrees.

lat

Latitude, in decimal degrees.

delta_t

Difference between the Earth rotation time and the Terestrial Time (TT), in seconds.

elev

Elevation, in meters.

temp

Temperature, in degrees Celsius.

pres

Pressure, in hPa.

Details

Solar zenith and azimuth angle are give in degrees, azimuth is measured eastward from north.

Value

Matrix of solar zenith and azimuth angles.

Author(s)

Jasper Van doninck

Examples

1
2
3
4
5
6
7
8
##Julian day

jd <- julianDay(2003,10,17,12,30,30,tz=-7)


##Solar angles

solarPosition(jd,-105.1786,39.742476,delta_t=67,elev=1830.14,temp=11,pres=820)

Example output

       zenith  azimuth
[1,] 50.11162 194.3402

solarPos documentation built on May 2, 2019, 9:59 a.m.