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 the data like this?
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 the data like this? [message #36535 is a reply to message #36532] Wed, 01 October 2003 16:05 Go to previous messageGo to previous message
wang_likun is currently offline  wang_likun
Messages: 2
Registered: October 2003
Junior Member
Thanks a lot, it works.

Likun~

Wonko@wonkology.org (Alex Schuster) wrote in message news:<8up3jj2ed8B@wonkology.org>...
> wang_likun@yahoo.com (wang_likun@yahoo.com) writes:
>
>> Hi,all:
>
>> Could you give me help to read the data with fixed column and rows but
>> containing some missing data? Something like this:
>
> [...]
>
> You can do this easily using READ_ASCII. Create a template before
> this, using fixed width:
>
> mytemplate = ascii_template( filename )
> result = read_ascii( filename, template=mytemplate )
>
> If you need to do this more often, I suggest to either SAVE the
> template to a file, or create this structure in your program on the
> fly.
>
> Alex
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: freeware contour plotting software for Windows
Next Topic: Re: freeware contour plotting software for Windows

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

Current Time: Thu Oct 09 21:47:10 PDT 2025

Total time taken to generate the page: 0.88135 seconds