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

Home » Public Forums » archive » Re: idl call envi function, running with out ENVI?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: idl call envi function, running with out ENVI? [message #77312] Tue, 23 August 2011 23:53 Go to previous message
Maxwell Peck is currently offline  Maxwell Peck
Messages: 61
Registered: February 2010
Member
On Aug 24, 1: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?

You must also have a envi_get_data in there somewhere if you're using
IDL functions.

What you probably want to do (assuming you know the details of the dem
format) is use the IDL read_binary function just to read it into an
array.

Max
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to "reuse" a function graphics plot window?
Next Topic: Can IDL receive messages from dlls using call_external

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

Current Time: Wed Oct 08 13:31:13 PDT 2025

Total time taken to generate the page: 0.00510 seconds