summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-06-19 12:13:50 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-06-19 12:13:50 -0700
commite5692a77c3f99fe485f6490f567f6cc9cea2adff (patch)
tree51bf03ade210cb2b101b0f39ec8a60065525e4db
parent8add7917ce9da2faa7751798c3fb15a24715ae1e (diff)
downloadsubsurface-e5692a77c3f99fe485f6490f567f6cc9cea2adff.tar.gz
Update cochran depth precision: it's in 3-inch increments
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>
-rw-r--r--cochran.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cochran.c b/cochran.c
index 366e5ea30..933e1de1f 100644
--- 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
- * tenth of feet.
+ * quarter feet (rounded up to tenths).
*
* Temperature seems to be exported in Fahrenheit.
*