The Pipeline of the Nine Wells: From the Rock to the Learning Set
Learning objectives
- Name the seven stages from the rock's truth to the learning set, and count each one's rows and size
- Explain how a log two runs both record ties a run recorded off depth to the well's depths
- Count what a run left off depth breaks: readings paired with another bed's label
- Explain why the rows QC drops are not spread evenly, and what a gap in an oil sand takes
The Learning Set Is the End of a Pipeline
A table like the book's learning set is the last stage of a pipeline, and every stage has a size and a way to break. The book's pipeline has seven: the rock's truth, the logs Ogbon-1's build computes from it, the book's own tool model's record, the delivery as it arrives, the depth alignment, QC and the learning set. The first six carry all 10809 rows of the nine wells; QC keeps the rows it can trust. Here the book plants three faults of its own in the delivery and follows them through. A density run recorded 3.0 ft off depth leaves nothing missing for QC to see, and pairs 48 of its readings with another bed's label; and the rows QC drops are not spread evenly: a gap in an oil sand takes only pay.
Sizes, Counted
A size is counted, not guessed: the rows, times the values each row holds, times the bytes a value takes, 8 for a double. The truth holds 8 values a row (depth, lithology, zone, porosity, shale volume, water saturation, permeability and pay), 691.8 kB for the nine wells (1 kB is 1000 bytes); the six logs take 518.8 kB at each of the next two stages; the delivery adds the density run's own gamma ray and the caliper, 691.8 kB again. The learning set, 14 values a row, takes 1210.6 kB in memory with every row kept; its file, the same rows written as text to stated precisions, is 1016.9 kB. The figure's table (a) counts every stage the same way.
The Delivery and Its Faults
The book's own delivery carries the six logs as the tool model records them, a density run (density, neutron and photoelectric factor, which the delivery records together with a gamma ray of their own) and a caliper, the hole's diameter in inches. Three faults are planted in it, each stated: Ogbon-4's density run recorded 3.0 ft deep; Ogbon-6's sonic missing, written as the null marker −999.25, over 30.0 ft from the top of its upper oil sand; and Ogbon-2's hole washed out over the 18.0 ft of shale above its shaly oil sand, where the caliper reads 2.0 in over the 8.5 in bit and the density pad reads part mud, 1.870 g/cc on average against the learning set's 2.317 g/cc. The book's learning set has none of these faults; they are planted here to show what each stage is for.
Depth Alignment
A run off depth leaves no gap and raises no error: every reading is there, set against the wrong depth. It is found with a log both runs record, here the gamma ray, which the same beds make the same in both. The correlation of the well's gamma ray with the run's own, the run moved up by a lag (the figure's method note writes it out), is 0.914 unmoved and peaks, at 0.980, with the run moved up 3.0 ft: the shift the delivery carries. Unmoved, 48 of Ogbon-4's rows read another bed's density than their lithology label: its 8 bed boundaries, 6 samples each. Moved 3.0 ft, none does. A clean run moved by the same 3.0 ft on a guess would read another bed in 48 rows: a shift is measured, not assumed.
QC
QC keeps a row when no reading is missing and the caliper is within 1.0 in of the bit size. On the faulted delivery, aligned, it drops 102 rows: 66 with a reading missing (Ogbon-6's 60 rows of sonic, and the last 6 of Ogbon-4, which its run, moved up, no longer covers) and 36 in bad hole. It keeps 10707. The drops are not even: all 60 of the gap's rows are pay and none of the washout's 36, so pay falls from 0.5243 of the rows to 0.5237. A model fitted on the rows QC keeps never sees the top of Ogbon-6's upper oil sand.
A Clean Delivery Is the Learning Set
With no fault planted the alignment peaks at 0.0 ft, QC drops no row, and the 10809 rows it keeps are the book's learning set, every log equal to it: the file Section 1.2 loads, and Section 12.2 handles in pandas. The book's set is clean by construction.