X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 16 Feb 2014 05:30 PM by  anon
use envi classic functions in idl without openning envi gui
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:2
New Member


--
16 Feb 2014 05:30 PM
    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. 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? Thanks a lot! Using GUI on our linux server is such a pain...

    Berangere Casson



    New Member


    Posts:61
    New Member


    --
    18 Feb 2014 01:43 AM
    Below is an example of ENVI batch code that does not start the ENVI GUI. Hope it helps. PRO CLASSIC_WRITE_FILE COMPILE_OPT IDL2 ; Start ENVI Classic ENVI, /RESTORE_BASE_SAVE_FILES ENVI_BATCH_INIT ; Open file file = FILEPATH('qb_boulder_msi', ROOT_DIR=ENVI_GET_PATH(), $ SUBDIR=['..','data']) ENVI_OPEN_FILE, file, R_FID = fid ENVI_FILE_QUERY, fid, DIMS = dims ; Retrieve the first band of the data data = ENVI_GET_DATA(FID = fid, DIMS = dims, pos = 0) help,data END
    You are not authorized to post a reply.