From e5692a77c3f99fe485f6490f567f6cc9cea2adff Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Tue, 19 Jun 2012 12:13:50 -0700 Subject: [PATCH] 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 --- cochran.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cochran.c b/cochran.c index 366e5ea..933e1de 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. * -- 2.45.2