Learn R Programming

MetFns (version 1.0)

solar.long: Calculation of solar longitude

Description

Calculates solar longitude with respect to the equinox of 2000.0 for given year, month, day and time.

Usage

solar.long(year, month, day, time)

Arguments

year
numeric vector of length 4 specifying year.
month
numeric vector specifying month of the year.
day
numeric vector specifying day.
time
numeric vector specifying time in hours.

Value

  • solar.long returns numeric vector with a value between 0 and 359.999.

References

Steyaert C. (1991). Calculating the Solar Longitude 2000.0, WGN, Journal of the IMO, 19:2, 31-34.

See Also

filter.sol

Examples

Run this code
## calculate solar longitude for June 22, 2006, at 4h UT.
require(astroFns)
solar.long(year=2006,month=6,day=22,time=4)

Run the code above in your browser using DataLab