WellTrajectory¶
- class geodetic_engine.welltrajectory.WellTrajectory[source]¶
Bases:
objectPositions along a wellbore, with how they were arrived at.
One array entry per point, surveyed or interpolated.
- crs¶
The trajectory CRS.
- method¶
How the offsets were georeferenced in it.
- north_reference¶
What the survey’s azimuths were measured from.
- md¶
Measured depth.
- inclination¶
Inclination from vertical, in degrees.
- azimuth_true¶
Azimuth from true north, in degrees.
- azimuth_grid¶
Azimuth from grid north, in degrees; equal to
azimuth_truein a geographic CRS, and NaN in a projected one that does not preserve angles at the wellhead, where no one convergence turns azimuths onto the grid.
- east¶
Offset east of the wellhead, against true north.
- north¶
Offset north of the wellhead, against true north.
- tvd¶
True vertical depth below the wellhead.
- z¶
Elevation,
wellhead z - tvd.
- is_survey_station¶
True for a surveyed station, False for a point interpolated between them.
- frame¶
The wellhead and datum the trajectory was georeferenced on.
- model¶
The minimum curvature model, in metres, for interpolating.
- local_crs¶
The local CRS the offsets were read in, if the method used one.
- operations¶
What was done, in order.
- name¶
The well’s name, if the input gave one; plots use it as the label.
- property factors: ProjectionFactors¶
Grid convergence and scale factor at the wellhead.
- dls(per_length=None)[source]¶
Dogleg severity in degrees per
per_lengthof MD, inmd_unit.Defaults to
dls_length, per 100 ft or per 30 m.- Return type:
- interpolate(md)[source]¶
The trajectory at the given measured depths, on its arcs.
- Parameters:
md (
ArrayLike) – Depths inmd_unit, within the surveyed interval. Their order and duplicates are preserved. LMP queries are anchored to the original survey, not to other query points.- Raises:
InvalidSurveyError – If a depth is outside the surveyed interval.
- Return type:
- resample(step, *, include_survey=True)[source]¶
The trajectory every
stepof MD, inmd_unit.- Parameters:
- Return type:
- to_geographic(target='EPSG:4326', operation=None)[source]¶
Horizontal positions in another CRS, usually a geographic one.
A datum change needs
operationnamed, or a bound trajectory CRS, exactly as forTransformation.- Return type:
- to_dataframe()[source]¶
One row per point, with the dogleg severity at its default length.
- Return type:
- plot(**options)[source]¶
A 3D plotly figure.
See
plot_trajectory()for the options.- Return type:
- __init__(crs, method, north_reference, md_unit, z_unit, md, inclination, azimuth_true, azimuth_grid, east, north, tvd, x, y, z, curvature, is_survey_station, frame, model, local_crs, operations, name=None)¶