]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Update cochran depth precision: it's in 3-inch increments
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 19 Jun 2012 19:13:50 +0000 (12:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 19 Jun 2012 19:13:50 +0000 (12:13 -0700)
The Cochran CSV depth exports are indeed in tenths of feet, but the
decimal is always 0, 3, 5 or 8.  Where the 3 and 8 are obviously 0.25
and 0.75 rounded up to one decimal place.

So Cochran does seem to be very much about imperial units, with depth
and cylinder pressure scaled by four (depth in quarter-foot increments,
pressume in 4-psi increments)

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
cochran.c

index 366e5ea3076be4e086e098c97b17540bce57bc2a..933e1de1fcac5f95b36498d76693a62b1db525e1 100644 (file)
--- a/cochran.c
+++ b/cochran.c
@@ -152,7 +152,7 @@ static void parse_cochran_header(const char *filename,
 
 /*
  * Cochran export files show that depths seem to be in
 
 /*
  * Cochran export files show that depths seem to be in
- * tenth of feet.
+ * quarter feet (rounded up to tenths).
  *
  * Temperature seems to be exported in Fahrenheit.
  *
  *
  * Temperature seems to be exported in Fahrenheit.
  *