Different number of gases and tanks error with Suunto Vytec and Air Integrated
Robert Helling
helling at atdotde.de
Wed Feb 1 13:59:02 PST 2017
Dirk,
> On 31 Jan 2017, at 11:52, Robert Helling <helling at atdotde.de> wrote:
>
> I have no idea why we fail in that case. Related seems commit
>
> commit 956d1897345c727af23089cd98cef34597aed9ff
> Author: Dirk Hohndel <dirk at hohndel.org <mailto:dirk at hohndel.org>>
> Date: Sun Dec 6 09:40:21 2015 -0800
>
> Only warn about different number of tanks and gases if there are tanks
>
> Some backends support giving tank data for some, but not all models that
> they support (and simply report no tanks for those models that don't
> support this). The Suunto Vyper is one of the dive computers where this
> happens and without this change we report angry red warnings after a
> perfectly correct download.
>
> So this changes the logic to only show that error if there actually were
> tanks reported.
>
> This (ntanks=1 and ngasmixes=0) is really a case where we should at most warn. I don’t know how to handle the gas though: we only know the pressures but not the mix. Should we pretend it’s air?
>
Dirk, could you please comment on how this should be fixed? Shall we make this a special case (Suunto) and pretend the diver has been breathing air?
Do you have an opinion on merging the gas list when merging a real dive with a planned one (see other thread started by Willem)?
Best
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20170201/a4dc0cf3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20170201/a4dc0cf3/attachment.sig>
More information about the subsurface
mailing list