Subsurface deco calculations
Linus Torvalds
torvalds at linux-foundation.org
Wed Feb 8 12:44:02 PST 2017
On Wed, Feb 8, 2017 at 12:36 PM, Robert Helling <helling at atdotde.de> wrote:
>
> from what I see, in the matching you only look at the gas percentages but
> not at the content (start/end pressures and sizes).
Correct. There's a
/* FIXME! Should we check sizes too? */
where such checks would go, but sizes are sometimes definitely
unreliable (ie divecomputer downloads giving bogus info etc), so I
left it open.
> In Willem’s case that
> wouldn’t be good enough. I would say, don’t merge cylinders if both have
> start and end pressures and they differ. And in merging don’t overwrite
> valid start/end pressures by zero.
Is there a test-case for this somewhere? I was hoping the "same gasmix
in same order" would take care of it, but..
But yes, we could try to at least save gas pressures. Again, a
test-case for this would be lovely, just so that I don't do it
blindly.
Linus
More information about the subsurface
mailing list