From: Linus Torvalds Date: Tue, 19 Jun 2012 19:13:50 +0000 (-0700) Subject: Update cochran depth precision: it's in 3-inch increments X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=e5692a77c3f99fe485f6490f567f6cc9cea2adff;p=ext%2Fsubsurface.git 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 --- 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. *