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

Home » Public Forums » archive » IDL Array Indices Command
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: IDL Array Indices Command [message #90650 is a reply to message #90649] Fri, 20 March 2015 06:30 Go to previous messageGo to previous message
David B is currently offline  David B
Messages: 18
Registered: January 2015
Junior Member
On Friday, March 20, 2015 at 1:24:19 PM UTC, Fabien wrote:
> On 20.03.2015 13:51, David B wrote:
>> IDL> help, cl_xy
>> CL_XY LONG = Array[2, 118090]
>>
>> This array seems to be causing issues with the array indices command:
>>
>> IDL> col_eight = FIX(DISTANCE_MEASURE(cl_xy, /MATRIX,MEASURE = 2), type = 3)
>>
>> % Illegal subscript range: INDEX1.
>> % Execution halted at: CLOUDWALKER 979 /home/dbresnahan/idl/cloudroutines/cloudwalke
>> r/cloudwalker.pro
>> % $MAIN$
>
>
> I tried your example with a smaller input and it worked fine. According
> to the documentation, with the /MATRIX keyword you are going to build a
> matrix of 118090 x 118090 elements, which could be the reason for crashing.
>
> Fabien

That is unfortunate.

Thanks a lot for your help. I know it is a massive array, but I thought IDL could handle it. Mistaken I am.

David
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: PLOT3D format input
Next Topic: assign an array to an element in another array

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

Current Time: Wed Oct 08 15:55:50 PDT 2025

Total time taken to generate the page: 0.00217 seconds