read_survey¶
petrophys.io.read_survey
- read_survey(source, *, columns=None, depth_unit=None, sheet_name=None)[source]¶
Read a deviation survey and compute its trajectory.
- Parameters:
source (path, DataFrame or Survey) – CSV/TSV/Excel table, a LAS file with MD, inclination and azimuth curves, or a DataFrame. Columns are found by name, ignoring case, spaces and units in brackets: MD (
MD,Measured Depth,DEPTH), inclination (INC,Inclination,DEVI) and azimuth (AZI,Azimuth,HAZI).columns (dict, optional) – Explicit
{"md": ..., "inclination": ..., "azimuth": ...}headers.depth_unit (str, optional) –
"m"or"ft"; read from a header such asMD (ft)or the LAS depth unit when not given.sheet_name (optional) – Excel sheet.
- Returns:
Stations sorted by MD, with minimum-curvature TVD, north, east and dogleg severity, and a
reportof the columns and checks.- Return type: