Download as pdf or txt
Download as pdf or txt
You are on page 1of 16

Petrel TIPS&TRICKS from SCM

Knowledge Worth Sharing

Pie Charts or Bubble Maps 
 
This TIPS&TRICKS is intended to aid a person working in Petrel who needs to make a display showing the 
relative proportion of different areas of a dataset.  Each pie represents the size relationship between the 
parts of an object and the entire object. 
This article was created using Petrel 2013.7 and a sample pie chart (in a Map window) using the Gulfaks 
dataset is shown below. 

Petrel is a mark of Schlumberger

4801 Woodway Drive, Suite 150W • Houston, TX 77056 • www.scminc.com • info@scminc.com


© 2012 SCM E&P Solutions, Inc.

1
Pie Charts in Petrel
For this article, we will only discuss pie charts using data found in the Input pane; and not the bubble maps 
that can be created using summary data from Simulator runs. 
Pie charts may only be displayed in Map, Interpretation and Intersection windows (along with Map and 
Intersection viewports on a Plot window).  Data used to create the pie charts comes from either a Well 
Tops object or a Pointset object with attributes. 

Using a Pointset with Attributes


A Pointset with attributes might look like (in the Input tab with a 3D Window active): 

 
Note the radio buttons between the icons and the attribute names.  This indicates that only one attribute 
can be displayed in the active window.  When a Map window is the active window, the same Pointset 
would look like: 

 
Now, the radio buttons have been replaced with boxes indicating that multiple attributes can be displayed 
in the active window.  When the Settings  Style tab for the dataset is displayed, it might appear with the 
Symbol radio button active.  If all the attributes for the pie chart are set active in the Pointset, it still 
appears without any bubbles on the map window: 

Petrel is a mark of Schlumberger

4801 Woodway Drive, Suite 150W • Houston, TX 77056 • www.scminc.com • info@scminc.com


© 2012 SCM E&P Solutions, Inc.

2
   
Merely clicking on the Pie Chart radio button allows the bubbles to show. 

 
 
You can adjust the parameters to make the bubbles appear as you want them to appear. 

Petrel is a mark of Schlumberger

4801 Woodway Drive, Suite 150W • Houston, TX 77056 • www.scminc.com • info@scminc.com


© 2012 SCM E&P Solutions, Inc.

3
 
 
 
How are these Pointsets with attributes created?  There are two main ways to create them; importing the 
data including the attributes and having a previously created pointset and adding the attributes.  
Import the data including the attributes from an ASCII file.  There are two sub‐options here; importing a 
file with headers and importing a file with no headers. 

Importing a file with Headers


A file with Petrel headers is shown below: 

Petrel is a mark of Schlumberger

4801 Woodway Drive, Suite 150W • Houston, TX 77056 • www.scminc.com • info@scminc.com


© 2012 SCM E&P Solutions, Inc.

4
 
 
If you are lucky enough to have a file with headers, importing it is very easy.   
1. Right‐click on the folder where you want to import the file and choose Import (on selection) 

 
 
a) Navigate to the folder where the data is stored 
b) Change the Files of type: to Petrel points with attributes (ASCII) (*.*) 
c) Click on the file (it appears in the File name: box and click Open. 

Petrel is a mark of Schlumberger

4801 Woodway Drive, Suite 150W • Houston, TX 77056 • www.scminc.com • info@scminc.com


© 2012 SCM E&P Solutions, Inc.

5
 
d) The Import Petrel points with attributes window appears.  The top of the window contains the 
attributes that Petrel has read from the file with headers. 

 
The bottom of the window contains the first few lines of the file: 

Petrel is a mark of Schlumberger

4801 Woodway Drive, Suite 150W • Houston, TX 77056 • www.scminc.com • info@scminc.com


© 2012 SCM E&P Solutions, Inc.

6
 
e) Make the window large enough so you can scroll through the window and confirm that the 
attributes at the top of the window actually match the data at the bottom of the window.  When 
satisfied, click on the OK or OK for all button. 
f) Another window appears allowing you to set the template and Coordinate Reference System (CRS) 
of the dataset.  Again, click OK or OK for all. 

 
Petrel is a mark of Schlumberger

4801 Woodway Drive, Suite 150W • Houston, TX 77056 • www.scminc.com • info@scminc.com


© 2012 SCM E&P Solutions, Inc.

7
g) The data is imported into the Input pane. 

 
2. You will probably need to open the Settings for some of the attributes and change their templates.  

 
 
 
 
 
 
 
 
 
3. Once the data is imported, display it in a window. 
 

Petrel is a mark of Schlumberger

4801 Woodway Drive, Suite 150W • Houston, TX 77056 • www.scminc.com • info@scminc.com


© 2012 SCM E&P Solutions, Inc.

8
Importing a file without Headers
If you have a data file without headers, you must assign the attributes yourself.  A file without headers 
might look like: 

 
1. Begin the same way as earlier.  Right‐click on the folder where the data will be stored and choose 
Import (on selection) …  

 
 
a. Navigate to the folder where the data is stored, click on the file (it appears in the File name: box 
and click Open. 

Petrel is a mark of Schlumberger

4801 Woodway Drive, Suite 150W • Houston, TX 77056 • www.scminc.com • info@scminc.com


© 2012 SCM E&P Solutions, Inc.

9
 
 
b. The Import Petrel points with attributes window appears.  The top of the window contains some 
attributes but they probably don’t match the data that appears at the bottom of the window.  The 
attributes at the top: 

 
c. The data at the bottom: 

 
 

Petrel is a mark of Schlumberger

4801 Woodway Drive, Suite 150W • Houston, TX 77056 • www.scminc.com • info@scminc.com


© 2012 SCM E&P Solutions, Inc.

10
d. Manually, make the attributes match the data by adding attributes using the Append a column in 

the table    icon or deleting attributes using the Delete a column in the table   icon.  Change 


the Attribute type and name until the data matches.  The following attributes at the top now match 
the data. 

 
e. When the attributes match, click on the OK or OK for all button. 
f. Another window appears allowing you to set the template and CRS of the dataset.  Click OK or OK 
for all. 

 
g. The data is imported into the Input pane. 

Petrel is a mark of Schlumberger

4801 Woodway Drive, Suite 150W • Houston, TX 77056 • www.scminc.com • info@scminc.com


© 2012 SCM E&P Solutions, Inc.

11
 
2. Once again, you will probably need to open the Settings for some of the attributes and change their 
templates. 

 
3. Once the data is imported, display it in a window. 
 

Adding Attributes to a Pointset


If you have a previously existing Pointset and need to add attributes, you must have properties already 
defined in a 3D Grid: 
 
1. Right‐click on the points and select Insert new Attribute 

 
 
 
 
 
 
 
 
 
 

Petrel is a mark of Schlumberger

4801 Woodway Drive, Suite 150W • Houston, TX 77056 • www.scminc.com • info@scminc.com


© 2012 SCM E&P Solutions, Inc.

12
2. Choose a Continuous attribute: 

 
3. Go to the Operations tab and choose Values from property  Assign values from a property 

 
 
4. Find the property you want to use from the 3D Grid: 

 
Petrel is a mark of Schlumberger

4801 Woodway Drive, Suite 150W • Houston, TX 77056 • www.scminc.com • info@scminc.com


© 2012 SCM E&P Solutions, Inc.

13
5. Highlight the property and use the blue arrow to enter it into the property location. 
6. Click Run 

 
7. The new attribute is created under the Pointset. 

 
 
8. Repeat for the other attributes, selecting the corresponding properties: 

 
 
 
 
 
 
 
 
 
9. Use the data to build the pie charts. 

Petrel is a mark of Schlumberger

4801 Woodway Drive, Suite 150W • Houston, TX 77056 • www.scminc.com • info@scminc.com


© 2012 SCM E&P Solutions, Inc.

14
Using Well Tops or Points
When using Well Tops, you must have already defined Zone attributes or structural attributes other than 
the “Z” attribute (often Depth).  
Open a map window and display a Points object that contains values.  Open the Settings for the Points and 
make sure the Pie chart radio button on the Style tab is checked.   

 
 
If so, and you have the correct data, pie charts will appear. 

Petrel is a mark of Schlumberger

4801 Woodway Drive, Suite 150W • Houston, TX 77056 • www.scminc.com • info@scminc.com


© 2012 SCM E&P Solutions, Inc.

15
 

Open the Spreadsheet to see all the values. 

 
Petrel is a mark of Schlumberger

4801 Woodway Drive, Suite 150W • Houston, TX 77056 • www.scminc.com • info@scminc.com


© 2012 SCM E&P Solutions, Inc.

16

You might also like