[PATCH] Poseidon MK6 import

Miika Turkia miika.turkia at gmail.com
Sun Oct 26 06:24:01 PDT 2014

Here is a patch to import Poseidon MK6 logs to Subsurface. If you need a
log file for testing, there is one available on a post from Willem with
subject: "Import of Poseidon CCR dive logs". This requires both the .txt
and .csv files and they need to be under same directory. When importing,
you must select the MkVI filetype from the file selector (and choose the

The patch exposes a bug in setpoint handling, but I do not know what is the
intended behavior, so fixing will require input from the more knowledgeable
people. The setpoint value is "compressed" when dive samples are added,
meaning that repeating values are set to zero. However, upon saving the XML
log file, this means that we are writing the real setpoint value and on
next sample we write setpoint value of 0. Should the real setpoint value be
stored on samples, or should the XML saving ignore setpoint values of 0?

There also seems to be quite a few values related to rebreather that are
not actually stored on the XML output. I suppose that just shows that CCR
support is in progress.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20141026/c419a900/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Support-for-importing-Poseidon-MK6-logs.patch
Type: text/x-patch
Size: 10902 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20141026/c419a900/attachment-0001.bin>

More information about the subsurface mailing list