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
Re: can't make array [message #87610 is a reply to message #87607] Tue, 18 February 2014 04:19 Go to previous messageGo to previous message
Matthew Argall is currently offline  Matthew Argall
Messages: 286
Registered: October 2011
Senior Member
> dimensions x=1940, y=1940. However, this seems to be quite a large number for making an array...

It took a couple seconds, but IDL can do this

IDL> help, fltarr(1940,1940,366)
<Expression> FLOAT = Array[1940, 1940, 366]

Your problem may be that z is undefined or zero. Make sure that "nfiles" is actually a number other than zero.

> x=1940 & y = x
> z = nfiles ;366
> temparr = fltarr(x,y,z) ;<<<<<Error comes in this line

What is the error that you are getting?
[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: Fri Oct 10 03:45:56 PDT 2025

Total time taken to generate the page: 0.48089 seconds