Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to run mathematical calculation on monthly NDVI images from april to october. I stacked monthly NDVI images through april to october into an image (with 7 band) using ENVI. Now I wanna import this image into IDL. How can I do this? What kind of function or procedure should be written?

Please help me?

share|improve this question

Have you written IDL .pro programs before? It has a couple of functions such as READU and READ_BINARY. You'll need to know your data type (integer, float, etc.), the interleave (bip, bil, or bsq), and possibly the number of samples, lines, and bands if there's no .hdr associated with your binary dataset. Here's a starting point to get an overview of reading binary data:

share|improve this answer

Another option, assuming you're running ENVI 4.x or ENVI 5.0 (Classic) + IDL (i.e not ENVI runtime), is to click File->Export to IDL variable.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.