Description Usage Arguments Examples
View source: R/OpenRadiation.R
This function returns open sky solar radiation (in W/m2) for a given day of year and location.
1 | OpenRadiation(DOY, Lat, Lon, SLon, DS, Elevation)
|
DOY |
Day of year |
Lat |
Latitude (in degrees) |
Lon |
Longitude in degrees |
SLon |
Standard longitude (based on time zone) in degrees |
DS |
Daylight saving in minutes |
Elevation |
Elevation of the site in meters |
1 2 3 4 5 6 7 8 9 | #Calculating open sky solar radiation for two consecutive days on 45 degree latitude and
# 10 degree longitude and at 100 m altitude.
DOY <- seq(0, 2, .05)
Sopen <- OpenRadiation(DOY, Lat = 45, Lon=10, SLon=10, DS=0, Elevation = 100)
#Note: only the difference between Lon and SLon matters not each value
plot(DOY, Sopen)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.