WellboreQC¶
petrophys.preprocessing.quality.WellboreQC
- class WellboreQC(
- drho_threshold=0.15,
- cali_variation_threshold=0.5,
- washout_threshold=1.5,
- bitsize_exclusion_distance=50.0,
Bad-hole detection using caliper roughness, washout and DRHO fallback.
cali_variation_thresholdis the roughness limit in inches per metre (the rolling standard deviation of dCALI/dDepth, with the depth converted to metres whatever the well’s depth unit);washout_thresholdis the overgauge limit in inches, flagging CALI - BS above it;drho_thresholdis the|DRHO|limit in g/cc used where the caliper cannot be evaluated.Attributes
Methods
Flag bad hole sample by sample and summarize it by interval.
- Parameters:
- CATEGORY_KEY = 'WELLBORE_QUALITY_CONTROL'¶
- analyze(well, add_curves=True)[source]¶
Flag bad hole sample by sample and summarize it by interval.
A sample is bad hole where the caliper roughness exceeds
cali_variation_thresholdor CALI - BS exceedswashout_threshold; the caliper is used when at least 5 samples have CALI and BS. Where the caliper gives no flag,|DRHO|abovedrho_thresholdflags the sample.- Parameters:
- Returns:
Section
bad_hole_detectionwith the depth intervals labelledGOOD_HOLE,BAD_HOLEandNO_QC_DATA; the derived curves inderived_curves; andmetadata["qc_summary"]withbad_hole_percentage,bad_hole_intervals,detection_method_countsandbit_size_exclusion_zones.- Return type:
CategoryAnalysisResult