NASA Logo
Ocean Color Science Software

ocssw V2022
ephparms.c File Reference
#include "sun2000.h"
#include "nav.h"
Include dependency graph for ephparms.c:

Go to the source code of this file.

Functions

void ephparms (double t, double *xls, double *gs, double *xlm, double *omega)
 

Function Documentation

◆ ephparms()

void ephparms ( double  t,
double *  xls,
double *  gs,
double *  xlm,
double *  omega 
)

This subroutine computes ephemeris parameters used by other Mission Operations routines: the solar mean longitude and mean anomaly, and the lunar mean longitude and mean ascending node. It uses the model referenced in The Astronomical Almanac for 1984, Section S (Supplement) and documented and documented in "Exact closed-form geolocation algorithm for Earth survey sensors", by F.S. Patt and W.W. Gregg, Int. Journal of Remote Sensing, 1993. These parameters are used to compute the solar longitude and the nutation in longitude and obliquity.

Parameters
tTime in days since January 1, 2000 at 12 hours UT
xlsMean solar longitude (degrees)
gsMean solar anomaly (degrees)
xlmMean lunar longitude (degrees)
omegaAscending node of mean lunar orbit (degrees)

Definition at line 3 of file ephparms.c.