comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » reading ENVI hdr files in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
reading ENVI hdr files in IDL [message #67821] Thu, 27 August 2009 08:41
topher hughes is currently offline  topher hughes
Messages: 1
Registered: August 2009
Junior Member
Hi:

I am interested in reading in a variety of data files, all of which
have ENVI outputted hdr files. I am trying to find a nice, elegant way
(preferably written by someone else - my code is anything but
elegant!) to read in those files and extract data from them. In
particular, I'm interested in preserving things such as the wavelength
values associated with .sli files, seeing the format of the image (in
terms of samples, lines, bands, interleave, byte order), etc without
having to ask the user to simply type in that information each time
they select a file.

The closest things I've found to being relevant were references to
ENVI_SETUP_HEAD, which seems to do the exact opposite of what I need
(in that it prepares all the metadata for writing to an .hdr file).

Does anyone know of a nice way to do this, or is it best just to use
readf? I feel like I'm missing something really obvious here.

Thanks in advance!

--Topher
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to draw IDLgrPlots over IDLgrImages?
Next Topic: Re: reading ENVI hdr files in IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:32:16 PDT 2025

Total time taken to generate the page: 0.00521 seconds