Show 

Home > Configuration Files > XML Mapping Files

XML Mapping Files

The following table lists XML files used to map OpenSpirit values to values recognized by Petrel. The XML files are located in the OpenSpirit Adapter installation directory (e.g. %Ocean2019Home%\Extensions\TIBCO\OpenSpirit Adapter 28.0.0).

XML Mapping File Description
LogNameToLogMnemonic.xml This XML file is used to map Petrel well log names to OpenSpirit well log kind values.

OpenSpiritLogKindToPetrelMnemonic.xml

This XML file is used to map multiple OpenSpirit well log kind values to a Petrel well log template name. The % wildcard character can be used in the mappings.
 
For example, the following mapping will map any OpenSpirit log kind that starts with "GR" or "MyGR" to the Petrel log template name "GR".
 

<Map Mnemonics="GR">
    <Alias LogKind="GR%"/>
    <Alias LogKind="MyGR%"/>
</Map>

The following mapping will map any OpenSpirit log kind that starts with "SP" to the Petrel log template name "SP".

<Map Mnemonics="SP">

    <Alias LogKind="SP%"/>

</Map>

OpenSpiritPointPropertyTypeAndPetrelTemplate.xml

This XML file is used to map the OpenSpirit horizon and fault pointset PropertyType attribute to the Petrel template used for the Points attribute.

Add a new row in the PointPropertyTypeToPetrelTemplate section:

    <Map PointPropertyType="Z - FIELD"  Template="Elevation depth"></Map>

Add a new row in the PetrelTemplateToPointPropertyType section:

    <Map Template="Elevation depth"  PointPropertyType="Z - FIELD"></Map>

OpenSpiritWellSymbolsToWellType.xml This XML file is used to map combinations of OpenSpirit BoreStatus, FlowDirection, FluidType, and ShowType well and well bore attribute values to Petrel well symbols.
WellTypesToOpenSpiritWellSymbol.xml This XML file is used to map Petrel well symbols to combinations of OpenSpirit BoreStatus, FlowDirection, FluidType, and ShowType well and well bore attribute values.
OpenSpiritHorizonTypeAndPetrelTemplate.xml This XML file is used to map the OpenSpirit horizon PropertyType attribute to the Petrel template used as the Seismic horizon Domain attribute. The mappings in this file are used when importing and exporting horizons.
 

Add a new row in HorizonTypeToPetrelTemplate section:

<Map HorizonType="Horizon type name" Template="Petrel template name"></Map>

Add a new row in PetrelTemplateToHorizonType section:

<Map Template="Petrel template name" HorizonType="Horizon type name"></Map>

Editing these files without exercising great care may have undesirable consequences.