NASA Logo
Ocean Color Science Software

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

Go to the source code of this file.

Functions

void nutate (double t, double xls, double gs, double xlm, double omega, double *dpsi, double *eps)
 

Function Documentation

◆ nutate()

void nutate ( double  t,
double  xls,
double  gs,
double  xlm,
double  omega,
double *  dpsi,
double *  eps 
)

This subroutine computes the nutation in longitude and the obliquity of the ecliptic corrected for nutation. It uses the model referenced in The Astronomical Almanac for 1984, Section S (Supplement) 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 apparent time correction to the Greenwich Hour Angle and for the calculation of the geocentric Sun vector. The input ephemeris parameters are computed using subroutine ephparms. Terms are included to 0.1 arcsecond. Program written by: Frederick S. Patt General Sciences Corporation October 21, 1992.

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)
dpsiNutation in longitude (degrees)
epsObliquity of the Ecliptic (degrees) (includes nutation in obliquity)

Definition at line 7 of file nutate.c.