X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 22 Jun 2011 11:57 AM by  anon
Running IDL scripts (that includes ENVI functions) silenty
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
22 Jun 2011 11:57 AM
    I am running an idl script that includes the below line in a for loop (million times). ENVI_DOIT, 'TOPO_DOIT', FID = fid, ELEVATION = elev, AZIMUTH = azim, $ BPTR = [2], DIMS = dims, POS = [0], R_FID = r_fid, $ PIXEL_SIZE = pixel_size, IN_MEMORY = 1 Above line calculates the shaded relief of a single pixel (only 1 line and 1 sample) at each time. Whenever I run this comment, idl pops-up a small rectangle window on the screen saying "Topo Modelling .. Input File= C:\..., Output to Memory"... This small window has the same size as the "cursor location value" rectangle window in ENVI.. However, I believe, this popping-up window process consumes too much time and slows down the entire process (practically the script never finishes). Actually I do not have any other computation but this line inside my for loop. I tried running this idl script under "command line" version of idl but this window still pops-up.. Is there a way to get away from this window while running my idl script? Thanks Ray Laymon,

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    22 Jun 2011 02:11 PM
    You can use the /NO_STATUS_WINDOW keyword when you call ENVI_BATCH_INIT.
    You are not authorized to post a reply.