READ_ENVI_HEADER
Name
READ_ENVI_HEADER
Purpose
This function serves to read an ENVI header directly into
an IDL program.
Category
Image Processing.
Calling Sequence
Result = READ_ENVI_HEADER( filename )
Inputs
Filename
The ENVI header filename to be read.
Keyword Parameters
NONE
Return Value
A structure containing the ENVI header information from the
provided file. If any error is encountered during this process,
the scalar -1 will be returned.
Side Effects
NONE
Modification History
Written by: Carl Salvaggio
July, 2009 Original code
December, 2009 Header now includes the byte order
Disclaimer
This source code is provided "as is" and without warranties as to performance
or merchantability. The author and/or distributors of this source code may
have made statements about this source code. Any such statements do not
constitute warranties and shall not be relied on by the user in deciding
whether to use this source code.
This source code is provided without any express or implied warranties
whatsoever. Because of the diversity of conditions and hardware under which
this source code may be used, no warranty of fitness for a particular purpose
is offered. The user is advised to test the source code thoroughly before
relying on it. The user must assume the entire risk of using the source code.