[PATCH] Poseidon MK6 import

Miika Turkia miika.turkia at gmail.com
Wed Oct 29 03:10:10 PDT 2014


On Wed, Oct 29, 2014 at 11:38 AM, Willem Ferguson <
willemferguson at zoology.up.ac.za> wrote:

>  On 26/10/2014 15:24, Miika Turkia wrote:
>
>  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
> MK6.txt).
>
> 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.
>
>  miika
>
>
> _______________________________________________
> subsurface mailing listsubsurface at subsurface-divelog.orghttp://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
>
>
> Miika,
> Please recap how to do the import using the current master?
> If I selected Main_menu -> Import -> Import_log_files and then clicked the
> appropriate .csv file, it shows the CSV options window, but does not list
> Poseidon under pre-configured imports.
> I think I am looking in the wrong place.
>
> You have to select the .txt file instead. (Currently you need to select
MkVI from the filetype filter first.) The UI will need some tweaking before
this makes sense, I'll take a look at that later.

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


More information about the subsurface mailing list