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

Home » Public Forums » archive » use ENVI classic functions in IDL without openning ENVI GUI
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
use ENVI classic functions in IDL without openning ENVI GUI [message #87601] Mon, 17 February 2014 08:50 Go to next message
zhanli1986 is currently offline  zhanli1986
Messages: 2
Registered: February 2014
Junior Member
Hi, I'm using IDL 8.0 on a linux server. I've written some functions using ENVI classic functions. Now I need to open ENVI to make these ENVI functions usable in my function. But on the linux server opening GUI is super slow and every time I run my function I need to wait a very long time for the ENVI menu to be opened. And also because the server requires a client interact with the GUI from time to time. Otherwise it just disconnect the client and shut down the GUI. In this case I can submit a batch job of processing many files with IDL to the server computer cluster.

Is there anyway to use the ENVI classic functions in IDL without opening ENVI at all? Or at least hide the ENVI GUI or skip the GUI while running ENVI in the background on Linux? Has anybody tried it or had some suggestions? Using GUI on our linux server is such a pain... And I also want to just let the server process many files by its own without checking it out all the time. Thanks a lot!
Re: use ENVI classic functions in IDL without openning ENVI GUI [message #87682 is a reply to message #87601] Sat, 22 February 2014 09:59 Go to previous messageGo to next message
skymaxwell@gmail.com is currently offline  skymaxwell@gmail.com
Messages: 127
Registered: January 2007
Senior Member
we used ENVI+IDL

So to use ENVI routines in IDL programs, you must used the following commands

ENVI, /RESTORE_BASE_SAVE_FILES
ENVI_BATCH_INIT

It's can be used without ENVI GUI.
Look at help to get more information
Re: use ENVI classic functions in IDL without openning ENVI GUI [message #87955 is a reply to message #87682] Wed, 05 March 2014 18:19 Go to previous messageGo to next message
zhanli1986 is currently offline  zhanli1986
Messages: 2
Registered: February 2014
Junior Member
Thanks a lot. It works!

James.

On Saturday, February 22, 2014 12:59:07 PM UTC-5, skymaxwell wrote:
> we used ENVI+IDL
>
>
>
> So to use ENVI routines in IDL programs, you must used the following commands
>
>
>
> ENVI, /RESTORE_BASE_SAVE_FILES
>
> ENVI_BATCH_INIT
>
>
>
> It's can be used without ENVI GUI.
>
> Look at help to get more information
Re: use ENVI classic functions in IDL without openning ENVI GUI [message #88031 is a reply to message #87601] Wed, 12 March 2014 23:14 Go to previous message
Kenneth D is currently offline  Kenneth D
Messages: 3
Registered: March 2014
Junior Member
On Monday, February 17, 2014 9:50:57 AM UTC-7, zhanl...@gmail.com wrote:
> Hi, I'm using IDL 8.0 on a linux server. I've written some functions using ENVI classic functions. Now I need to open ENVI to make these ENVI functions usable in my function. But on the linux server opening GUI is super slow and every time I run my function I need to wait a very long time for the ENVI menu to be opened. And also because the server requires a client interact with the GUI from time to time. Otherwise it just disconnect the client and shut down the GUI. In this case I can submit a batch job of processing many files with IDL to the server computer cluster.
>
>
>
> Is there anyway to use the ENVI classic functions in IDL without opening ENVI at all? Or at least hide the ENVI GUI or skip the GUI while running ENVI in the background on Linux? Has anybody tried it or had some suggestions? Using GUI on our linux server is such a pain... And I also want to just let the server process many files by its own without checking it out all the time. Thanks a lot!

Another option for newer versions of ENVI+IDL 5.# is just e=ENVI(/HEADLESS).
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: cgBarplot and Titles
Next Topic: Difficulty using cgimage2kml for swath data plotted in a cylindrical (Map_set) projection

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

Current Time: Wed Oct 08 11:43:42 PDT 2025

Total time taken to generate the page: 0.00567 seconds