Unordered Samples

Miika Turkia miika.turkia at gmail.com
Fri Nov 7 06:08:54 PST 2014


On Fri, Nov 7, 2014 at 9:58 PM, John Van Ostrand <john at vanostrand.com>
wrote:

> The dive samples for the log file import I'm working on has samples out of
> order. Specifically the tank pressure samples are seperate from and follow
> after depth and time and use a different irregular frequency. The first
> attempt adding samples to the end didn't work, the samples aren't sorted
> into the right location and when I look the samples have a depth of "0.0 m"
>

I am guessing, you are working on the same format as I am. Maybe I just get
some sleep instead of code. (Anyway I was so far only getting the file to
be treated properly and parsed the metadata before the actual CSV starts.)

>
>
> I can interleave these, compare the sample times and interpolate a depth.
> Is that the best way of handling this?
>

 On other imports this has been interpolated and given a calculated depth,
as that field is mandatory on our samples. This is done at least in some
XSLT file.

miika
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20141107/dc08ec35/attachment.html>


More information about the subsurface mailing list