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

Home » Public Forums » archive » Re: Julian Day Question
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 Question [message #48881 is a reply to message #48880] Thu, 25 May 2006 23:13 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> Consider:
>
> IDL> Print, JULDAY(1, 1, 1999) ; 1 Jan 1999
> 2451180
>
> This is the wrong answer according to Meeus, who lists the
> answer as 2451179.5.
>
> But, then consider this, which should be the SAME time:
>
> IDL> Print, JULDAY(1, 1, 1999, 0) ; 1 Jan 1999 at 0 hours
> 2451179.5
>
> What do you make of that?

Here is the same thing, but with JHUAPL routines:

IDL> Print, YMD2JD(1999, 1, 1)
2451180

But, converting first to "Julian seconds", and then to the Julian
Day:

IDL> js = YMDS2JS(1999, 1, 1, 0)
IDL> Print, JS2JD(js)
2451179.5

Clearly, I am missing something important here. :-(

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Performance Issues going to IDL 6.2 on Windows?
Next Topic: Re: Problems with the Windows IDE

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

Current Time: Wed Oct 08 15:27:53 PDT 2025

Total time taken to generate the page: 0.00451 seconds