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

Home » Public Forums » archive » Re: Reading multiple ASCII files in as 2d arrays and putting them into a 3d array
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 multiple ASCII files in as 2d arrays and putting them into a 3d array [message #65188] Mon, 16 February 2009 08:56
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
> FOR i=0,nfiles-1 do begin
...
> data = fltarr(10,nstar,nfiles)
...
> data[0,0,i] = framearray
...
> ENDFOR

you must create your data array outside of the loop... you are erasing
it each time!

Jean
[Message index]
 
Read Message
Previous Topic: Different issue
Next Topic: Re: Different issue

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

Current Time: Wed Oct 08 15:33:43 PDT 2025

Total time taken to generate the page: 0.00449 seconds