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

Home » Public Forums » archive » JULDAY 5.4 not same as 5.3?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
JULDAY 5.4 not same as 5.3? [message #23992] Thu, 01 March 2001 15:00 Go to previous message
Don Woodraska is currently offline  Don Woodraska
Messages: 5
Registered: March 2001
Junior Member
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>

<pre>Has anyone else noticed a bug in JULDAY that appeared in 5.4?</pre>

<pre>I tried this in IDL 5.3:</pre>

<pre>IDL> help,umm,udd,uyear,uhr,umin,usec
UMM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp; LONG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2
UDD&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp; LONG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp; 16
UYEAR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LONG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp; 2001
UHR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp; ULONG&nbsp;&nbsp;&nbsp;&nbsp; =&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0
UMIN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ULONG&nbsp;&nbsp;&nbsp;&nbsp; =&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0
USEC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ULONG&nbsp;&nbsp;&nbsp;&nbsp; =&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0
IDL> in_jday = julday( umm, udd, uyear, uhr, umin, usec )
IDL> gps0_jday = julday(1,6,1980,0,0,0)
</pre>

<pre>IDL> help,in_jday,gps0_jday
IN_JDAY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp; DOUBLE&nbsp;&nbsp;&nbsp; =&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp; 2451956.5
GPS0_JDAY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& amp;nbsp; DOUBLE&nbsp;&nbsp;&nbsp; =&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp; 2444244.5
</pre>

<pre></pre>

<pre>I did the same thing in IDL 5.4:</pre>

<pre>IDL> in_jday = julday( umm, udd, uyear, uhr, umin, usec )
IDL> gps0_jday = julday(1,6,1980,0,0,0)
IDL> help,in_jday,gps0_jday
IN_JDAY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp; DOUBLE&nbsp;&nbsp;&nbsp; =&nbsp;&nbsp;&nbsp; 1.8140893e+08
GPS0_JDAY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& amp;nbsp; DOUBLE&nbsp;&nbsp;&nbsp; =&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp; 2444244.5
</pre>

<pre>Perhaps someone with more expertise/patience/time could figure out</pre>

<pre>what is really going on here. Anyone interested?</pre>

<pre>Cheers,</pre>

<pre>Don</pre>

<pre>--&nbsp;
Donald Woodraska
Laboratory for Atmospheric and Space Physics, University of Colorado
Campus Box 590, 1234 Innovation Drive, Boulder, CO 80303</pre>
&nbsp;</html>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Linux and 3D graphics hardware support
Next Topic: BETTER FONTS

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

Current Time: Sat Oct 11 22:34:17 PDT 2025

Total time taken to generate the page: 2.63762 seconds