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

Home » Public Forums » archive » ENVI glt doit problem
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
ENVI glt doit problem [message #42051] Tue, 21 December 2004 03:55 Go to next message
gareth mottram is currently offline  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 #42190 is a reply to message #42051] Wed, 05 January 2005 05:25 Go to previous messageGo to next message
wita is currently offline  wita
Messages: 43
Registered: January 2005
Member
Hi,

this is not really an answer to your question but you may be interested
in using the MODIS reprojection tool available at:
http://edcdaac.usgs.gov/landdaac/tools/modis/index.asp

It can do the same thing and probably it does it faster then ENVI
regards,

Allard
Re: ENVI glt doit problem [message #42455 is a reply to message #42051] Thu, 10 February 2005 05:44 Go to previous message
wl2776 is currently offline  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.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Hdf5 convert
Next Topic: Re: Queries of .asp pages with IDL SOCKET command

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

Current Time: Wed Oct 08 13:47:46 PDT 2025

Total time taken to generate the page: 0.00651 seconds