read_mdt_pretest

petrophys.interpretation.saturation.height.read_mdt_pretest

read_mdt_pretest(
source,
*,
time_column=None,
pressure_column=None,
depth_column=None,
time_unit=None,
pressure_unit=None,
depth_unit=None,
depth_reference='MD',
csv_kwargs=None,
frame_name=None,
)[source]

Read one raw MDT pretest from LAS/CSV/DLIS, lasio.LASFile or DataFrame.

The inspected native schema TIME/PQQP1/PQDVP1 is recognized. Custom columns are configurable; ambiguous pressure channels require explicit selection. Units come from LAS/DLIS headers or explicit arguments/CSV names (TIME_S, PRES_BAR, DEPTH_M, etc.). Probe depth defaults to MD, never assumed TVD. A DLIS file is read from its time-indexed frame that holds the pressure channel (frame_name selects one explicitly); DLIS depth in 0.1 in is converted to ft. DLIS input needs the dlis extra.