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

Home » Public Forums » archive » RTV_DOIT to EVF
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: RTV_DOIT to EVF [message #85906 is a reply to message #85904] Tue, 17 September 2013 05:56 Go to previous message
Josh Sixsmith is currently offline  Josh Sixsmith
Messages: 13
Registered: December 2012
Junior Member
On Tuesday, 17 September 2013 07:30:53 UTC+10, ilya85p...@gmail.com wrote:
> In other words, is it possible to save RTV_DOIT output to disk as an evf file?

I'm pretty sure that evf is the only format that the RTV_DOIT procedure outputs to disk. Your call to this procedure may not actually be correct, which maybe causing your evf file to not be generated correctly.

From your example:
ENVI_DOIT, 'RTV_DOIT', DIMS=dims, FID=fid, /IN_MEMORY, OUT_NAME=out_name, L_NAME=l_name, POS=0, VALUES=0

Only the value of zero in your raster will be converted to vector. The keywords in_memory, outname, l_name, pos & values all need to be arrays of the same length.

So for your case only the value of zero is wanted for conversion to vector:
pos =[0]
values=[0]
in_memory=lonarr(0)
out_name = ['test_zero_value.evf']
l_name = ['zero_class']

That is probably what you're after.

Cheers
Josh
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Problem running functions
Next Topic: chisq value

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

Current Time: Wed Oct 08 19:26:46 PDT 2025

Total time taken to generate the page: 0.00444 seconds