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 #36532] Thu, 02 October 2003 02:24 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
wang_likun@yahoo.com wrote:
> Thanks a lot, it works.
>
> Likun~

What did read_ascii use as fill_value ?

is it 0.0 ?

Reimar

>
> 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


--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-I)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
------------------------------------------------------------ -------
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
============================================================ =======
[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: Wed Oct 08 18:36:25 PDT 2025

Total time taken to generate the page: 0.00494 seconds