4.3.3 ChannelMetadata Message

Topic Version1Published10/16/2017
For StandardETPW20 v1

The producer replies to ChannelDescribe message with the following ChannelMetatdata message; below, see the tables that show mappings for channel and index metadata and the domain object XML.


// [460f515b-0491-4c89-b4a2-51de16df9bef] Message received at 2017-04-19 00:10:39.9483{

"protocol":1,

"messageType":2,

"correlationId":4,

"messageId":6,

"messageFlags":3}{  

"channels": [    {      

"channelUri": "eml://witsml20/Trajectory(0655e8cd-b590-4f89-9b30-2a897db562ec)",      

"channelId": 0,      

"indexes": [        {          

"indexType": "Depth",          

"uom": "ft",          

"depthDatum": null,          

"direction": "Increasing",          

"mnemonic": "MD",          

"description": "measured depth",          

"uri": "eml://witsml20/Trajectory(0655e8cd-b590-4f89-9b30-2a897db562ec)/MD",          

"customData": {},          

"scale": 3,          

"timeDatum": null        }      ],      

"channelName": "Plan #2",      

"dataType": "bytes",      

"uom": "ft",      

"startIndex": 0,      

"endIndex": 0,      

"description": "Plan #2",      

"status": "Inactive",      

"contentType": "application/x-witsml+xml;version=2.0;type=part_TrajectoryStation",      

"source": "",      

"measureClass": "",      

"uuid": "0655e8cd-b590-4f89-9b30-2a897db562ec",      

"customData": {},      

"domainObject": {        

"resource": {          

"uri": "eml://witsml20/Trajectory(0655e8cd-b590-4f89-9b30-2a897db562ec)",          

"contentType": "application/x-witsml+xml;version=2.0;type=Trajectory",          

"name": "Plan #2",          

"channelSubscribable": true,          

"customData": {},          

"resourceType": "DataObject",          

"hasChildren": 0,          

"uuid": "0655e8cd-b590-4f89-9b30-2a897db562ec",          

"lastChanged": 1492571586409000,          

"objectNotifiable": true        },        

"contentEncoding": "gzip",        

"data": [ binary data truncated for readability ]      }    }  ]}

Channel Metadata Record

Metadata Property

Trajectory Property

Example

channelUri

Trajectory URI

eml://witsml20/Trajectory(0655e8cd-b590-4f89-9b30-2a897db562ec)

channelId

Unique channel identifier, per session

0

channelName

Trajectory.Citation.Title

Plan #2

dataType

The type of the channel data value

bytes

uom

Trajectory.MDMin.Uom

ft

startIndex

Trajectory.MDMin.Value

0.0

endIndex

Trajectory.MDMax.Value

123.456

description

Trajectory.Citation.Description or Trajectory.Citation.Title

Plan #2

status

Trajectory.GrowingStatus

inactive

contentType

Trajectory Station Content Type

application/x-witsml+xml;version=2.0;type=part_TrajectoryStation

source

The tag serviceCompany from the trajectory object.

ACME Drilling Company

measureClass

NA

 

uuid

Trajectory.Uuid

0655e8cd-b590-4f89-9b30-2a897db562ec

indexes

See Index Metadata Record below

[ ]

domainObject

DataObject with Resource and Data

{ }

customData

n/a

{ }

Index Metadata Record

Metadata Property

Domain Object Property

Example

indexType

ChannelIndexTypes.Depth

Depth

uom

Trajectory.MdMn.uom

ft

depthDatum

Trajectory.MdMn.datum

KB

direction

IndexDirections.Increasing

Increasing

mnemonic

n/a

MD

description

n/a

measured depth

uri

n/a

eml://witsml20/Trajectory(0655e8cd-b590-4f89-9b30-2a897db562ec)/MD

Domain Object XML


<Trajectory xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/terms/" schemaVersion="2.0" uuid="0655e8cd-b590-4f89-9b30-2a897db562ec" xmlns="http://www.energistics.org/energyml/data/witsmlv2">
<Citation xmlns="http://www.energistics.org/energyml/data/commonv2">
<Title>Plan #2</Title>
<Originator>PDS</Originator>
<Creation>2017-04-19T03:06:37.823Z</Creation>
<Format>PDS.WITSMLstudio.Desktop, Version=2017.1.0.0 </Format>
<LastUpdate>2017-04-19T03:13:06.409Z</LastUpdate>
</Citation>
<GrowingStatus>inactive</GrowingStatus>
<DTimTrajStart>2001-10-31T08:15:00.0000000+00:00</DTimTrajStart>
<DTimTrajEnd>2001-11-03T16:30:00.0000000+00:00</DTimTrajEnd>
<MdMn uom="ft" datum=”KB”>0</MdMn>
<MdMx uom="ft" datum=”KB”>0</MdMx>
<ServiceCompany>Anadrill</ServiceCompany>
<MagDeclUsed uom="dega">-4.038</MagDeclUsed>
<AziVertSect uom="dega">82.7</AziVertSect>
<DispNsVertSectOrig uom="ft">0</DispNsVertSectOrig>
<DispEwVertSectOrig uom="ft">0</DispEwVertSectOrig>
<Definitive>true</Definitive>
<Memory>true</Memory>
<FinalTraj>true</FinalTraj>
<AziRef>grid north</AziRef>
<Wellbore>
<ContentType xmlns="http://www.energistics.org/energyml/data/commonv2">application/x-witsml+xml;version=2.0;type=Wellbore</ContentType>
<Title xmlns="http://www.energistics.org/energyml/data/commonv2">A-42</Title>
<Uuid xmlns="http://www.energistics.org/energyml/data/commonv2">d7cb2b2b-b0c1-48d6-9d8b-5253f4507beb</Uuid>
<UuidAuthority xmlns="http://www.energistics.org/energyml/data/commonv2">B-01</UuidAuthority>
</Wellbore>
</Trajectory>