comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Julian Day Numbers
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Julian Day Numbers [message #22564 is a reply to message #22430] Tue, 14 November 2000 00:00 Go to previous messageGo to previous message
Vapuser is currently offline  Vapuser
Messages: 63
Registered: November 1998
Member
Ben Tupper <pemaquidriver@tidewater.net> writes:

<snip>


> P.S.
> The IDL JULDAY code cites the following reference, but I don't
> have it handy to check into. ; Translated from "Numerical Recipies
> in C", by William H. Press, ; Brian P. Flannery, Saul A. Teukolsky,
> and William T. Vetterling. ; Cambridge University Press, 1988
> (second printing).
>


Well, I just coded the julday subroutine given in _Numerical
Recipes_ and ran it for 1999/01/01 and it comes out as 2415021. I
also coded and ran the one line version given in _Spacecraft
Attitude and Control_ and it comes out the same as the _Numerical...

I also checked December 25, 1981, which _Spacecraft ... says should
be 2444964, all three routines give the same (correct) answer.

_Numerical... says May 23, 1968 is Julian Day 2440000, which checks
out for all three routines.

Might your reference be off?

whd
--
William Daffer: 818-354-0161: William.Daffer@jpl.nasa.gov
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Rotating tick labels in DG
Next Topic: IDL Programming Techniques, 2nd Edition Available

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:56:07 PDT 2025

Total time taken to generate the page: 0.00415 seconds