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

Home » Public Forums » archive » Re: BIL to BSQ in chunks
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: BIL to BSQ in chunks [message #67936 is a reply to message #67935] Fri, 04 September 2009 09:58 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Sep 4, 12:19 pm, RATS <rafal...@gmail.com> wrote:
> Thank you for all your help.
> I thought I could avoid all the loops to speed up the process ... but
> your code does the job really fast.
> It took less then 4 minutes to covert 8089 lines. :)

I was just noticing that with those dimensions you files are ~2.2GB.
So the variables I used to calculate the file location (for point_lun)
are getting close to overflow. It would be better to change the
dimensions and indexes in the code I sent to type 64-bit integer:

ns=296LL ;samples
nb=492LL ;bands
nl=8000LL ;lines
nc=2L ;chunk size

That way their products will not overflow if the file is a little
larger.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL set_plot
Next Topic: isosurface tetrahedra question....

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

Current Time: Thu Oct 09 22:13:45 PDT 2025

Total time taken to generate the page: 0.87016 seconds