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

Home » Public Forums » archive » Re: ASCII TEMPLATE (read the 31 column of ascii file only)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: ASCII TEMPLATE (read the 31 column of ascii file only) [message #60854] Thu, 19 June 2008 04:07
lbnc is currently offline  lbnc
Messages: 15
Registered: January 2005
Junior Member
On 18 Jun, 20:30, 3Rs <bernat.puigdomen...@gmail.com> wrote:
> It's a possibility...
>
> And using READ_ASCII and ASCII_TEMPLATE, any suggestions ?

With READ_ASCII and ASCII_TEMPLATE you can only read in the entire
file. Afterwards you can then select the 31st column. Unless you put a
special ASCII character before the 31st column and use that as your
delimiter in ASCII_TEMPLATE.

I suggest you read about READF and format codes.

So long
Lasse Clausen
Re: ASCII TEMPLATE (read the 31 column of ascii file only) [message #60857 is a reply to message #60854] Wed, 18 June 2008 12:33 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
3Rs writes:

> And using READ_ASCII and ASCII_TEMPLATE, any suggestions ?

Perfect solutions if your goal is to write the slowest
possible code. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: ASCII TEMPLATE (read the 31 column of ascii file only) [message #60858 is a reply to message #60857] Wed, 18 June 2008 12:30 Go to previous message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
It's a possibility...

And using READ_ASCII and ASCII_TEMPLATE, any suggestions ?
Re: ASCII TEMPLATE (read the 31 column of ascii file only) [message #60859 is a reply to message #60858] Wed, 18 June 2008 12:06 Go to previous message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
On Jun 18, 1:57 pm, 3Rs <bernat.puigdomen...@gmail.com> wrote:
> Hi people,
>
> Anybody knows how to read the 31 column of the ascii file with a
> template ?
> I dont know how to configurate the template for read the 31 column
> only.
>
> Thanks,
>
> 3Rs

I think you'd be better off using READF.
See http://www.dfanning.com/tips/ascii_column_data.html
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: autocorrelation with Missing Values
Next Topic: Can't pass data with CALL_EXTERNAL to C function

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

Current Time: Fri Oct 10 08:18:53 PDT 2025

Total time taken to generate the page: 0.40241 seconds