Re: envi batch mode and envi_select [message #59925] |
Tue, 22 April 2008 11:43  |
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 #60035 is a reply to message #59925] |
Fri, 25 April 2008 12:37  |
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
|
|
|