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

Home » Public Forums » archive » Re: Lots of files
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: Lots of files [message #53056 is a reply to message #53054] Fri, 16 March 2007 13:53 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Lasse Clausen writes:

> I would like to split the one file into 31. In fact, I would like to
> open all 32 files, loop through the big file and put the data
> according to the index into the small file. However, IDL only lets me
> open 28 files at a time, right?
> IDL Help for Get_lun says: The file unit number obtained is in the
> range 100 to 128.
> So I end up opening and closing the according small file during each
> loop which works great, however it is excruciatingly slow due to all
> the waiting for the hard disk.
>
> Ah, and the number of stations varies, sometimes its 21, sometimes 29,
> most of the time 30, I never know what it is going to be. Therefore, I
> can only use the point_lun procedure to skip from data to data
> belonging to one station if I parse the stations first. Which I could
> do, but maybe one of you has a better idea? Any thoughts?

I would use the pool of LUNs from 1 to 99, rather than the
pool IDL access with GET_LUN from 100 to 128.

OPENW, 1, ...
OPENW, 2, ...
...
OPENW, 99, ...

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: mosaic_doit : the ghost
Next Topic: replicating arrays

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

Current Time: Sat Oct 11 16:20:28 PDT 2025

Total time taken to generate the page: 0.72044 seconds