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
2 answers

Writing Data into columns in a file (IDL)

I am trying to write some data into columns in IDL. Let's say I am calculating "k" and "k**2", then I would get: 1 1 2 4 3 9 . . and so on. If I write this into a file, it looks like this: 1 1 2 4 3 9 . . My corresponding code looks…
ollowain86
  • 19
  • 4
0
votes
1 answer

Where are the source-codes contained in the IDL-directory?

can someone tell me, where i can find the source-codes contained in the IDL-Directory. In IDL one can run "demo". Under "Math and Statistics" -> "Math and Statistics Demo", there is as an example a polynomial fit. Where is the source-code for this…
ollowain86
  • 19
  • 4
0
votes
1 answer

How to use envi setup head function?

I don't understand the envi_setup_head. Could anyone help me write it in IDL code format? I have maps that were produced in IDL and I need to process them in ENVI. I don't know how to save the images in a folder and be able open them in ENVI. Does…
Chyrel
  • 1
  • 1
0
votes
1 answer

GeoTIFF to HDF Conversion?

I'm in a big trouble. I've downloaded a GeoTIFFF Dataset from http://earthexplorer.usgs.gov/ ; my problem is that I need the dataset in HDFv4 format, because I've to open it in IDL (please don't tell me "IDL can open GeoTIFF", I NEED HDFv4 format) .…
Leo91
  • 1,741
  • 3
  • 13
  • 20
0
votes
1 answer

Stack drone images in IDL_overlap degree

I have about 6000 aerial images taken by 3DR drone for vegetation sites. The images have to overlap to some extant because the drone flights cover the area go from EW and then again NS, so the images present the same area from two directions. I need…
Chyrel
  • 1
  • 1
0
votes
0 answers

Using openmp in a shared library destined for IDL

I have a C shared library used by IDL (on Linux). It gets compiled with: make_dll,input_files,exported_routines,compile_directory=compilation_dir,EXTRA_CFLAGS="",EXTRA_LFLAGS="-flto" I'm trying to use openmp in the code of the library. It works in…
dargaud
  • 2,431
  • 2
  • 26
  • 39
0
votes
1 answer

Printing error in IDL: 32700+99

If I print 32700+99 in IDL it gives me -32737 but 33700.0+99 gives me 33799.0. Why is IDL print wrong for 32700+99? Of course 32700.+99 gives, 32799.0, right answer.
SUV
  • 53
  • 6
0
votes
1 answer

Why IDL have different value in same expression?

I'm doing some image processing with IDL, and it required a high-precision. But when I debug my colleague's program, I find some thing strange: IDL> lat,y_res 45.749001 0.00026999999 IDL> lat - findgen(10)*y_res + y_res * 0.5 +…
Nico
  • 403
  • 3
  • 8
0
votes
1 answer

How can I find the intersection of 2 sets of noisy data?

I'm currently writing a script that is supposed to remove redundant data points from my graph. My data includes overlaps from adjacent data sets and I only want the data that is generally higher. (Imagine two Gaussians with an x offset that overlap…
0
votes
1 answer

Python IDL bridges: Envi functions

my aim is to use a script written in IDL, into python: IDL code: PRO PS_GS ; Start the application e = ENVI() ;Generate the roi from a vector file ; Open a vector file file_vec = Filepath('Sic_Trapani.shp', ROOT_DIR = 'E:\mydirectory\') vettore =…
Lorenzo NAIS
  • 61
  • 1
  • 8
0
votes
2 answers

Replicate IDL 'smooth' in Python 2.7

I have been trying to work out how to replicate IDL's smooth function in Python and I just can't get anything like the same results. (Disclaimer: It is probably 10 years since I touched this kind of mathematical problem so it has been dumped to…
emmalg
  • 346
  • 2
  • 12
0
votes
1 answer

How to accept arrays in my defined function

When I try to feed the following function an array, it gives me the following error: % Expression must be a scalar or 1 element array in this context: . How to modify such that I can either give it a scalar or array? ; return integer -1, 0, or 1,…
SilvanD
  • 325
  • 2
  • 14
0
votes
1 answer

Error when defining function in IDL: "programs can't be compiled in single statement mode"

I'm working with IDL Version 8.0.1, Windows 7 Operating system. When trying to define a function in the command line, I get the error "programs can't be compiled in single statement mode". Not quite sure how to fix.
SilvanD
  • 325
  • 2
  • 14
0
votes
1 answer

IDL, splitting array data into blocks

new to the site so first of all thanks to everyone that contributes here, it's awesome. I'm also new to IDL, trying to use it to analyse some data. Basically, I have a set of data with which I want to find the likelihood of an event. For part of…
stargafs
  • 1
  • 1
0
votes
0 answers

Fitting ellipse with fixed axes ratio

My problem is such that I need to reconstruct a circular surface which is observed from an oblique angle so that it shows in the image as an ellipse. From other image parts I can construct the scale in X and Y directions so that I have knowledge of…
planetmaker
  • 5,884
  • 3
  • 28
  • 37