apply_value_range_qc¶
petrophys.preprocessing.quality.apply_value_range_qc
Also available as petrophys.preprocessing.apply_value_range_qc
- apply_value_range_qc(well, curve_names=None, store_report=True, rules=None)[source]¶
Apply configured value-range QC to curves in a well.
Values outside
nanrules are set to NaN. Values outsidecliprules are clipped to the configured low/high bounds.rulesreplacesVALUE_RANGE_RULES. Curve data are changed in place.The ranges are in the library’s standard units (fractions in v/v, caliper and bit size in inches, sonic in us/ft). A curve whose unit is another recognised unit of its family (NPHI in pu or %, CALI in mm, DT in us/m) is screened against the bounds converted to that unit; a curve in an unrecognised unit is screened as it is, so standardize the curves first (
petrophys.preprocessing.standardization.standardize_curves()) when in doubt. +/-inf is set to NaN under every rule.