[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

JULDAY 5.4 not same as 5.3?



Has anyone else noticed a bug in JULDAY that appeared in 5.4?
I tried this in IDL 5.3:
IDL> help,umm,udd,uyear,uhr,umin,usec
UMM             LONG      =            2
UDD             LONG      =           16
UYEAR           LONG      =         2001
UHR             ULONG     =            0
UMIN            ULONG     =            0
USEC            ULONG     =            0
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         DOUBLE    =        2451956.5
GPS0_JDAY       DOUBLE    =        2444244.5


I did the same thing in IDL 5.4:
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         DOUBLE    =    1.8140893e+08
GPS0_JDAY       DOUBLE    =        2444244.5
Perhaps someone with more expertise/patience/time could figure out
what is really going on here. Anyone interested?
Cheers,
Don
-- 
Donald Woodraska
Laboratory for Atmospheric and Space Physics, University of Colorado
Campus Box 590, 1234 Innovation Drive, Boulder, CO 80303