declination: Declination

Description Usage Arguments Value Author(s) References Examples

View source: R/declination.R

Description

Computes the declination of the Sun for a given Julian Day.

Usage

1

Arguments

jd

Julian Day.

Value

Declination in degrees and decimal fraction.

Author(s)

Javier G. Corripio

References

https://www.esrl.noaa.gov/gmd/grad/solcalc/calcdetails.html

Meeus, J. 1999. Astronomical Algorithms. Willmann-Bell, Richmond, Virginia, USA.

Reda, I. and Andreas, A. 2003. Solar Position Algorithm for Solar Radiation Applications. 55 pp.; NREL Report No. TP-560-34302, Revised January 2008. https://www.nrel.gov/docs/fy08osti/34302.pdf

Examples

1
2
3
4
5
6
7
8
declination(JDymd(2019,1,1))

jdays = JD(ISOdate(2019,1:12,21))
declination(jdays)

## Plot daily changes in declination from 2018 to 2020
jdays=JD(seq(ISOdate(2018,1,1),ISOdate(2020,12,31),by='day'))
plot(declination(jdays),xlab='days from 2018-01-01',ylab='declination')

insol documentation built on Jan. 16, 2019, 5:04 p.m.