TotalDepth.common.lookup_mnemonic

Schlumberger Data

https://www.apps.slb.com/cmd/

“The Curve Mnemonic Dictionary is the publicly accessible version of the Oilfield Services Data Dictionary (OSDD).”

Mnemonics

URL is of the form:

https://www.apps.slb.com/cmd/<TYPE>.aspx?code=<NAME>

Where <TYPE> is:

Data channels: ChannelItem Parameters: ParameterItem Logging Tools: ToolItem Software Products: ProductItem

Examples:

https://www.apps.slb.com/cmd/ChannelItem.aspx?code=RHOB
https://www.apps.slb.com/cmd/ParameterItem.aspx?code=LATI
https://www.apps.slb.com/cmd/ToolItem.aspx?code=HDT

Anything that does not start with [A-Z] is in https://www.apps.slb.com/cmd/ChannelsList.aspx?start=na

Example:

https://www.apps.slb.com/cmd/ChannelItem.aspx?code=A0

Content contains the key/value table:

<table cellspacing="5" cellpadding="1" id="main_DetailsView1" style="width:492px;">
    <tr>
        <td style="font-weight:bold;">Channel</td>
        <td>A0</td>
    </tr>
    <tr>
        <td style="font-weight:bold;">Description</td>
        <td>Analog 0 (Regular)</td>
    </tr>
    <tr>
        <td style="font-weight:bold;">Unit quantity</td>
        <td>
            <a id="main_DetailsView1_HyperLink1" href="UOMDetail.aspx?dim=ElectricPotential">ElectricPotential</a>
        </td>
    </tr>
    <tr>
        <td style="font-weight:bold;">Property</td>
        <td>
            <a id="main_DetailsView1_HyperLink4" href="PropertyItem.aspx?code=Electric_Potential">Electric_Potential</a>
        </td>
    </tr>
</table>

Data Channels

Example:

https://www.apps.slb.com/cmd/ChannelItem.aspx?code=RHOB

Channels have the attributes: Channel, Description, Unit quantity, Property as key/value in a table ‘main_DetailsView1’.

In the table ‘main_GridView1’ there are ‘Related tools’ as a list of key/value:

<th scope="col">Tool</th><th scope="col">Description</th>

In the table ‘main_GridView2’ there are ‘Related products’ as a list of key/value:

<th scope="col">Product</th><th scope="col">Description</th>

Parameters

Example:

https://www.apps.slb.com/cmd/ParameterItem.aspx?code=LATI

Parameters have the attributes: Code, Description, Unit quantity, Property in a key/value table ‘main_DetailsView1’.

They also have ‘Related products’ in the ‘main_GridView2’ a table with a list of key/values:

<th scope="col">Product</th><th scope="col">Description</th>

Logging Tools

Example:

https://www.apps.slb.com/cmd/ToolItem.aspx?code=HDT

In the table ‘main_DetailsView1’ a ToolItem has the attributes: Code, Technology, Discipline, Method, Description as a key/value table.

Example:

Code        HDT
Technology  Dipmeter
Discipline  Geology
Method      WIRELINE
Description High Resolution Dipmeter Tool

They also have ‘Related Channels’ in the ‘main_GridView1’ a table a list of key/values:

<th scope="col">Channel</th><th scope="col">Description</th>

They also have ‘Related Parameters’ in the ‘main_GridView2’ a table a list of key/values:

<th scope="col">Parameter</th><th scope="col">Description</th>

Software Products

Example:

https://www.apps.slb.com/cmd/ProductItem.aspx?code=CALCULATE_TRAJECTORY

In the table ‘main_DetailsView1’ has the attributes: Code, Name, Discipline, Type, Description as a key/value table.

They also have ‘Related Channels’ in the ‘main_GridView1’ a table a list of key/values with links to ChannelItem:

<th scope="col">Channel</th><th scope="col">Description</th>

Properties

Example:

https://www.apps.slb.com/cmd/PropertyItem.aspx?code=Diameter

In the table ‘main_DetailsView1’ has the attributes: Code, Name, Parents, Description as a key/value table.

Parents are as a hierarchy, for example:

<td style="font-weight:bold;">Parents</td>
<td>&nbsp;
    <span id="main_DetailsView1_labParents">
        <a href="PropertyItem.aspx?code=Property">Property</a>
    &gt;
        <a href="PropertyItem.aspx?code=Length">Length</a>
    </span>
</td>

They also have ‘Related children’ in the ‘main_GridView1’ a table a list of key/values with links to PropertyItem:

<th scope="col">Code</th><th scope="col">Name</th>

Units

See slb_units()

Unit assingnment:

https://www.apps.slb.com/cmd/unitassignment.aspx

Example:

<table cellspacing="0" cellpadding="4" id="main_GridView1" style="width:940px;border-collapse:collapse;">
    <tr align="left" style="background-color:#E0E0E0;font-size:X-Small;">
        <th scope="col">Unit</th>
        <th scope="col">Unit System</th>
        <th scope="col">Unit Quantity</th>
        <th scope="col">Dimension</th>
    </tr><tr>
        <td>(bbl/d)/(rev/s)</td>
        <td>ProductionEnglish</td>
        <td>FlowratePerRotationalVelocity</td>
        <td>VolumePerRotation</td>
    </tr><tr>
        <td>(rev/s)/(ft/min)</td>
        <td>ProductionEnglish</td>
        <td>RotationalVelocityPerVelocity</td>
        <td>RotationPerLength</td>
    </tr><tr>
        <td>gn</td>
        <td>Metric</td>
        <td>Gravity</td>
        <td>Acceleration</td>
    </tr>
exception TotalDepth.common.lookup_mnemonic.ExceptionLookupMnemonic
exception TotalDepth.common.lookup_mnemonic.ExceptionLookupMnemonicReadURL
exception TotalDepth.common.lookup_mnemonic.ExceptionLookupMnemonicTable
exception TotalDepth.common.lookup_mnemonic.ExceptionLookupMnemonicReadTable
TotalDepth.common.lookup_mnemonic.decompose_table_by_header_row(parse_tree: bs4.BeautifulSoup, table_id: str) → List[Dict[str, str]]

Return a list of rows from an HTML table of given ID.

class TotalDepth.common.lookup_mnemonic.ProductDescription(product, description)
product

Alias for field number 0

description

Alias for field number 1

__getnewargs__()

Return self as a plain tuple. Used by copy and pickle.

static __new__(_cls, product: str, description: str)

Create new instance of ProductDescription(product, description)

__repr__()

Return a nicely formatted representation string

class TotalDepth.common.lookup_mnemonic.ToolDescription(tool, description)
tool

Alias for field number 0

description

Alias for field number 1

__getnewargs__()

Return self as a plain tuple. Used by copy and pickle.

static __new__(_cls, tool: str, description: str)

Create new instance of ToolDescription(tool, description)

__repr__()

Return a nicely formatted representation string

class TotalDepth.common.lookup_mnemonic.Channel(channel, description, unit_quantity, property, related_tools, related_products)
channel

Alias for field number 0

description

Alias for field number 1

unit_quantity

Alias for field number 2

property

Alias for field number 3

related_tools

Alias for field number 4

related_products

Alias for field number 5

__getnewargs__()

Return self as a plain tuple. Used by copy and pickle.

static __new__(_cls, channel: str, description: str, unit_quantity: str, property: str, related_tools: Tuple[TotalDepth.common.lookup_mnemonic.ToolDescription], related_products: Tuple[TotalDepth.common.lookup_mnemonic.ProductDescription])

Create new instance of Channel(channel, description, unit_quantity, property, related_tools, related_products)

__repr__()

Return a nicely formatted representation string

TotalDepth.common.lookup_mnemonic.slb_data_channel

Returns the Channel corresponding to the name. This is a cached live lookup.

class TotalDepth.common.lookup_mnemonic.Parameter(code, description, unit_quantity, property, related_products)
code

Alias for field number 0

description

Alias for field number 1

unit_quantity

Alias for field number 2

property

Alias for field number 3

related_products

Alias for field number 4

__getnewargs__()

Return self as a plain tuple. Used by copy and pickle.

static __new__(_cls, code: str, description: str, unit_quantity: str, property: str, related_products: Tuple[TotalDepth.common.lookup_mnemonic.ProductDescription])

Create new instance of Parameter(code, description, unit_quantity, property, related_products)

__repr__()

Return a nicely formatted representation string

TotalDepth.common.lookup_mnemonic.slb_parameter

Returns the Parameter corresponding to the name. This is a cached live lookup.

class TotalDepth.common.lookup_mnemonic.ChannelDescription(channel, description)
channel

Alias for field number 0

description

Alias for field number 1

__getnewargs__()

Return self as a plain tuple. Used by copy and pickle.

static __new__(_cls, channel: str, description: str)

Create new instance of ChannelDescription(channel, description)

__repr__()

Return a nicely formatted representation string

class TotalDepth.common.lookup_mnemonic.ParameterDescription(parameter, description)
parameter

Alias for field number 0

description

Alias for field number 1

__getnewargs__()

Return self as a plain tuple. Used by copy and pickle.

static __new__(_cls, parameter: str, description: str)

Create new instance of ParameterDescription(parameter, description)

__repr__()

Return a nicely formatted representation string

class TotalDepth.common.lookup_mnemonic.LoggingTool(code, technology, discipline, method, description, related_channels, related_parameters)
code

Alias for field number 0

technology

Alias for field number 1

discipline

Alias for field number 2

method

Alias for field number 3

description

Alias for field number 4

related_channels

Alias for field number 5

related_parameters

Alias for field number 6

__getnewargs__()

Return self as a plain tuple. Used by copy and pickle.

static __new__(_cls, code: str, technology: str, discipline: str, method: str, description: str, related_channels: Tuple[TotalDepth.common.lookup_mnemonic.ChannelDescription], related_parameters: Tuple[TotalDepth.common.lookup_mnemonic.ParameterDescription])

Create new instance of LoggingTool(code, technology, discipline, method, description, related_channels, related_parameters)

__repr__()

Return a nicely formatted representation string

TotalDepth.common.lookup_mnemonic.slb_logging_tool

Logging Tools

Example:

https://www.apps.slb.com/cmd/ToolItem.aspx?code=HDT

In the table ‘main_DetailsView1’ a ToolItem has the attributes: Code, Technology, Discipline, Method, Description as a key/value table.

Example:

Code        HDT
Technology  Dipmeter
Discipline  Geology
Method      WIRELINE
Description High Resolution Dipmeter Tool

They also have ‘Related Channels’ in the ‘main_GridView1’ a table a list of key/values:

<th scope="col">Channel</th><th scope="col">Description</th>

They also have ‘Related Parameters’ in the ‘main_GridView2’ a table a list of key/values:

<th scope="col">Parameter</th><th scope="col">Description</th>