Rogii Solo.Mudlog¶
attribute well |
|
attribute uuid |
Unique identifier of this |
attribute name |
Name of this |
property logs |
Get the repository of |
method to_dict() |
Convert this |
method to_df() |
Convert this |
attribute mudlog |
|
attribute uuid |
Unique identifier of this |
attribute name |
Name of this |
property points |
Get the repository of |
method to_dict() |
Convert this |
method to_df() |
Convert this |
method to_dict() |
Convert the repository of |
method to_df() |
Convert the repository of |
Module Contents¶
- class Mudlog(papi_client: rogii_solo.papi.client.PapiClient, well: WellType, **kwargs)¶
Bases:
rogii_solo.base.ComplexObjectRepresent a
Mudlogwithin aWell, containing lithology data and operations.- 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) projects = solo_client.set_project_by_name('Project1') well = projects.wells.find_by_name('Well1') mudlog = well.mudlogs.find_by_name('Mudlog1') # Get the Well associated with this Mudlog well = mudlog.well print(well.name) # Get the unique identifier of the Mudlog mudlog_uuid = mudlog.uuid print(mudlog_uuid) # Get the name of the Mudlog mudlog_name = mudlog.name print(mudlog_name)
- property logs: LithologyLogRepository¶
Get the repository of
LithologyLogassociated with thisMudlog.- Returns:
A
LithologyLogRepositorycontaining theLithologyLoginstances.- 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) projects = solo_client.set_project_by_name('Project1') well = projects.wells.find_by_name('Well1') mudlog = well.mudlogs.find_by_name('Mudlog1') # Get the LithologyLog repository associated with this Mudlog lithology_logs = mudlog.logs print(lithology_logs.to_dict())
- to_dict() Dict¶
Convert this
Mudloginstance to a dictionary representation.- Returns:
A dictionary containing the
Mudlogdata.- 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) projects = solo_client.set_project_by_name('Project1') well = projects.wells.find_by_name('Well1') mudlog = well.mudlogs.find_by_name('Mudlog1') # Convert the Mudlog instance to a dictionary mudlog_dict = mudlog.to_dict() print(mudlog_dict)
- to_df() pandas.DataFrame¶
Convert this
Mudloginstance to a pandas DataFrame representation.- Returns:
A pandas DataFrame containing the
Mudlogdata.- 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) projects = solo_client.set_project_by_name('Project1') well = projects.wells.find_by_name('Well1') mudlog = well.mudlogs.find_by_name('Mudlog1') # Convert the Mudlog instance to a pandas DataFrame mudlog_df = mudlog.to_df() print(mudlog_df)
- class LithologyLog(mudlog: Mudlog, **kwargs)¶
Bases:
rogii_solo.base.BaseObjectRepresent a
LithologyLogwithin aMudlog, containing lithology data for a specific property.- 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) projects = solo_client.set_project_by_name('Project1') well = projects.wells.find_by_name('Well1') mudlog = well.mudlogs.find_by_name('Mudlog1') # Get the first LithologyLog associated with this Mudlog litho_log = mudlog.logs[0] # Get the Mudlog associated with this LithologyLog parent_mudlog = litho_log.mudlog print(parent_mudlog.name) # Get the unique identifier of the LithologyLog litho_log_uuid = litho_log.uuid print(litho_log_uuid) # Get the name of the LithologyLog litho_log_name = litho_log.name print(litho_log_name)
- mudlog¶
Mudlogassociated with thisLithologyLog.
- uuid: str | None = None¶
Unique identifier of this
LithologyLog.
- name: str | None = None¶
Name of this
LithologyLog.
- property points: rogii_solo.log.LogPointRepository¶
Get the repository of
LogPointassociated with thisLithologyLog.- Returns:
A
LogPointRepositorycontaining theLogPointinstances.- 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) projects = solo_client.set_project_by_name('Project1') well = projects.wells.find_by_name('Well1') mudlog = well.mudlogs.find_by_name('Mudlog1') # Get the first LithologyLog associated with this Mudlog litho_log = mudlog.logs[0] # Get the LogPoint repository associated with this LithologyLog log_points = litho_log.points print(log_points.to_dict())
- to_dict() Dict¶
Convert this
LithologyLoginstance to a dictionary representation.- Returns:
A dictionary containing the
LithologyLogdata.- 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) projects = solo_client.set_project_by_name('Project1') well = projects.wells.find_by_name('Well1') mudlog = well.mudlogs.find_by_name('Mudlog1') # Get the first LithologyLog associated with this Mudlog litho_log = mudlog.logs[0] # Convert the LithologyLog instance to a dictionary litho_log_dict = litho_log.to_dict() print(litho_log_dict)
- to_df() pandas.DataFrame¶
Convert this
LithologyLoginstance to a pandas DataFrame representation.- Returns:
A pandas DataFrame containing the lithology log data.
- 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) projects = solo_client.set_project_by_name('Project1') well = projects.wells.find_by_name('Well1') mudlog = well.mudlogs.find_by_name('Mudlog1') # Get the first LithologyLog associated with this Mudlog litho_log = mudlog.logs[0] # Convert the LithologyLog instance to a pandas DataFrame litho_log_df = litho_log.to_df() print(litho_log_df)
- class LithologyLogRepository(objects: List[T] = None)¶
Bases:
rogii_solo.base.ObjectRepositoryA repository of
LithologyLogobjects.- 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) projects = solo_client.set_project_by_name('Project1') well = projects.wells.find_by_name('Well1') mudlog = well.mudlogs.find_by_name('Mudlog1') # Get the LithologyLog repository associated with this Mudlog lithology_logs = mudlog.logs print(lithology_logs.to_dict())
- to_dict() rogii_solo.types.DataList¶
Convert the repository of
LithologyLogobjects to a list of dictionaries.- Returns:
A list of dictionaries containing the
LithologyLogdata.- 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) projects = solo_client.set_project_by_name('Project1') well = projects.wells.find_by_name('Well1') mudlog = well.mudlogs.find_by_name('Mudlog1') # Convert the LithologyLog repository to a list of dictionaries lithology_logs = mudlog.logs print(lithology_logs.to_dict())
- to_df() pandas.DataFrame¶
Convert the repository of
LithologyLogobjects to a pandas DataFrame.This method creates a DataFrame with all lithology logs merged by MD (Measured Depth).
- Returns:
A pandas DataFrame representing all lithology logs merged by MD.
- 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) projects = solo_client.set_project_by_name('Project1') well = projects.wells.find_by_name('Well1') mudlog = well.mudlogs.find_by_name('Mudlog1') # Convert all lithology logs to a combined DataFrame lithology_df = mudlog.logs.to_df() print(lithology_df)