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

Home » Public Forums » archive » Exporting files in a multibands file
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
Exporting files in a multibands file [message #38353] Wed, 03 March 2004 06:12 Go to next message
cinthia.loial is currently offline  cinthia.loial
Messages: 5
Registered: February 2002
Junior Member
Hi all,


I have opened files (same dimension and type) that are stored in
memory in ENVI.
I would like now to export all these layers inside a unique file in
the following formats:
- ENVI_BIL
- GEOTIFF
- ERDAS
- ER_MAPPER

Exporting in done in batch mode ie. I am not using the graphical
interface.

I am using ENVI_OUTPUT_TO_EXTERNAL_FORMAT with respectively
/ENVI
/TIFF
/ERDAS
/ERMAPPER

and FID = arrays of my file identifiers
POS = lindgen(number of Bands)

Any suggestions why this does not work and copy the first layer into
all the bands.

Regards,

Cinthia
Re: Exporting files in a multibands file [message #38428 is a reply to message #38353] Mon, 08 March 2004 21:14 Go to previous message
tianyf_cn is currently offline  tianyf_cn
Messages: 19
Registered: November 2002
Junior Member
cinthia.loial@infoterra-global.com (Cinthia) wrote in message news:<7fc8030a.0403030612.8c0e26b@posting.google.com>...
> Hi all,
>
>
> I have opened files (same dimension and type) that are stored in
> memory in ENVI.
> I would like now to export all these layers inside a unique file in
> the following formats:
> - ENVI_BIL
> - GEOTIFF
> - ERDAS
> - ER_MAPPER
>
> Exporting in done in batch mode ie. I am not using the graphical
> interface.
>
> I am using ENVI_OUTPUT_TO_EXTERNAL_FORMAT with respectively
> /ENVI
> /TIFF
> /ERDAS
> /ERMAPPER
>
> and FID = arrays of my file identifiers
> POS = lindgen(number of Bands)
>
> Any suggestions why this does not work and copy the first layer into
> all the bands.
>
> Regards,
>
> Cinthia

I think ENVI_OUTPUT_TO_EXTERNAL_FORMAT can only perform conversion
work (not include merging). You can use CF_DOIT to combine all the
single bands into one temporary file and then output it ot other
formats.

Tian.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Entry Level IDL QA Test Engineers Needed
Next Topic: Re: Problem with sensitivity of a Draw widget (also in XROI.pro)

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

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

Total time taken to generate the page: 0.01358 seconds