On Fri, Nov 7, 2014 at 9:58 PM, John Van Ostrand <[email protected]>
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
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to