NASA Logo
Ocean Color Science Software

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

Go to the source code of this file.

Functions

void gha2000 (int iyr, double day, double *gha)
 

Variables

double dpsi
 
double eps
 
int nutime
 

Function Documentation

◆ gha2000()

void gha2000 ( int  iyr,
double  day,
double *  gha 
)

This subroutine computes the Greenwich hour angle in degrees for the input time. 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. It includes the correction to mean sideral time for nutation as well as precession. Subprograms referenced:

JD Computes Julian day from calendar date EPHPARMS Computes mean solar longitude and anomaly and mean lunar lontitude and ascending node NUTATE Compute nutation corrections to lontitude and obliquity

   Program written by:     Frederick S. Patt
                           General Sciences Corporation
                           November 2, 1992
Parameters
iyrYear (four digits)
dayDay (time of day as fraction)
ghareenwich hour angle (degrees)

Definition at line 5 of file gha2000.c.

Variable Documentation

◆ dpsi

double dpsi

Definition at line 6 of file sun2000.c.

◆ eps

double eps

Definition at line 3 of file gha2000.c.

◆ nutime

int nutime

Definition at line 7 of file sun2000.c.