Re: bug when importing from Oceanic VT4.1 with multiple sources

2016-11-11 Thread Adric Norris
No worries. It was more of an inconvenience than a hard problem, especially now that I understand how to work around the issue (which turned out to be relatively simple). Please let me know if I can be of any assistance once you get to that point. While I'm unlikely to be of much use on the

Re: bug when importing from Oceanic VT4.1 with multiple sources

2016-11-11 Thread Jef Driesen
It's on my todo list to look into this. But at the moment I'm a bit overwhelmed with bug reports, so it's going to take a bit longer. Most likely the problem is that a tank switch sample also includes a pressure value. That's where we get that initial pressure from. I suspect there might be

Re: bug when importing from Oceanic VT4.1 with multiple sources

2016-11-10 Thread Adric Norris
For what it's worth, the visible issue *appears* to be caused by a bogus initial pressure reading from the first sample after the air source was switched. Applying the following diff to the XML and re-importing the dive seems to get everything looking back to normal. $ diff -u test.xml

bug when importing from Oceanic VT4.1 with multiple sources

2016-11-06 Thread Adric Norris
I've encountered a bit of an oddity with reported air pressure on my most recent dive, which I believe can only be explained by a bug of some sort... no idea if it resides in my Oceanic VT4.1 dive computer, Subsurface, or libdivecomputer. Specifically, the graph displays an impossible ending