Rogii Solo.Mudlog

Mudlog

attribute well

Well associated with this Mudlog.

attribute uuid

Unique identifier of this Mudlog.

attribute name

Name of this Mudlog.

property logs

Get the repository of LithologyLog associated with this Mudlog.

method to_dict()

Convert this Mudlog instance to a dictionary representation.

method to_df()

Convert this Mudlog instance to a pandas DataFrame representation.

LithologyLog

attribute mudlog

Mudlog associated with this LithologyLog.

attribute uuid

Unique identifier of this LithologyLog.

attribute name

Name of this LithologyLog.

property points

Get the repository of LogPoint associated with this LithologyLog.

method to_dict()

Convert this LithologyLog instance to a dictionary representation.

method to_df()

Convert this LithologyLog instance to a pandas DataFrame representation.

LithologyLogRepository

method to_dict()

Convert the repository of LithologyLog objects to a list of dictionaries.

method to_df()

Convert the repository of LithologyLog objects to a pandas DataFrame.

Module Contents

class Mudlog(papi_client: rogii_solo.papi.client.PapiClient, well: WellType, **kwargs)

Bases: rogii_solo.base.ComplexObject

Represent a Mudlog within a Well, 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)
well

Well associated with this Mudlog.

uuid: str | None = None

Unique identifier of this Mudlog.

name: str | None = None

Name of this Mudlog.

property logs: LithologyLogRepository

Get the repository of LithologyLog associated with this Mudlog.

Returns:

A LithologyLogRepository containing the LithologyLog instances.

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 Mudlog instance to a dictionary representation.

Returns:

A dictionary containing the Mudlog 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')

# Convert the Mudlog instance to a dictionary
mudlog_dict = mudlog.to_dict()
print(mudlog_dict)
to_df() pandas.DataFrame

Convert this Mudlog instance to a pandas DataFrame representation.

Returns:

A pandas DataFrame containing the Mudlog 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')

# 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.BaseObject

Represent a LithologyLog within a Mudlog, 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

Mudlog associated with this LithologyLog.

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 LogPoint associated with this LithologyLog.

Returns:

A LogPointRepository containing the LogPoint instances.

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 LithologyLog instance to a dictionary representation.

Returns:

A dictionary containing the LithologyLog 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 dictionary
litho_log_dict = litho_log.to_dict()
print(litho_log_dict)
to_df() pandas.DataFrame

Convert this LithologyLog instance 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.ObjectRepository

A repository of LithologyLog 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)
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 LithologyLog objects to a list of dictionaries.

Returns:

A list of dictionaries containing the LithologyLog 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')

# 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 LithologyLog objects 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)