<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Nov 7, 2014 at 9:58 PM, John Van Ostrand <span dir="ltr"><<a href="mailto:john@vanostrand.com" target="_blank">john@vanostrand.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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"<br></div></blockquote><div><br></div><div>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.)<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><div dir="ltr"><br>I can interleave these, compare the sample times and interpolate a depth. Is that the best way of handling this?<span class="HOEnZb"></span></div></blockquote><div><br></div><div> 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.<br><br></div><div>miika<br></div></div></div></div>