ocssw
V2022
|
Go to the source code of this file.
Functions | |
double | esdist_ (int *iyr, int *iday, int *msec) |
Function Documentation
◆ esdist_()
double esdist_ | ( | int * | iyr, |
int * | iday, | ||
int * | msec | ||
) |
c This subroutine computes the earth-sun distance in AU. It uses the model c referenced in The Astronomical Almanac for 1984, Section S (Supplement).
c Subprograms referenced: c c JD Computes Julian day from calendar date c c Coded by: Frederick S. Patt, GSC, November 2, 1992 c Adapted from sun2000 to esdist by B. Franz, Oct 2003.
- Parameters
-
year day msec
- Returns
c Compute floating point days since Jan 1.5, 2000 c Note that the Julian day starts at noon on the specified date