Learn R Programming

sirad (version 2.3-3)

extrat: Calculate extraterrestrial solar radiation

Description

'extrat' calculates hourly and daily extraterrestrial solar radiation for a given time and location.

Usage

extrat(i, lat)

Arguments

i
day number in the year (julian day)
lat
latitude in radians

Value

List of 3 elements: List of 3 elements:

Details

Solar radiation outside of the earth's atmosphere is called extraterrestrial solar radiation. It can be calculated based on solar geometry.

Examples

Run this code
## extraterrestrial radiation and daylength for 1 January and latitude 55 degrees
extrat(dayOfYear("2011-01-01"), radians(55))

Run the code above in your browser using DataLab