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

Home » Public Forums » archive » Re: julday() and fractional days
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: julday() and fractional days [message #56629 is a reply to message #56448] Thu, 01 November 2007 07:39 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
Bob Crawford <Snowman42@gmail.com> writes:
> Perhaps I'm missing something but why would one expect a JULDAY
> function that is passing hour, minute and second data to also accept
> fractional days?
>
> I can understand that if you did: print,julday(12,31.2,2005) one might
> expect the fractional days to be handled, but not when the smaller
> time units are explicitedly present.
>
> What would the correct output of, say,
> print,julday(12,31.2,2005,6,0,0) be?

I don't know, but because of IDL JULDAY()'s insane behavior, I can
tell you that it would be different than,

print,julday(12,31.2,2005) + 0.25

Craig


--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDLBridge - SetVar?
Next Topic: Re: read_tiff only looks in current working directory?

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

Current Time: Fri Oct 10 14:02:43 PDT 2025

Total time taken to generate the page: 0.64055 seconds