depth_reference_elevation

petrophys.io.depth_reference_elevation

depth_reference_elevation(well)[source]

Elevation of the log’s zero depth above sea level, in the well’s depth unit.

From the LAS header: APD (depth reference above the permanent datum) plus EPD (permanent datum above sea level, 0 when PDAT is MSL); otherwise the elevation named by LMF (EKB, EDF or EGL), else a nonzero EKB or EDF. Units in the header are converted. Returns the elevation (None when the header has none) and a note of its source.

Parameters:

well (Any)

Return type:

Tuple[float | None, Dict[str, Any]]