X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 05 Jun 2015 07:01 PM by  anon
Using ENVI API to access functions?
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:29
New Member


--
05 Jun 2015 07:01 PM
    Hi all, I'm creating IDL scripts to allow the automation and scheduling of turning LAS data into raster data, and am fairly new to IDL scripting. It can be done with these ( http://bcal.boisestate.ed...ols/lidar)extensions from Boise Idaho with the ENVI interface pulled up, but I want to be able to do this with ENVI headless. Can I use a part of the ENVI API and functions to call an extension, or do I need to re-write the source code of the extensions? Thanks!

    Deleted User



    Basic Member


    Posts:228
    Basic Member


    --
    10 Jun 2015 12:38 PM
    It is an interesting question. The code was obviously not written to be used that way. And there may very well be commands in the code that will not work when running ENVI without the GUI. But you could try restoring the *.sav file in your ENVI+IDL session, using IDL's RESTORE routine and then running whatever routines are restored, to see. - Peg

    Deleted User



    New Member


    Posts:29
    New Member


    --
    13 Jun 2015 12:33 PM
    Restoring the file results in IDL version compatibility issues and as you guessed I looked into it some more and realized the code wasn't signed to be ran this way. I'm going through the source code and manually modifying it for this task. Thanks for your suggestion. It helped get the ball rolling.
    You are not authorized to post a reply.