encyclopegia.org

IDL (programming language)

IDL, short for Interactive Data Language, is a programming language used for data analysis.[src] It is popular in particular areas of science, such as astronomy, atmospheric physics and medical imaging.[src] IDL shares a common syntax with PV-Wave and originated from the same codebase, though the languages have subsequently diverged in detail.[src] There are also free or costless implementations, such as GNU Data Language (GDL) and Fawlty Language (FL).[src]

IDL, short for Interactive Data Language, is a programming language used for data analysis.[src] It is popular in particular areas of science, such as astronomy, atmospheric physics and medical imaging.[src] IDL shares a common syntax with PV-Wave and originated from the same codebase, though the languages have subsequently diverged in detail.[src] There are also free or costless implementations, such as GNU Data Language (GDL) and Fawlty Language (FL).[src] ==Overview== IDL is vectorized, numerical, and interactive, and is commonly used for interactive processing of large amounts of data (including image processing).[src] The syntax includes many constructs from Fortran and some from C.[src] IDL originated from early VMS Fortran, and its syntax still shows its heritage: x = findgen(100)/10 y = sin(x)/x plot,x,y The function in the above example returns a one-dimensional array of floating point numbers, with values equal to a series of integers starting at 0.[src] Note that the operation in the second line applies in a vectorized manner to the whole 100-element array created in the first line, analogous to the way general-purpose array programming languages (such as APL, J or K) would do it.[src] This example contains a division by zero; IDL will report an arithmetic overflow, and store a NaN value in the corresponding element of the array (the first one), but the other array elements will be finite.[src] The NaN is excluded from the visualization generated by the command.[src] As with most other array programming languages, IDL is very fast at doing vector operations (sometimes as fast as a well-coded custom loop in Fortran or C) but quite slow if elements need processing individually.[src] Hence part of the art of using IDL (or any other array programming language, for that matter) for numerically heavy computations is to make use of the built-in vector operations.[src] ==History== The predecessor versions of IDL were developed in the 1970s at the Laboratory for Atmospheric and Space Physics (LASP) at the University of Colorado at Boulder.[src] At LASP, David Stern was involved in efforts to allow scientists to test hypotheses without employing programmers to write or modify individual applications.[src] The first program in the evolutionary chain to IDL that Stern developed was named Rufus; it was a simple vector-oriented calculator that ran on the PDP-12.[src] It accepted two-letter codes that specified an arithmetic operation, the input registers to serve as operands, and the destination register.[src] A version of Rufus developed on the PDP-8 was the Mars Mariner Spectrum Editor (MMED).[src] MMED was used by LASP scientists to interpret data from Mariner 7 and Mariner 9.[src] Later, Stern wrote a program named SOL, which also ran on the PDP-8.[src] Unlike its predecessors, it was a true programming language with a FORTRAN-like syntax.[src] SOL was an array-oriented language with some primitive graphics capabilities.[src] Stern left LASP to found Research Systems Inc.[src] (RSI) in 1977.[src] The first RSI product was IDL for the PDP-11.[src] In this release, the graphics supported by IDL were primarily Tektronix terminals and raster graphics displays.[src] RSI sold its first IDL licenses to NASA's Goddard Space Flight Center and Ball Aerospace & Technologies Corp.[src] in 1979.[src] Two years later RSI released an initial VAX/VMS version of IDL, which was written in VAX MACRO and FORTRAN.[src] It took advantage of the VAX virtual memory and 32-bit address space.[src] The National Center for Atmospheric Research (NCAR), the University of Michigan, the University of Colorado, and the Naval Research Laboratory started to use IDL with this version.[src] In 1987 RSI shifted development work of IDL to the Unix environment, which required a complete re-write of the code in C rather than a port of the existing version of VAX IDL.[src] Stern and Ali Bahrami rewrote IDL for Unix on the Sun 3, taking advantage of the re-write to extend and improve the language.[src] Subsequently, IDL was further expanded and ported to several variants of Unix, VMS, Linux, Microsoft Windows (1992), and Mac OS (1994).[src] Widgets were added to IDL in 1992, providing event-driven programming with graphical user interfaces.[src] In 1997 ION (IDL On the Net), a web server-based system, was commercially released.[src] The first version of ENVI, an application for remote sensing multispectral and hyperspectral image analysis written in IDL, was released in 1994.[src] ENVI was created, developed and owned by Better Solutions Consulting, LLC, until it was purchased from BSC in October 2000 by Eastman Kodak coincident with their purchase of RSI.[src] RSI sold, marketed and supported ENVI under the terms of a license agreement with BSC, LLC from 1994 through October 2000.[src] New object and pointer types, and limited object-oriented programming capabilities, were added to IDL in 1997.[src] IDL has been applied widely in space science, for example in solar physics.[src] The European Space Agency used IDL to process almost all of the pictures of Halley's Comet taken by the Giotto spacecraft.[src] The team repairing the Hubble Space Telescope used IDL to help them diagnose anomalies in the main mirror.[src] In 1995, astronauts on board a Space Shuttle used IDL loaded on a laptop to study ultraviolet radiation.[src] Currently, amongst other applications, IDL is being used for most of the analysis of the SECCHI part of the STEREO mission at NRL, USA, and at the Rutherford Appleton Laboratory, UK.[src] RSI became a wholly owned subsidiary of ITT Industries in March 2004.[src] As of 15 May 2006, RSI began doing business as ITT Visual Information Solutions.[src] Effective 31 October 2011, as a result of restructuring, that company became Exelis Visual Information Solutions.[src] In 2015, IDL was purchased by Harris Geospatial Solutions which later became L3Harris Geospatial Solutions.[src] In April 2023, IDL was acquired by NV5 Geospatial.[src] ==Features== As a computer language, IDL: is dynamically typed.[src] has separate namespaces for variables, functions and procedures, but no namespace hierarchy.[src] was originally single threaded but now has many multi-threaded functions and procedures.[src] has all function arguments passed by reference; but see "problems", below.[src] has named parameters called keywords which are passed by reference.[src] provides named parameter inheritance in nested routine calls, by reference or value.[src] does not require variables to be predeclared.[src] provides COMMON block declarations and system variables to share global values among routines.[src] provides a basic form of object-oriented programming, somewhat similar to Smalltalk, along with operator overloading.[src] implements a persistent, global heap of pointer and object variables, using reference counting for garbage collection.[src] compiles to an interpreted, stack-based intermediate p-code (à la Java virtual machine).[src] provides a simple and efficient index slice syntax to extract data from large arrays.[src] provides various integer sizes, as well as single and double precision floating point real and complex numbers.[src] provides composite data types such as character strings, homogeneous-type arrays, lists, hash tables, and simple (non-hierarchical) record structures of mixed data types.[src] ==Problems== Some of these features, which make IDL very simple to use interactively, also cause difficulties when building large programs.[src] The single namespace is particularly problematic; for example, language updates that include new built-in functions have on occasion invalidated large scientific libraries.[src] Arrays are passed by reference, and this mechanism is an advertised feature of the language to pass data back out of a subroutine – in contrast, array slices are copied before being passed, so that data modifications do not flow back into array ranges (after the subroutine exits), violating the principle of least surprise.[src] Many historical irregularities survive from the early heritage of the language, requiring individual workarounds by the programmer.[src] As an example: Array indexing and subroutine entry can both be carried out with exactly the same syntax (parentheses); this ambiguity, coupled with the single namespace for all variables and subroutines, can cause code to stop working when newly defined subroutines or language extensions conflict with local variable names.[src] IDL programmers can avoid many of these problems by using square brackets for array indexing, thereby avoiding conflicts with function names which use parentheses.[src] The preceding issue can be alleviated using this compiler option: COMPILE_OPT STRICTARR ITT Visual Information Solutions (ITT VIS), the developers of IDL, have taken explicit steps to prevent bytecode compatibility with other environments.[src] Files containing compiled routines use a binary tagged-data-structure format that has not been officially published but has been investigated and documented by users but also contain the following notice as ASCII text embedded within each saved file: IDL Save/Restore files embody unpublished proprietary information about the IDL program.[src] Reverse engineering of this file is therefore forbidden under the terms of the IDL End User License Agreement (IDL EULA).[src] All IDL users are required to read and agree to the terms of the IDL EULA at the time that they install IDL.[src] Software that reads or writes files in the IDL Save/Restore format must have a license from NV5 Geospatial Solutions, Inc.[src] explicitly granting the right to do so.[src] In this case, the license will be included with the software for your inspection.[src] Please report software that does not have such a license to your account manager or sales representative.[src] , the statement has not been tested in a court of law.[src] Also, that provision of the IDL EULA has no effect in Australia, as a result of sections 47D and 47H of that country's Copyright Act.[src] ==Examples== The following graphics were created with IDL (source code included): Image of random data plus trend, with best-fit line and different smoothings Plots of delta-o-18 against age and depth (from EPICA and Vostok) coyote IDL gallery examples of IDL imaging ==Release Dates and Platform Support== ==See also== List of numerical-analysis software ENVI – an image processing software package built in IDL IRAF – a free, graphical data reduction environment produced by NOAO MATLAB – a technical computing environment providing similar capabilities to IDL NumPy – an extension for Python that gives it array math capabilities similar to those of IDL Perl Data Language (PDL) – An extension to Perl that gives it array math capabilities similar to those of IDL Scilab - a high-level, numerically oriented programming language designed for Scientific computing and interfaces Solarsoft – library for solar data analysis and spacecraft operation activities written predominately in IDL GDL – GNU Data Language, a free implementation similar to IDL.[src] Fawlty Language – Fawlty Language is an IDL8 (Interactive Data Language) compatible compiler.[src] ==References== ==External links== IDL home page Coyote's Guide to IDL Programming The IDL Astronomy User's Library at NASA Goddard Fawlty Language home page[src]

86 sentences · 86 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"IDL (programming language)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/idl-programming-language. Accessed 25 November 2026.

Chicago

"IDL (programming language)." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/idl-programming-language.

APA

encyclopegia.org. (2026). IDL (programming language). Retrieved November 25, 2026, from https://encyclopegia.org/wiki/idl-programming-language

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Claims

PredicateValueSource
release date1994Wikipedia

Related articles

official language

stub · references available

pan-Slavic language

stub · references available

Hawaiʻi Sign Language

stub · references available

Taiwanese Sign Language

stub · references available

Category:Programming languages

stub · references available

International Mother Language Day

stub · references available

polysynthetic language

stub · references available

Category:Films by country or language

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1369856486 · 0.5 · snapshot enwiki-001369856486

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.