[PATCH] Convert deco info from JDiveLog to Subsurface

Linus Torvalds torvalds at linux-foundation.org
Sun Dec 16 13:18:28 PST 2012


On Sun, Dec 16, 2012 at 12:24 PM, Miika Turkia <miika.turkia at gmail.com> wrote:
>
> This should convert the deco information to Subsurface, but as I am not
> familiar with deco diving, my testing was quite limited...

Hmm. It works for me, but it shows some really odd bug in subsurface
visualization of the actual deco ceiling.

If I use this to see all the dives in Jan's ostc log, the last dive
doesn't show the deco ceiling. HOWEVER, the data is definitely there,
and some other dives do show their deco ceilings. Also, if I edit the
xml file so that only the last dive remains, and run subsurface on
*that*, then the deco ceiling is shown again.

Dirk - there is some odd pattern to this. Some dives show deco
ceilings correctly, some don't. And judging by my testing, it's not
the dive data, it's some "external" data that affects it. Very odd.

Looking a bit closer, subsurface actually _parses_ the data
incorrectly - loading the file and then re-saving it causes bogus
data. Dirk?

        Linus


More information about the subsurface mailing list