Questions tagged [idl-programming-language]

Interactive Data Language, a dynamically typed programming language used primarily for image analysis and data visualization. IDL is maintained and licensed by Harris Geospatial Solutions.

IDL (Interactive Data Language) is a dynamically typed programming language intended for processing and visualization of numerical data. IDL is currently maintained and licensed by Harris Geospatial Solutions. It is popular in particular areas of science such as earth science, astronomy, and medical imaging.

Additional information is available on Wikipedia.

Tagging recommendation:

Use the idl-programming-language tag for all IDL related questions. Do not use the idl tag; that is for Interface Description Language.

326 questions
0
votes
1 answer

idl/gdl ERROR: function not found or scalar subscript out of range

i try to solve this problem with my code. When i compile i have the follow error message: % POINCARE: Ambiguous: POINCARE: Function not found: XT or: POINCARE: Scalar subscript out of range [>].e % Execution halted at: POINCARE 38…
0
votes
1 answer

Can't find .pro file for Convert Map Projection?

I'm looking to batch process a convert map projection on a lot of files using IDL and ENVI, but I can't find the .pro file associated with convert map projection. Is it labelled differently? Or should I be using a different .pro file? I'm new to…
Scott
  • 127
  • 1
  • 1
  • 10
0
votes
2 answers

How can I get the pixel data corresponding to a shapefile with some coordinates' points in IDL?

What I want to get is the pixel's data corresponding to these points in the vector file. And add the maximum values arround the pixel in a window of 8 to the coordinate as a new value. I am a newcomer to IDL, how can I solve the problems ? Thank you…
0
votes
3 answers

IDL vector issue, appending values over ~ 30000

unfortunately I couldn't find an answer to this issue, and have had to result to asking a question. If there is an answer elsewhere, I apologise, I am new to IDL, and didn't know how to phrase this perfectly. My code is below: for i=0,delta-1 do…
0
votes
1 answer

Problems when using RyTrack, the GUI-based particle tracking interface written in IDL

I am using RyTrack(http://sun.iwu.edu/~gspaldin/rytrack.html) to do particle trakcing, and when I follow the instruction, as below INPUTS: (Once the GUI has been called ...) 1) Image directory: The path to the image sequence files of interest. …
Suicide Bunny
  • 894
  • 1
  • 10
  • 23
0
votes
2 answers

How to catch IDL "message" with /informational flag

I have a astronomy procedure that returns an error message, but it uses the /inf flag. With this flag, none of the normal error flags are set. So how would one catch such an error? For example, I call the procedure, it prints out the…
Doug
  • 387
  • 1
  • 2
  • 15
0
votes
1 answer

IDL: Using a 64bit .save file with a 32 bit virtual machine

If I compile a .save file in a 64 bit IDL version, will it work with the 32 bit IDL virtual machine?
user2333346
  • 1,083
  • 4
  • 21
  • 40
0
votes
2 answers

possible?: changing tickValues in IDL

how can I change the tickvalues of 3D axes in IDL? I have a data array of 200 x 200, and the tick values range from 0 to 200. But I want to have tickvalues from 3417000 to 3419000 for x and from 5334000 to 5336000 for y. Thanks a lot, Harald
Harald
  • 123
  • 4
0
votes
2 answers

arithmetic error: Floating illegal operand [IDL]

I have this code: close, 1 & openr,1,filename,error=err if (err ne 0) then begin close, 1 n=0 return endif line=fltarr(41) while(not(eof(1))) do begin readf,1,line endwhile And on the line readf,1,line I get the following…
alex
  • 10,900
  • 15
  • 70
  • 100
0
votes
1 answer

Multiple conditions in a While Loop - IDL

I am trying to create a multiple condition while loop in IDL with no success. For example: while (delta_flux gt 1.0) or (lt -1.0) do begin ;something here... endwhile returns: IDL> .run flare_finder_while_attempt5.pro while (delta_flux gt…
0
votes
2 answers

compiling file having path in variable (IDL)

Usually when I want to compile a file I can use .compile /home/.../file.pro But assume I have this path in variable only. Then the code below path = '/home/.../file.pro' .compile path returns error because compiler thinks path is a file and it…
alex
  • 10,900
  • 15
  • 70
  • 100
0
votes
1 answer

IDL D format -- 26/60 is not 26.d/60.d?

I am trying to write something like ep = 23 + (26/60) and this will give me ep=23; however, if I change either of the 26 or 60 to 26. or 26.d, ep=23.43 which is what I want. I am just curious about why is it like this? I try some searching, but the…
tomy
  • 3
  • 2
0
votes
1 answer

How LINFIT in IDL is represented in R?

I have a code written in IDL that I want to convert to R. within the code I found this function: result = linfit(dum_x, dum_y) y_a= result[0] y_b= result[1] "LINFIT function" which fits the paired data { xi , yi } to the linear model,…
sacvf
  • 2,463
  • 5
  • 36
  • 54
0
votes
1 answer

Finding indices of string array1 in string array2

I have two string arrays: A = ['i4x://C/2013/problem/b4ce36e6a5f745ddb061636fc86ed3cb', $ 'i4x://C/2013/problem/08b2360eea2a4a95930b073694f7b5b2', $ 'i4x://C/2013/problem/6f7493b64628424db6a46354179bd887'] And B =…
user2333346
  • 1,083
  • 4
  • 21
  • 40
0
votes
1 answer

Reading a binary file with IDL

I have an IDL routine that reads a binary data file. However, on this occasion, i'm getting "READU: End of file encountered. Unit 2, File: data.dat". Instead of destroying the binary file and re-creating it. Is this problem surmountable? What IDL…
stars83clouds
  • 795
  • 1
  • 8
  • 25