Working with Sample Projects

The following sample projects are provided:

Project Name Description
ExamplesSharedModule A shared module containing OpenSpirit Data Connection shared resources that are available for other sample projects.
SourceAndProjects This example gets the Studio 2016 data source type and retrieves the data sources for this type and the projects for each data source.
CoordinateAndUnitConversion This example reads a well data from a PPDM project using the OpenSpirit model and performs a unit conversion on a quantity column and a coordinate conversion on a geometry column.
WellLoader This example reads well data from a text file (values for uwi, name, surface latitude, surface longitude, operator, and water depth) and inserts the wells into an OpenWorks project using the OpenSpirit common model.
OffsetsAndAzimuthTransform This example uses the Directional Survey Operations activity to transform offsets and azimuth from a OpenWorks well to another coordinate system.
Seismic2dReader This example reads PostStack 2d data from a Studio project using the OpenSpirit common model and writes the image to a file.
Seismic3dReader This example reads PostStack 3d data from a Studio project using the OpenSpirit common model and writes the image to a file.
HorizonReader This example reads EpiInterpretation_HorizonGrid2dProperty data from a Studio project using the OpenSpirit common model and writes the image to a file.
Copy This example reads well data from a PPDM project and inserts into an OpenWorks project using the native models.
DataSelectionEvent This example reads a WellBore from the ReadDataConnection shared resource using the OpenSpirit model and sends a data selection event.

OpenSpirit Data Connections

After importing the shared module ExamplesSharedModule open it and go to the Resources directory. Modify the connections with the available data stores in your environment.