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

Home » Public Forums » archive » help needed in the format of the output variable
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
help needed in the format of the output variable [message #94033] Thu, 29 December 2016 02:26 Go to previous message
gunvicsin11 is currently offline  gunvicsin11
Messages: 93
Registered: November 2012
Member
Hi all,
I have given below the table
2457331.055891204
2457331.056041667
2457331.056192130
2457331.056342593
2457331.056481482
2457331.056631945

I am reading the file like this,
IDL> r=dblarr(6)
IDL> openr,2,'jultest.dat'
IDL> readf,2,r,format='(g)'
IDL> close,2
IDL> print,r(1)
2457331.1
IDL> print,r(1),format='(g)'
2457331.056041667

I need to give this r(1) into,

caldat,r(1),m,d,y,h,mi,s

here the r(1) is 2457331.1

how do i give the 2457331.056041667 as input into the caldat.

please let me know how to resolve this.

thanks in advance
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: help needed in timegen
Next Topic: Plotting x-axis as an string/ cumulative x-axis plot ???

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

Current Time: Wed Oct 08 11:36:12 PDT 2025

Total time taken to generate the page: 0.00373 seconds