[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: JULDAY 5.4 not same as 5.3?
- Subject: Re: JULDAY 5.4 not same as 5.3?
- From: "Mark Hadfield" <m.hadfield(at)niwa.cri.nz>
- Date: Fri, 2 Mar 2001 12:19:15 +1300
- Cache-Post-Path: clam-ext!unknown@hadfield.greta.niwa.cri.nz
- Newsgroups: comp.lang.idl-pvwave
- Organization: NIWA
- References: <3A9ED47E.F92EF914@lasp.colorado.edu>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:23808
> "Don Woodraska" <don.woodraska@lasp.colorado.edu> wrote in message
3A9ED47E.F92EF914@lasp.colorado.edu">news:3A9ED47E.F92EF914@lasp.colorado.edu...
> Has anyone else noticed a bug in JULDAY that appeared in 5.4?
> 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> help,in_jday
> IN_JDAY DOUBLE = 1.8140893e+08
I get the right answer under 5.4 (win32 x86):
IDL> help,umm,udd,uyear,uhr,umin,usec
UMM LONG = 2
UDD LONG = 16
UYEAR LONG = 2001
UHR LONG = 0
UMIN LONG = 0
USEC LONG = 0
IDL> print, julday( umm, udd, uyear, uhr, umin, usec )
2451956.5
---
Mark Hadfield
m.hadfield@niwa.cri.nz http://katipo.niwa.cri.nz/~hadfield
National Institute for Water and Atmospheric Research