diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-06-19 22:41:44 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-06-19 22:41:44 -0700 |
commit | e96a1864be076fcdf870188b95b1d43f16308590 (patch) | |
tree | d6630307e9a2b7446a57c6138ea8c2859bfef6ca /libdivecomputer.c | |
parent | ba31e37063308ab74b282db983557797d05f59d1 (diff) | |
download | subsurface-e96a1864be076fcdf870188b95b1d43f16308590.tar.gz |
Fix cochran CSV pressure data import
The cochran CSV pressure data is actually in units of '4 psi', not in
just psi. That seems to be the resolution cochran internally keeps
things in, and unlike the depth reading there's no conversion to
standard units in the export (for depth, the quarter-foot depth
resolution is converted to tenths of feet when exporting).
Yeah, none of this makes any sense to me either, but I knew it was the
case. I had just forgotten that factor-of-four when I did the importer.
With this fix, I get the same subsurface data (modulo some rounding
differences particularly for temperature) whether I go through David
McNett's UDDF converter, or just import the CSV data directly.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'libdivecomputer.c')
0 files changed, 0 insertions, 0 deletions