DLD Changes

Miika Turkia miika.turkia at gmail.com
Sun Oct 12 12:27:39 PDT 2014


On Sun, Oct 12, 2014 at 9:56 PM, Dirk Hohndel <dirk at hohndel.org> wrote:

> On Sun, Oct 12, 2014 at 09:52:36PM +0300, Miika Turkia wrote:
> > > So the DLD Format just got a few new fields. Example attached. The
> > > <ADDITIONALTANKS> is completely optional and always additional to the
> main
> > > tank which continues to live directly in the <DIVELOGSDATA>.
> > > Also please note, that a new tag <HEPCT> for Helium percentage has been
> > > added to the main tank and all additional tanks.
> > >
> >
> > The import to Subsurface is now implemented. The export is a bit more
> > "interesting" as we do not have concept of main tank. I think to just use
> > the first in the XML as the main cylinder and the others as additional.
> > Does this make sense?
>
> We used to have code somewhere that said "if there's a gaschange event in
> the first 30 seconds (or maybe it was minute), then assume that's the main
> tank in use. For example the Cobalt always sends the first gas in use as
> part of the first sample...
> I've seen many instances where the main (only) gas in use is not the first
> one on the Cobalt.
>

Correct, the DLD export does indeed already have such a feature. Anyway
here is the export part.

miika
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20141012/1b8a15d5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Export-additional-tanks-to-divelogs.de.patch
Type: text/x-patch
Size: 3136 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20141012/1b8a15d5/attachment.bin>


More information about the subsurface mailing list