Description Usage Arguments Details Value Note Author(s) References See Also Examples
Calculates solar longitude with respect to the equinox of 2000.0 for given date.
1 | date_sollong(date,prec=4)
|
date |
character vector or factor of length one specifying date, given in |
prec |
numeric vector specifying number of decimals of calculated solar longitude (between 2 and 5 decimals). By default, it is equal to 4. |
Solar longitude is calculated applying VSOP87 theory, using coefficients from data EarthVSOP87B
.
sollong
returns solar longitude, numeric vector of length one.
User can specify date without time (i.e. date at midnight) or date with hours and minutes (without seconds).
Kristina Veljkovic
Meeus, J. (1998). Astronomical algorithms (Second Edition). Willmann-Bell, Inc., Richmond, Virginia, p. 219.
http://neoprogrammics.com/vsop87
1 2 | ## calculate solar longitude corresponding to March 7, 2016, at 02:41 UTC
date_sollong(date="2016-03-07 02:41")
|
Loading required package: astroFns
Loading required package: lubridate
Attaching package: 'lubridate'
The following object is masked from 'package:base':
date
Loading required package: plotrix
Loading required package: pracma
Attaching package: 'MetFns'
The following object is masked from 'package:stats':
filter
[1] 346.7399
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.