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

Home » Public Forums » archive » Re: How to read data with format codes?
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: How to read data with format codes? [message #70164 is a reply to message #70069] Sun, 14 March 2010 10:23 Go to previous messageGo to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article
<e5bdbfda-121a-41fb-8204-57764e0cc70d@g10g2000yqh.googlegroups.com>,
Adam Solomon <ramparts@gmail.com> wrote:

> Thanks! I was going to do that but I read on this website - dfanning
> something or other - to avoid for loops in IDL :) Figured a format
> code would save time since there's on the order of 10^6 data points
> here, but I guess that's nothing compared to all the time I'm spending
> writing the damn code!

When you are doing I/O, the slow parts of the operation are
most likely to be getting the data from the disk and converting
ASCII numerals to their internal binary representation. Using
a loop should have little impact on the time required.

Ken Bowman
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Calculate gradient
Next Topic: Re: Find out which area is covered in a map plot

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

Current Time: Sat Nov 29 10:55:48 PST 2025

Total time taken to generate the page: 0.06472 seconds