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 #48875 is a reply to message #48874] Fri, 26 May 2006 07:05 Go to previous messageGo to previous message
Mike Wallace is currently offline  Mike Wallace
Messages: 25
Registered: May 2006
Junior Member
> My experience is that the naive usage of the IDL JULDAY function does
> not give me what I expect to see. For a given calendar date, say
> JULDAY(5,26,2006), I normally expect this to refer to midnight at the
> start of the day (JD 2453881.5), whereas IDL returns the Julian day at
> noon, twelve hours later (JD 2453882). Of course, if one specifies
> hours, minutes and seconds, then the proper result pops out.
>
> I.e., I would naively expect these to be the same but they are not:
> JULDAY(5,26,2006, 0,0,0)
> JULDAY(5,26,2006)

I should have added that I always specify hours minutes and seconds when
working with julday() for this very reason and because I specify the
time within the day, I get what I expect. Come to think of it, julday()
without the hours minutes and seconds also gives me what I expect,
however what I expect is a weird number because some astronomer thought
he was being smart by having the day boundary be at a time when he
wouldn't be observing. I guess it has to deal with your expectations
and since I've looked at Julian Day numbers and other weird time systems
for years now, I've become conditioned to it. After working with
things like Ephemeris Time and Barycentric Dynamical Time, Julian Day
seems pretty easy. :-)

-Mike
[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:28:18 PDT 2025

Total time taken to generate the page: 0.00456 seconds