Basic IDL/ENVI Input file/Apply calc/Output to new file [message #53375] |
Fri, 06 April 2007 19:34 |
petersodave
Messages: 1 Registered: April 2007
|
Junior Member |
|
|
I'm going to go ahead and apologize in advance for such a newbie
question, but I am *slowly* trying to learn the basics of how to write
ENVI functions. My particular problem is pretty simple, but I've been
trying to figure it out for far too long and need help. I simply want
to write a function that 1) opens a spectral library, 2) figures out
the dimensions of the file, 3) applies a calculation upon each spectra
and then 4) saves these manipulated spectra into a new spectral
library which has an appended name (for example, USGSSpecLib_appended)
and appropriate header file. Could someone give me an example of how
to do this?
Thanks for your help!
Dave
|
|
|