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

Home » Public Forums » archive » ENVI File Question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
ENVI File Question [message #55796] Wed, 12 September 2007 13:43 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

I have an ENVI file question. I just want to open a Geotiff
file, do some small amount of processing on it, and save
it as an image file ENVI can read. This seems about as
straightforward as it can be.

I found an ENVI procedure named ENVI_SETUP_HEAD that looks
like what I need to create the ENVI header for this very
simple file. My program runs, my ENVI_SETUP_HEAD command
gets called. All appears well, but the header file never gets
created. (Or at least it doesn't get created in the same
place as my image file!)

Here is the output from my program:

Image Filename: /home/fanning/b2.img
ENVI Header Filename: /home/fanning/b2.img.hdr

The image file is there. The header file is not.

Do I have to do something else to write the header?

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Running IDL .pro script from another app, using the IDL API
Next Topic: error in a simple pro

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

Current Time: Thu Oct 09 22:41:34 PDT 2025

Total time taken to generate the page: 1.80313 seconds