Learn R Programming

solrad (version 1.0.0)

ExtraterrestrialNormal: Normal Extraterrestrial Solar Radiation

Description

This function calculates extraterrestrial solar radiation normal to surface (in W/m2) for a given day of year, location and topogrpahy.

Usage

ExtraterrestrialNormal(DOY, Lat, Lon, SLon, DS, Slope, Aspect)

Arguments

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

Slope

Site slope in degrees

Aspect

Site aspect with respect to the south in degrees

Examples

Run this code
# NOT RUN {
#Calculating solar incidence angle for two consecutive days on 45 degree latitude and
# 10 degree longitude

DOY <- seq(0, 2, .05)

SextrNormal <- ExtraterrestrialNormal(DOY, Lat = 45, Lon=10, SLon=10, DS=0, Slope = 10, Aspect = 0)
#Note: only the difference between Lon and SLon matters not each value

plot(DOY, SextrNormal)

# }

Run the code above in your browser using DataLab