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

Home » Public Forums » archive » Re: create *.img-file in ENVI/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
Re: create *.img-file in ENVI/IDL [message #20342] Tue, 13 June 2000 00:00
Nando Iavarone is currently offline  Nando Iavarone
Messages: 48
Registered: December 1998
Member
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<body bgcolor="#FFFFFF">
J&ouml;rg Schliwa wrote:
<blockquote TYPE=CITE><style></style>
<font size=-1>Thanks for the tip
so far, but now I got a problem with creating the header. Is there a dialog
for selecting the projection parameters, e.g. 'Gauss Kruger Zone 2', or
do I have to write a dialog on my own? In ENVI's menue irregular points
to grid is such a dialog present.</font>
<br><font size=-1>Any ideas?</font>
<br><font size=-1>Joerg</font></blockquote>

<p><br>....sure&nbsp; ;o)
<br>why don't you try with widget_map ENVI widget?
<br>in auto_manage it is very simple to handle it.
<p>best regards,
<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; Nando.
<br>&nbsp;
<pre>--&nbsp;
Nando Iavarone
Advanced Computer System - SPACE DIVISION
via Lazzaro Belli, 23
00040&nbsp; Frascati - RM
Tel: +39-6-944091 (switchboard)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 9440968 (direct)
E-mail:&nbsp;
&nbsp;&nbsp;&nbsp; f.iavarone@acsys.it
&nbsp;&nbsp;&nbsp; FrdndVrn@altavista.net</pre>
&nbsp;
</body>
</html>
Re: create *.img-file in ENVI/IDL [message #20343 is a reply to message #20342] Tue, 13 June 2000 00:00 Go to previous message
J�rg Schliwa is currently offline  J�rg Schliwa
Messages: 12
Registered: April 2000
Junior Member
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2919.6307" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Thanks for the tip so far, but now I got a problem with
creating the header. Is there a dialog for selecting the projection parameters,
e.g. 'Gauss Kruger Zone 2', or do I have to write a dialog on my own? In ENVI's
menue irregular points to grid is such a dialog present.<BR>Any
ideas?<BR>Joerg<BR></FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV>Nando Iavarone &lt;<A
href="mailto:f.iavarone@acsys.it">f.iavarone@acsys.it</A>&gt; schrieb in im
Newsbeitrag: <A
href="mailto:394390DC.1B8B6C@acsys.it">394390DC.1B8B6C@acsys.it</A>...</DIV>"Jörg
Schliwa" wrote:
<BLOCKQUOTE TYPE="CITE">I'm just starting in programming with IDL in ENVI
and I want to save an <BR>array to an ENVI-image-file *.img. But somehow I
can't find the right <BR>function. <BR>&nbsp;</BLOCKQUOTE>
<P><BR>you have to write the file with the well known IDL function <BR>(openW,
writeU, close) for file writing. <BR>after the writing you have to create the
ENVI header file .hdr using the function <BR>ENVI_SETUP_HEAD. this function
has a lot of keyword describing the file dimensions (in pixels), the data
type, etc. Refer to the ENVI help for the keyword to use. It is quite
documented.
<P>Best regards. <PRE>--&nbsp;
Nando Iavarone
Advanced Computer System - SPACE DIVISION
via Lazzaro Belli, 23
00040&nbsp; Frascati - RM
Tel: +39-6-944091 (switchboard)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 9440968 (direct)
E-mail:&nbsp;
&nbsp;&nbsp;&nbsp; f.iavarone@acsys.it
&nbsp;&nbsp;&nbsp; FrdndVrn@altavista.net</PRE>&nbsp;
</BLOCKQUOTE></BODY></HTML>
Re: create *.img-file in ENVI/IDL [message #20348 is a reply to message #20342] Mon, 12 June 2000 00:00 Go to previous message
cjengo is currently offline  cjengo
Messages: 28
Registered: June 1999
Junior Member
What makes a file an "ENVI" file is the associated text header (.hdr)
file. Write your array to a file using 'writeu', then set-up a header
file with 'envi_setup_head' using all the appropriate parameters. Be
sure to set the write (/write) keyword... Took me a while to figure out
why it wouldn't actually write the file to disk!

Chris

In article <8htpqg$seb$1@ac1.ewetel.de>,
"J�rg Schliwa" <joerg.schliwa@ewetel.net> wrote:
> I'm just starting in programming with IDL in ENVI and I want to save
an
> array to an ENVI-image-file *.img. But somehow I can't find the right
> function.
>
> Can somebody help me?
>
> Thanks in advance,
> Joerg
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Why do two graphics objects in the same program appear in two different windows?
Next Topic: Re: Contour plots on xz and yz surfaces

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

Current Time: Wed Oct 08 18:40:53 PDT 2025

Total time taken to generate the page: 0.00583 seconds