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

Home » Public Forums » archive » too many elements
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
too many elements [message #66729] Thu, 11 June 2009 14:56 Go to next message
Hu is currently offline  Hu
Messages: 35
Registered: January 2009
Member
folks

As I have read the themes in this group that refers to 'Array has too
many elements'. I do not got the idea about how to solve my following
problem.

supposing that I have to define a matrix ( like, A) that have
10000*90000*10000 elements. how can obtain this without change the 32-
b operate system? sentence like

A=fltarr(10000,90000,10000)

will cause an error 'Array has too many elements.', dose pointer in
IDL can help this? if yes, how?

Thanks.
Re: too many elements [message #66845 is a reply to message #66729] Fri, 12 June 2009 13:23 Go to previous message
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
"Hu" <jhaohu@gmail.com> wrote in message
news:f175a445-a040-4598-8d70-9aa93613d151@s1g2000prd.googleg roups.com...
> folks
>
> As I have read the themes in this group that refers to 'Array has too
> many elements'. I do not got the idea about how to solve my following
> problem.
>
> supposing that I have to define a matrix ( like, A) that have
> 10000*90000*10000 elements. how can obtain this without change the 32-
> b operate system? sentence like
>
> A=fltarr(10000,90000,10000)
>
> will cause an error 'Array has too many elements.', dose pointer in
> IDL can help this? if yes, how?
>
> Thanks.

Have you tried:

IDL>A=fltarr(10000,90000,10000,/use_star_trek_computer)

:)

if that doesn't work, I suggest you reformulate your problem
into a form that is possible. To perform even a simple operation
on each element of that array would take a very long time.

By way of perspective, if you measured a temperature at each latitude,
at each longitude, at each kilometer of altitude up to 100km, each hour
for 158 years, you'd have a data set about that size.

cheers,
bob
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: too many elements
Next Topic: Re: What does SET_PLOT, 'x' mean ?

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

Current Time: Wed Oct 08 19:00:04 PDT 2025

Total time taken to generate the page: 0.00520 seconds