calc_sun_pos: Calculate Sun Position

Description Usage Arguments Details Value

Description

Calculate the position of the sun. REddyProc name: fCalcSunPosition.

Usage

1
calc_sun_pos(doy, hour, lat, long, tz, solar_time = TRUE)

Arguments

doy

A vector with day of year, same length as hour or length 1.

hour

A vector with time as decimal hour of local time zone.

lat

Latitude in (decimal) degrees.

long

Longitude in (decimal) degrees.

tz

Time zone (in hours).

solar_time

Should hour (given in local winter time) be corrected for latitude to solar time where noon is exactly at 12:00 (default)? Set to FALSE to directly use local winter time.

Details

Assumes that hour is given in local winter time zone, and corrects it by longitude to solar time (where noon is exactly at 12:00). Set argument solar_time to FALSE to use the local winter time instead.

Value

A list with vectors:


grahamstewart12/tidyflux documentation built on June 4, 2019, 7:44 a.m.