Learn R Programming

solrad (version 1.0.0)

AST: Apparent Solar Time

Description

This function returns the apparent solar time (in minutes) for a given day of year and location.

Usage

AST(DOY, Lon, SLon, DS)

Arguments

DOY

Day of year

Lon

Longitude in degrees

SLon

Standard longitude (based on time zone) in degrees

DS

Daylight saving in minutes

Examples

Run this code
# NOT RUN {
#Calculating apparent solar time for two consecutive days

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

ast <- AST(DOY, Lon=0, SLon=0, DS=60)
#Note: only the difference between Lon and SLon matters not each value

plot(DOY, ast)

# }

Run the code above in your browser using DataLab