ENVI glt doit problem [message #42051] |
Tue, 21 December 2004 03:55  |
gareth mottram
Messages: 1 Registered: December 2004
|
Junior Member |
|
|
Hi, Has anyone here played with the envi_glt_doit proceadure in ENVI
4.0? I need to map small areas of a MODIS image using GLT's (I'm looking
at usig this as an alternative to my own routines,which are not perfect)
but I keep getting the error "INTARR: Expression must be a scalar or 1
element array in this context: O_NS"
This puzzles me somewhat as I am not exactly an IDL novice. Everything
seems in order according to the documentation, any ideas out there?
<snip>
envi_doit,'envi_glt_doit',dims=[-1,x_start,x_end,ystart,yend ],i_proj=geostruct
,o_proj=oproj,out_name='glt_temp',r_fid=glt_id,
pixel_size=[1000.0,1000.0],x_fid=x_fid,x_pos=[0],y_fid=y_fid , y_pos=[0],
rotation=0
</snip>
cheers
g
|
|
|
|
Re: ENVI glt doit problem [message #42455 is a reply to message #42051] |
Thu, 10 February 2005 05:44  |
wl2776
Messages: 13 Registered: February 2004
|
Junior Member |
|
|
> but I keep getting the error "INTARR: Expression must be a scalar or
1
> element array in this context: O_NS"
>
> This puzzles me somewhat as I am not exactly an IDL novice.
Everything
> seems in order according to the documentation, any ideas out there?
>
> <snip>
>
envi_doit,'envi_glt_doit',dims=[-1,x_start,x_end,ystart,yend ],i_proj=geostruct
> ,o_proj=oproj,out_name='glt_temp',r_fid=glt_id,
> pixel_size=[1000.0,1000.0],x_fid=x_fid,x_pos=[0],y_fid=y_fid ,
y_pos=[0],
> rotation=0
> </snip>
Argument pixel_size must be a scalar.
The documentation contains the error.
I have run into another problem.
After finishing pass 1 I get the error 'Cannot find file 70-glt-bsq.
The result may be invalid.'
Meanwhile, I can see this file in the working directory during
processing.
And when the error occurs, this file is absent.
It looks like procedure creates a teporary file and removes it before
processing is finished.
This error sometimes appear and sometimes - no.
|
|
|