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

Home » Public Forums » archive » Re: RE trying to export pixel data from .dat files, based on coordinate loc
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: RE trying to export pixel data from .dat files, based on coordinate loc [message #71680 is a reply to message #71679] Tue, 13 July 2010 11:50 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Jul 13, 3:40 pm, Snow53 <jennifer_wa...@hotmail.com> wrote:
> Ok, I modified the code to just run off IDL (not calling ENVI)  to get
> around the need for .hdr and everything is working, but with one
> problem.  It runs great with up to six files. but then runs out of
> luns after that. I'm wondering if the problem lies in the file array
> (since 1000 files are named in the array). Any advice for how to fix
> this problem?

The pool of luns is small. As your code is, you are getting a new lun
from the pool at every file open, but not giving it back when done.
Just replace the "close,u" with a "free_lun,u".
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Selective Convolution
Next Topic: FITS IO Problem

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

Current Time: Wed Oct 08 17:46:28 PDT 2025

Total time taken to generate the page: 0.00436 seconds