[PATCH] Import MacDive divelogs

Linus Torvalds torvalds at linux-foundation.org
Thu Feb 7 02:11:53 PST 2013


On Thu, Feb 7, 2013 at 8:56 PM, Miika Turkia <miika.turkia at gmail.com> wrote:
>
> Anyway it seems that the tankSize is in litres. Is this normal when
> using Imperial units, or could it be either cuft or litres - or is it
> just a numerical field without any unit?

The imperial units simply do not *work* if you don't have working
pressure (because they are based on the amount of gas the cylinder
contains at NTP). So the only sane model to work around this
fundamental fact is to (a) either always require a working pressure
for all cylinders (which is not possible) or (b) say "screw it" and
use the wet size (in metric) for the size when there is no working
pressure.

You can mix and match, and use imperial units when you have cylinder
pressure, and metric units when you don't.

It's more likely that they are always metric, but we don't have enough
samples to tell, really.

                   Linus


More information about the subsurface mailing list