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

Home » Public Forums » archive » template for READ_ASCII
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: template for READ_ASCII [message #25568 is a reply to message #25479] Mon, 25 June 2001 15:26 Go to previous messageGo to previous message
m.hadfield is currently offline  m.hadfield
Messages: 36
Registered: April 2001
Member
From: "Alex Schuster" <Wonko@planet-interkom.de>
> There is the SAVE method already mentioned in this thread, but another
> possibility would be the creation of the template in your program like I
> just did in one of mine:
>
> template = { $
> version : 1.0, $
> datastart : 9, $
> delimiter : 32B, $
> missingvalue : !values.f_nan, $
> commentsymbol : '', $
> fieldcount : 8L, $
> fieldtypes : [ 3, 4, 4, 4, 4, 4, 4, 4 ], $
> fieldnames : [ 'time', 'xyz', 'field3', 'field4', $
> 'field5', 'field6', 'field7', 'winkel' ], $
> fieldlocations : [ 0, 3, 8, 14, 22, 27, 33, 40 ], $
> fieldgroups : [ 0, 1, 1, 1, 1, 1, 1, 7 ] }

Good point, Alex. I considered this some time ago but decided that I
couldn't be bothered decoding the format of the template structures. I guess
they're not too bad if you write them out carefully. Your example will go
into my personal repository of useful IDL tips.
---
Mark Hadfield
m.hadfield@niwa.cri.nz http://katipo.niwa.cri.nz/~hadfield
National Institute for Water and Atmospheric Research




--
Posted from clam.niwa.cri.nz [202.36.29.1]
via Mailgate.ORG Server - http://www.Mailgate.ORG
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: searching for available license
Next Topic: Finding values in an array

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

Current Time: Wed Oct 08 19:27:13 PDT 2025

Total time taken to generate the page: 0.00178 seconds