Air and water temperature

Linus Torvalds torvalds at linux-foundation.org
Wed Nov 9 15:35:27 PST 2011


On Wed, Nov 9, 2011 at 2:31 AM, Alexandre Belloni
<alexandre.belloni at piout.net> wrote:
>
> I've made a quick patch that will consider the first temperature reading
> as the air temperature. Is this a safe assumption with all the dive
> computers ?

Nope. Not a safe assumption.

This would be best done as some kind of libdivecomputer thing, where
it would give us the air temperature from computers that support it
(and in the case of Suunto use the first temperature reading).

Because at least the Uemis that Dirk has definitely gives water
temperatures in the very first samples (ie also gives temperatures
with 0.1 degC resolution, and doesn't need to wait for five minutes to
read the temperature like Suunto's do ;)

Jef? Ideas?

                  Linus


More information about the subsurface mailing list