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

Home » Public Forums » archive » idl call envi function, running with out ENVI?
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
idl call envi function, running with out ENVI? [message #77313] Tue, 23 August 2011 20:26 Go to next message
wxfei19@gmail.com is currently offline  wxfei19@gmail.com
Messages: 2
Registered: August 2011
Junior Member
I just write a simple IDL program, while the major code write in IDL
with some function of ENVI to speed up my programing.

example:
PRO test_read
COMPILE_OPT idl2
file_name = DIALOG_PICKFILE(/READ,FILTER='*.*')
ENVI_OPEN_FILE, file_name, r_fid=r_dem,/NO_REALIZE
IF (r_dem EQ -1) THEN RETURN
END

I hope to release this code running without ENVI, what should I do?
Re: idl call envi function, running with out ENVI? [message #77406 is a reply to message #77313] Wed, 24 August 2011 17:13 Go to previous message
jeffnettles4870 is currently offline  jeffnettles4870
Messages: 111
Registered: October 2006
Senior Member
On Aug 23, 11:26 pm, "wxfe...@gmail.com" <wxfe...@gmail.com> wrote:
> I just write a simple IDL program, while the major code write in IDL
> with some function of ENVI to speed up my programing.
>
> example:
> PRO test_read
>   COMPILE_OPT idl2
>   file_name = DIALOG_PICKFILE(/READ,FILTER='*.*')
>   ENVI_OPEN_FILE, file_name, r_fid=r_dem,/NO_REALIZE
>   IF (r_dem EQ -1) THEN RETURN
> END
>
> I hope to release this code running without ENVI, what should I do?

Are you asking how to read an envi file without envi running (ie,
using just idl)? If so that's easy, it's just a matter of the
specifics you need to achieve (ie, do you know the dimensions
beforehand?). Why don't you explain what you want to do a little
better...
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: polar_cgContour?
Next Topic: Re: Gridding Satellite Data

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

Current Time: Wed Oct 08 13:42:27 PDT 2025

Total time taken to generate the page: 0.00498 seconds