|
int | crossp_ (float *v1, float *v2, float *v3) |
|
void | sunangs_ (int *year, int *day, float *gmt, float *lon, float *lat, float *sunz, float *suna) |
|
void | get_zenaz (float *pos, float lon, float lat, float *zenith, float *azimuth) |
|
void | compute_alpha (float lon[], float lat[], float senz[], float sena[], double mnorm[3], int npix, float alpha[]) |
|
void | l_sun_ (int *iyr, int *idoy, double *sec, float sunr[3], float *rs) |
|
void | ocorient_ (float *pos, float *vel, float *att, float(*)[3], float *coef) |
|
double | esdist_ (int *year, int *day, int *msec) |
|
void | cdata_ () |
|
void | nav_get_vel (float ilat, float mlat, float ilon, float mlon, float *vel) |
|
void | nav_get_pos (float lat, float lon, float alt, float *p) |
|
void | nav_gd_orient (float *pos, float *vel, float *att, float *smat[], float *coef) |
|
void | nav_get_geonav (float *sunr, float *pos, float *pview, float *coef, float *smat[], float *xlon, float *xlat, float *solz, float *sola, float *senz, float *sena) |
|
double | angular_distance (double lat1, double lon1, double lat2, double lon2) |
|
double | deg2rad (double deg) |
|
double | rad2deg (double rad) |
|
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
-
- Returns
c Compute floating point days since Jan 1.5, 2000 c Note that the Julian day starts at noon on the specified date
Definition at line 21 of file esdist.c.
void l_sun_ |
( |
int * |
iyr, |
|
|
int * |
iday, |
|
|
double * |
sec, |
|
|
float |
sunr[3], |
|
|
float * |
rs |
|
) |
| |
c Computes unit Sun vector in geocentric rotating coodinates, using c subprograms to compute inertial Sun vector and Greenwich hour angle c Subprograms referenced: c c SUN2000 Computes inertial Sun vector c GHA2000 Computes Greenwich sidereal angle c c Coded by: Frederick S. Patt, GSC, September 29, 1992 c c Modification History: c c Modifified to use new Sun and hour angle routines c Frederick S. Patt, November 3, 1992 c c Removed internal jd() function, since it is available as an c independent module. B. A. Franz, GSC, November 14, 1997.
- Parameters
-
iyr | input Year, four digits (i.e, 1993) |
idoy | input Day of year (1-366) |
sec | input Seconds of day |
sunr | output Unit Sun vector in geocentric rotating coordinates |
rs | Earth-to-Sun distance (AU) |
Definition at line 28 of file l_sun.c.
void sunangs_ |
( |
int * |
iyr, |
|
|
int * |
iday, |
|
|
float * |
gmt, |
|
|
float * |
xlon, |
|
|
float * |
ylat, |
|
|
float * |
sunz, |
|
|
float * |
suna |
|
) |
| |
$brief c Given year, day of year, time in hours (GMT) and latitude and c longitude, returns an accurate solar zenith and azimuth angle. c Based on IAU 1976 Earth ellipsoid. Method for computing solar c vector and local vertical from Patt and Gregg, 1993, Int. J. c Remote Sensing.c c Subroutines required: sun2000 c gha2000 c jd c
- Parameters
-
year | |
day | |
gmt | |
lon | |
lat | |
sunz | |
suna | |
Definition at line 25 of file sunangs.c.