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

Home » Public Forums » archive » can't make 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
can't make array [message #87607] Mon, 17 February 2014 22:48 Go to previous message
kamal is currently offline  kamal
Messages: 12
Registered: June 2010
Junior Member
Hi all,

I am trying to write an IDL code for reading a number of binary files (366 in total) with the dimensions x=1940, y=1940. However, this seems to be quite a large number for making an array. I am not being able to generate an array containing such a huge number of elements. Is there a way out to tackle this awkward situation?
Any suggestions in this regard would be highly appreciated.

The part of my code looks something like this:
...somthing else....
;The portion where error is coming....
x=1940 & y = x
z = nfiles ;366
nodata = -33.00
temparr = fltarr(x,y,z) ;<<<<<Error comes in this line

for k = 0, z-1 do begin
file = infiles[k]
data = read_binary(file, data_dims=[x,y], data_type=4)
temparr[*,*,k] = data
endfor
....something else....

Thanks in advance.


Cheers,
Kamal
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: DORADE(Doppler Radar Data Exchange Format) interfacing on IDL
Next Topic: Function Graphics Questions

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

Current Time: Wed Oct 08 14:09:45 PDT 2025

Total time taken to generate the page: 0.00190 seconds