volumetric_pay_flag

petrophys.evaluation.net_pay.volumetric_pay_flag

volumetric_pay_flag(
fluid_type,
reservoir_flag=None,
hydrocarbon_fluids=DEFAULT_HYDROCARBON_FLUIDS,
non_pay_fluids=DEFAULT_NON_PAY_FLUIDS,
)[source]

Generate a conservative pay flag from a volumetric main-fluid label.

Recognized hydrocarbon labels map to 1 and recognized non-pay labels map to 0. Unknown or missing labels remain NaN. When reservoir_flag is supplied, samples outside reservoir are forced to 0 and samples with an unknown reservoir state remain NaN.

The label collections are configurable because fluid nomenclature varies between interpretation systems and operators.

Parameters:
Return type:

float | ndarray