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

Home » Public Forums » archive » Julian Day NE Julian Day
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Julian Day NE Julian Day [message #93896] Fri, 18 November 2016 04:30 Go to previous message
andrewcool777 is currently offline  andrewcool777
Messages: 27
Registered: November 2012
Junior Member
Hi All,

So in converting the time stamp from an astro image to Julian Day with JULDAY, I start off with seconds of 6.31, and after doing the back conversion with CALDAT, I end up with seconds of 6.3100353!

Is this to be expected? Is it "wrong?" Is it one of those weird digital precision
things that David F. used to bang on about? (Hi David)


IDL> print,!version
{ x86_64 Win32 Windows Microsoft Windows 8.5.1 Nov 14 2015 64 64}
IDL>
IDL> Jd = julday(10,1,2016,10,10,6.31)
IDL> print,jd,format='(F20.10)'
2457662.9236841439
IDL> caldat,jd,mon,d,y,h,m,s
% Compiled module: CALDAT.
IDL> print,y,mon,d,h,m,s
2016 10 1 10 10 6.3100353

And just to show that I'm calling the inbuilt IDL routines, and not altered copies:-
IDL> help,/source
Compiled Procedures:
$MAIN$
CALDAT C:\Program Files\Exelis\IDL85\lib\caldat.pro

Compiled Functions:
JULDAY C:\Program Files\Exelis\IDL85\lib\julday.pro


I'm puzzled. And a bit concerned.

TIA,

Andrew Cool

www.skippysky.com.au (for all your astro weather forecast needs...)
[Message index]
 
Read Message
Read Message
Previous Topic: How to create blank array in IDL like python???
Next Topic: IDL performance, IDL_IDLBridge and multiple instances

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

Current Time: Wed Oct 08 17:31:54 PDT 2025

Total time taken to generate the page: 0.00484 seconds