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

Home » Public Forums » archive » Re: Avoiding loop stats
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: Avoiding loop stats [message #52142] Mon, 22 January 2007 09:20 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
Ed Hyer wrote:
> I'm missing something. You are working with a FLTARR(4000,2000,900) on
> Windows? That is >10x the size of the largest array I can create in IDL
> under Windows or Linux. Is this 64-bit IDL? for Windows?

agreed...
4000 * 2000 * 900 * 32bits = 26.82 Gb .... and the max memory one
could have under windows id 4 Gb..

but you could use an associated variable in this case..

Jean

>
> yp wrote:
>
>> IDL Gurus,
>> There is perhaps a smart solution to this problem, but I could not
>> figure out.
>> I have a series of EO images (2D) stacked over time which makes the
>> data a 3D array of [4000, 2000, 900] i.e., [lon,lat,time]
>> I need to compute various statistical parameters at each pixel over
>> time and produce each of them as [4000,2000] array.
>>
>>
>> for i=0,4000L-1 do for j=0,2000L-1 do data_st(i,j)=st_func(data(i,j,*))
>>
>> where, data=FLTARR[4000,2000,900]
>> data_st is the output from a function 'st_func' which works with vector
>> data only.
>>
>> Is there a way to do this avoiding the 4000x2000 loop? It is painfully
>> slow on windows.
>> thanks in advance
>
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: nicing idl at startup from idlwave
Next Topic: ascii value of a char

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

Current Time: Fri Oct 10 07:22:52 PDT 2025

Total time taken to generate the page: 2.24029 seconds