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 #90649 is a reply to message #90648] Fri, 20 March 2015 06:24 Go to previous messageGo to previous message
Fabzi is currently offline  Fabzi
Messages: 305
Registered: July 2010
Senior Member
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
[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:38 PDT 2025

Total time taken to generate the page: 0.00450 seconds