summarize_pay

petrophys.evaluation.net_pay.summarize_pay

Also available as petrophys.evaluation.summarize_pay

summarize_pay(
well=None,
*,
vcl=None,
phie=None,
sw=None,
depth=None,
vcl_cutoff=None,
phie_cutoff=None,
sw_cutoff=None,
lithology='clastic',
top=None,
bottom=None,
depth_unit=None,
)[source]

Net pay, net-to-gross, pay averages and hydrocarbon pore thickness.

Flags follow net_flags(): net rock is VCL < vcl_cutoff, net reservoir adds PHIE > phie_cutoff and net pay adds Sw < sw_cutoff. A sample exactly at a cutoff fails that test, and samples with a missing input fail the test that needs it. Each sample counts with its own depth increment, so irregular sampling and gaps are handled as in calculate_net_gross().

The flags are recomputed from the curves with one cutoff set and no exclusions, so they are not an interpretation’s NET_PAY: petrophys.interpret() takes each sample’s lithology-family cutoffs and leaves evaporite, coal, halite recognised on the logs and bad-hole samples out. Summarize an interpretation’s own flags with result.summary(top, bottom) or result.formation_summary().

Parameters:
  • well (Well, optional) – Source of the depth and of any curve not passed as an array. Curves are looked up as in calculate_net_pay(): VCL/VCLAY/VSH, PHIE_CC/PHIE/PHIT and SW/SWA/SWT-LOG.

  • vcl (array-like or Curve, optional) – Clay volume, effective porosity and water saturation (fractions), one value per depth sample. Required when well is None.

  • phie (array-like or Curve, optional) – Clay volume, effective porosity and water saturation (fractions), one value per depth sample. Required when well is None.

  • sw (array-like or Curve, optional) – Clay volume, effective porosity and water saturation (fractions), one value per depth sample. Required when well is None.

  • depth (array-like, optional) – Sample depths. Defaults to well.depth.

  • vcl_cutoff (float, optional) – Cutoffs, fractions (v/v); a value above 1 and up to 100 is read as percent (sw_cutoff=60 is 0.60). Unset ones come from the standard set for lithology (STANDARD_CUTOFFS).

  • phie_cutoff (float, optional) – Cutoffs, fractions (v/v); a value above 1 and up to 100 is read as percent (sw_cutoff=60 is 0.60). Unset ones come from the standard set for lithology (STANDARD_CUTOFFS).

  • sw_cutoff (float, optional) – Cutoffs, fractions (v/v); a value above 1 and up to 100 is read as percent (sw_cutoff=60 is 0.60). Unset ones come from the standard set for lithology (STANDARD_CUTOFFS).

  • lithology (str, default "clastic") – Lithology family for the default cutoffs.

  • top (float, optional) – Depth window (inclusive), in depth units. Defaults to all samples.

  • bottom (float, optional) – Depth window (inclusive), in depth units. Defaults to all samples.

  • depth_unit (str, optional) – Unit label for the thicknesses. Defaults to well.depth_unit.

Returns:

Thicknesses, ratios, pay averages and HCPT. net_reservoir and net_pay hold the per-sample flags inside the window.

Return type:

PaySummary

Raises:

ValueError – If inputs are missing, lengths differ, the window holds no samples, or a cutoff is not a finite number between 0 and 100.

Examples

>>> import numpy as np
>>> depth = np.arange(2000.0, 2010.0, 1.0)
>>> vcl = np.array([0.1, 0.1, 0.2, 0.6, 0.6, 0.1, 0.1, 0.3, 0.1, 0.1])
>>> phie = np.array([0.25, 0.22, 0.18, 0.05, 0.04, 0.20, 0.21, 0.12, 0.06, 0.24])
>>> sw = np.array([0.20, 0.30, 0.45, 1.00, 1.00, 0.35, 0.80, 0.50, 0.90, 0.25])
>>> pay = summarize_pay(vcl=vcl, phie=phie, sw=sw, depth=depth, depth_unit="m",
...                     vcl_cutoff=0.4, phie_cutoff=0.08, sw_cutoff=0.6)
>>> pay.net_pay_thickness, round(pay.hcpt, 4)
(6.0, 0.823)