[PATCH] Fix up SAC calculations for ATM/bar confusion

Linus Torvalds torvalds at linux-foundation.org
Sun Feb 24 10:31:18 PST 2013


On Sun, Feb 24, 2013 at 10:23 AM, Linus Torvalds
<torvalds at linux-foundation.org> wrote:
>
>   Note that Poltsi reported differences larger than the difference of
>   BAR/ATM, so this is not the cause. I'll continue to look at this.

Hmm. We try to remove time at the surface in the middle of the dive
from the SAC rate calculations, but we do that by just modifying the
dive time.

Which is makes some sense, but at the same time the average depth of
the dive has been calculated without that dive time modification.

So for dives with extended time at the surface (happens if you dive
down a bit for a buoyancy check and come back up to wait for your
buddy, for example), our SAC-rate calculations are slightly off.

I'll look at that, just in case.

At the same time, I wouldn't be surprised if Suunto DM just had a bug too.

              Linus


More information about the subsurface mailing list