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

Home » Public Forums » archive » Re: envi batch mode and envi_select
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: envi batch mode and envi_select [message #59925] Tue, 22 April 2008 11:43 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
jeffnettles4870@gmail.com writes:

> I haven't used ENVI_SELECT in batch mode, but have you tried setting
> the FID keyword when you call it? It might be that the newer versions
> of ENVI require this keyword since, to me at least, it doesn't seem
> like it makes a lot of sense to call ENVI_SELECT without getting the
> FID of the file that was selected. Otherwise how could you tell which
> file the user selected?

It's hard to know what exactly you mean by "batch" mode,
but calling an interactive selection tool wouldn't be
in my definition of it, that's for sure. Why don't you
describe what it is you are really trying to do here.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: envi batch mode and envi_select [message #59927 is a reply to message #59925] Tue, 22 April 2008 11:21 Go to previous messageGo to next message
jeffnettles4870 is currently offline  jeffnettles4870
Messages: 111
Registered: October 2006
Senior Member
On Apr 22, 11:09 am, "skymaxw...@gmail.com" <skymaxw...@gmail.com>
wrote:
> I found trouble with ENVI batch mode. For ENVI 4.1/4.2 help shown that
> batch mode can be tested by following commands
>
> IDL> ENVI,/RESTORE_BASE_SAVE_FILES
> IDL> ENVI_BATCH_INIT
>
> and for testing
>
> IDL> ENVI_SELECT
>
> Now, in ENVI 4.4 ENVI_SELECT in this sequence not working
> Error message is:
>
> IDL> ENVI_SELECT
> Variable is undefined: <No name>.
> Execution halted at: WIDGET_MODAL_BASE
> ENVI_SELECT
> $MAIN$

I haven't used ENVI_SELECT in batch mode, but have you tried setting
the FID keyword when you call it? It might be that the newer versions
of ENVI require this keyword since, to me at least, it doesn't seem
like it makes a lot of sense to call ENVI_SELECT without getting the
FID of the file that was selected. Otherwise how could you tell which
file the user selected?

Jeff
Re: envi batch mode and envi_select [message #60035 is a reply to message #59925] Fri, 25 April 2008 12:37 Go to previous message
cgpadwick is currently offline  cgpadwick
Messages: 7
Registered: December 2007
Junior Member
On Apr 22, 12:43 pm, David Fanning <n...@dfanning.com> wrote:
> jeffnettles4...@gmail.com writes:
>> I haven't used ENVI_SELECT in batch mode, but have you tried setting
>> the FID keyword when you call it? It might be that the newer versions
>> of ENVI require this keyword since, to me at least, it doesn't seem
>> like it makes a lot of sense to call ENVI_SELECT without getting the
>> FID of the file that was selected. Otherwise how could you tell which
>> file the user selected?
>
> It's hard to know what exactly you mean by "batch" mode,
> but calling an interactive selection tool wouldn't be
> in my definition of it, that's for sure. Why don't you
> describe what it is you are really trying to do here.
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

pro temp
envi,/restore_base_save_files
envi_batch_init
envi_select
envi_batch_exit
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL PDF Book No Longer Available
Next Topic: Very complicated visualization problem

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

Current Time: Thu Oct 09 06:41:04 PDT 2025

Total time taken to generate the page: 1.92116 seconds