idl call envi function, running with out ENVI? [message #77313] |
Tue, 23 August 2011 20:26  |
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  |
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...
|
|
|