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

Home » Public Forums » archive » Re: reading ascii in array merging with strsplit
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: reading ascii in array merging with strsplit [message #52515 is a reply to message #52513] Tue, 06 February 2007 08:02 Go to previous messageGo to previous message
Brian Larsen is currently offline  Brian Larsen
Messages: 270
Registered: June 2006
Senior Member
Yes it does (I had to check)

IDL> print, anytim2jd(['6-2-1998 17:00', '6-3-1998 17:00'])
{ 2455765 0.20833333}{ 2455793 0.20833333}

The return is a little annoying but can be mitigated by simply adding
them together.

IDL> help, anytim2jd(['6-2-1998 17:00', '6-3-1998 17:00']), /str
** Structure <84bd97c>, 2 tags, length=12, data length=12, refs=1:
INT LONG 2455765
FRAC DOUBLE 0.20833333
IDL> jd = anytim2jd(['6-2-1998 17:00', '6-3-1998 17:00'])
IDL> jd = jd.int+jd.frac
IDL> help, jd
JD DOUBLE = Array[2]


I am sure you can write something easy as well but I always hate to
reinvent the wheel more than I have to.

Brian

------------------------------------------------------------ ---------------
Brian A. Larsen
Dept. of Physics
Space Science and Engineering Lab (SSEL)
Montana State University - Bozeman
Bozeman, MT 59717





On Feb 6, 7:51 am, "leatherback" <jelle.ferwe...@rmit.edu.au> wrote:
> Hey Brian,
>
> Thanks for your reply. Before I start installing all sort of material
> I do not need.. Does this solarsoft accept ARRAYS of dates too?
>
> Cheers,
>
> jelle.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL programmer wanted
Next Topic: Re: Strange IDL Help probelm 6.3

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

Current Time: Sat Oct 11 09:02:40 PDT 2025

Total time taken to generate the page: 0.32221 seconds