Description:
Calculates the approximate heliocentric position and velocity of the specified major
planet.
Invocation
void palPlanet ( double date, int np, double pv[6], int
j );
Arguments
date = double (Given)
TDB Modified Julian Date (JD-2400000.5).
np = int (Given)
planet (1=Mercury, 2=Venus, 3=EMB, 4=Mars, 5=Jupiter, 6=Saturn, 7=Uranus, 8=Neptune)
pv =
double [6] (Returned)
heliocentric x,y,z,xdot,ydot,zdot, J2000, equatorial triad in units AU and AU/s.
j = int
(Returned)
Notes:
-
See SOFA/ERFA eraPlan94 for details
-
Note that Pluto is supported in SLA/F but not in this routine
-
Status -2 is equivalent to eraPlan94 status 2.
-
Note that velocity units here match the SLA/F documentation.
Copyright © 2012 Science and Technology Facilities Council.
Copyright © 2014 Cornell University.
Copyright © 2015 Tim Jenness