How to add 'd' to get the correct julian conversion ? [message #33742] |
Thu, 23 January 2003 06:47 |
Kolbjorn Bekkelund
Messages: 20 Registered: August 2002
|
Junior Member |
|
|
How can I add the NEEDED d to get this:
2452662.305203d
out of this:
maxtime = jul2cal((data(0,maxgust_time)), /TO_STRING, /MDY)
In my program (data(0,maxgust_time)) fetches 2452662.305203 out of the
array, but if I don't add the d to the julian date it calculates the
wrong time in the above statement.
I've tried
maxtime = jul2cal((data(0,maxgust_time))d, /TO_STRING, /MDY)
but that's not accepted.
--
* |
| *
* |
| * |(
Kolbjorn Bekkelund * | ==|==
Systems Eng. ALOMAR Observatory | * |___|
Andoya Rocket Range ====================== |
.-. http://alomar.rocketrange.no \ [] [] [] [] [] / | ----
/v\ eMail: kobe@rocketrange.no '----------------'-------| |
/( )\ Using Linux for Science..... | [ ] | | [] | | | |
^^ ^^ --------------------------------------------------'--------- --
|
|
|