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

Home » Public Forums » archive » Help with something that should be simple:
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
Help with something that should be simple: [message #71011] Fri, 14 May 2010 16:27
ska1 is currently offline  ska1
Messages: 2
Registered: May 2010
Junior Member
Hi,

Basically i have a script that makes a stack of 12 input files (22
layers). The script transforms them to all be the same interleave and
datatype(2=integer). The problem is that two of the multiband files
are byte.

When i try to use 'math_doit' for exp=fix(b1) i can not get it to
output a multiband file.

After opening the file and checking the datatype i have this chunck of
code:

IF (dt eq 1) THEN BEGIN

pos = lindgen(nb)

IF (nb GT 1) Then Begin
fidMath = strarr(nb)
for z =0, nb-1 Do fidMath[z]=fid
fid = fidMath
ENDIF
envi_doit,'math_doit', fid=fid, dims=dims, exp=exp, out_name =
out_name, pos=pos, r_fid = r_fid_int



But i am only getting a one band output!

fid= [25,25] pos=[0,1], dims = -1 0 7067
0 7198 and out_name has an appropriate value.



Please help me see what is going wrong!

thanks,
Karen
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Breaking files
Next Topic: Vertical Data in Google Earth KML

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

Current Time: Wed Oct 08 09:11:45 PDT 2025

Total time taken to generate the page: 0.00484 seconds