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

Home » Public Forums » archive » Data Validation
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
Data Validation [message #19516] Tue, 21 March 2000 00:00
majewski is currently offline  majewski
Messages: 15
Registered: March 2000
Junior Member
Hi
Is it possible to speed up this process...

I have a system of instruments which feed their output into a data taker (15
second interval, for ~a week at a time). The data taker outputs a comma
delimited ascii file which I then process in IDL.
Occasionally the data taker, due to the harsh conditions it's under (in the
hull of a boat), drops characters - rendering the line corrupt.
I am trying to ensure that the data passed to the processing routine is
error free.

Currently my system does a str_sep(data_string, ',') to determine the number
of terms on a line. if its too few or too many (#<14<#) the line is dropped.
I then have an error check of each of the terms to see if they are floats
(and also in the valid ranges).

onerror, readnext
convert to float, etc
readnext: ;-> returns to start of loop


anyway if it is possible to speed up this process (or I've gone about it the
wrong way) I'd like to know

leon Majewski
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Embedded Font formatting and positioning commands in ObjectGraphics
Next Topic: looking for an IDL MPEG reader

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

Current Time: Wed Oct 08 13:51:18 PDT 2025

Total time taken to generate the page: 0.02819 seconds