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

Home » Public Forums » archive » Re: reading portions of a large binary file
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: reading portions of a large binary file [message #74268] Sat, 08 January 2011 07:41 Go to previous message
oxfordenergyservices is currently offline  oxfordenergyservices
Messages: 56
Registered: January 2009
Member
On Jan 8, 3:38 pm, geoff <oxfordenergyservi...@googlemail.com> wrote:
> On Jan 8, 3:00 pm, David Fanning <n...@dfanning.com> wrote:
>
>> geoff writes:
>>> if the answer I am looking for is read_binary, then I've found it!
>
>> The answer could well be Read_Binary, but the method
>> underlying that would be the associated variable method
>> of reading the data. See the ASSOC command in IDL.
>
> thanks.  i used
>
> strip=read_binary('bin',data_start=na*4,data_type=4,data_dim s=[n2-
> n1+1])
>
> which seems to work fine except when na gets too big (my offset is 3
> billion or so)
>
> I assume I'll have the same problem in assoc because long ints don't
> go that high?
>
> i'm assuming this is not possible then for an offset greater than max
> of long?

ahh! long64. all working! thanks David
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: reading portions of a large binary file
Next Topic: Re: Read large ascii file quickly

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

Current Time: Fri Oct 10 09:37:53 PDT 2025

Total time taken to generate the page: 0.56122 seconds