Rogii Solo.Trajectory

TrajectoryPoint

attribute measure_units

The measurement units used for this trajectory point

attribute md

Measured depth at this point.

attribute incl

Inclination angle at this point.

attribute azim

Azimuth angle at this point.

method to_dict(get_converted)

Convert the TrajectoryPoint to a Dictionary.

method to_df(get_converted)

Convert the TrajectoryPoint to a Pandas DataFrame.

TrajectoryPointRepository

method to_dict(get_converted)

Convert all TrajectoryPoints in the repository to a list of dictionaries.

method to_df(get_converted)

Convert all TrajectoryPoints in the repository to Pandas DataFrame.

Module Contents

class TrajectoryPoint(measure_units: rogii_solo.calculations.enums.EMeasureUnits, **kwargs)

Bases: rogii_solo.base.BaseObject

Represent a single point in a TrajectoryPointRepository, containing measurement depth (MD), inclination (INCL), and azimuth (AZIM) values.

Example:

from rogii_solo import SoloClient

client_id = ... # Input your client ID
client_secret = ... # Input your client secret

solo_client = SoloClient(client_id=client_id, client_secret=client_secret)
project = solo_client.set_project_by_name('Project1')
well = project.wells.find_by_name('Well1')
trajectory = well.trajectory

# Get the trajectory point measure units
measure_unit = trajectory[0].measure_units
print(measure_unit)

# Get the Trajectory point measure depth
point_md = trajectory[0].md
print(measure_unit)

# Get the Trajectory point inclination
point_incl = trajectory[0].incl
print(point_incl)

# Get the Trajectory point azimuth
point_azim = trajectory[0].azim
print(point_azim)
measure_units: str

The measurement units used for this trajectory point

md: float | None = None

Measured depth at this point.

incl: float | None = None

Inclination angle at this point.

azim: float | None = None

Azimuth angle at this point.

to_dict(get_converted: bool = True) Dict[str, Any]

Convert the TrajectoryPoint to a Dictionary.

Parameters:

get_converted – (Optional) Whether to convert values to project units. Default = True.

Returns:

Dictionary representation of the TrajectoryPoint

Example:

from rogii_solo import SoloClient

client_id = ... # Input your client ID
client_secret = ... # Input your client secret

solo_client = SoloClient(client_id=client_id, client_secret=client_secret)
project = solo_client.set_project_by_name('Project1')
well = project.wells.find_by_name('Well1')
trajectory_point = well.trajectory[0]

# Convert the trajectory point to a dictionary
trajectory_point_dict = trajectory_point.to_dict()
print(trajectory_point_dict)
to_df(get_converted: bool = True) pandas.DataFrame

Convert the TrajectoryPoint to a Pandas DataFrame.

Parameters:

get_converted – Whether to convert values to the specified measurement units

Returns:

DataFrame representation of the TrajectoryPoint

Example:

from rogii_solo import SoloClient

client_id = ... # Input your client ID
client_secret = ... # Input your client secret

solo_client = SoloClient(client_id=client_id, client_secret=client_secret)
project = solo_client.set_project_by_name('Project1')
well = project.wells.find_by_name('Well1')
trajectory_point = well.trajectory[0]

# Convert the trajectory point to a DataFrame
trajectory_point_df = trajectory_point.to_df()
print(trajectory_point_df)
class TrajectoryPointRepository(objects: List[TrajectoryPoint] = None)

Bases: list

Repository for managing collections of TrajectoryPoint objects.

Example:

from rogii_solo import SoloClient

client_id = ... # Input your client ID
client_secret = ... # Input your client secret

solo_client = SoloClient(client_id=client_id, client_secret=client_secret)
project = solo_client.set_project_by_name('Project1')
well = project.wells.find_by_name('Well1')

# Get the Trajectory object
trajectory = well.trajectory
print(trajectory.to_dict())
to_dict(get_converted: bool = True) rogii_solo.types.DataList

Convert all TrajectoryPoints in the repository to a list of dictionaries.

Parameters:

get_converted – Whether to convert values to the specified measurement units

Returns:

List of dictionaries representing the trajectory points

Example:

from rogii_solo import SoloClient

client_id = ... # Input your client ID
client_secret = ... # Input your client secret

solo_client = SoloClient(client_id=client_id, client_secret=client_secret)
project = solo_client.set_project_by_name('Project1')
well = project.wells.find_by_name('Well1')
trajectory = well.trajectory

# Convert the trajectory to a dictionary without unit conversation
trajectory_dict = trajectory.to_dict(get_converted=False)
print(trajectory_dict)

# Convert the trajectory to a dictionary with unit conversation
trajectory_dict = trajectory.to_dict()
print(trajectory_dict)
to_df(get_converted: bool = True) pandas.DataFrame

Convert all TrajectoryPoints in the repository to Pandas DataFrame.

Parameters:

get_converted – Whether to convert values to the specified measurement units

Returns:

Pandas DataFrame representation of the trajectory points

Example:

from rogii_solo import SoloClient

client_id = ... # Input your client ID
client_secret = ... # Input your client secret

solo_client = SoloClient(client_id=client_id, client_secret=client_secret)
project = solo_client.set_project_by_name('Project1')
well = project.wells.find_by_name('Well1')
trajectory = well.trajectory

# Convert the trajectory to a DataFrame without unit conversation
trajectory_df = trajectory.to_df(get_converted=False)
print(trajectory_df)

# Convert the trajectory to a DataFrame with unit conversation
trajectory_df = trajectory.to_df()
print(trajectory_df)