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 #48869 is a reply to message #48868] Fri, 26 May 2006 09:57 Go to previous messageGo to previous message
news.verizon.net is currently offline  news.verizon.net
Messages: 47
Registered: August 2003
Member
Paul Van Delst wrote:

> However, it the two julday results up top still seem inconsistent. If I'm an astronomer
> and my day start reference for input to the julday routine is 12 noon, then why do
> julday(1,1,1,0,0,0) and julday(1,1,1) provide different results? Doesn't
> julday(1,1,1,0,0,0) refer to 0hours, 0minutes, 0seconds beyond the (12noon) start of the
> day? Why does providing the ",0,0,0" hh,mm,ss data cause the start reference to suddenly
> shift by 12 hours?
>

The way I think about it is that there are two distinct quanities: an
integral "Julian Day" and a real-valued "Julian Date". For example,
from the US Naval Observatory Website
http://tycho.usno.navy.mil/systime.html

**
Julian Day Number is a count of days elapsed since Greenwich mean noon
on 1 January 4713 B.C., Julian proleptic calendar. The Julian Date is
the Julian day number followed by the fraction of the day elapsed
since the preceding noon.
***

So when you supply the IDL julday() function with only the day, month
and year, it calculates the integral Julian day (and returns a
longword). If you also supply the hh,mm,ss (even if this is 0,0,0)
then it returns a double precision Julian date. --Wayne
[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:07 PDT 2025

Total time taken to generate the page: 0.00464 seconds