PieChartsorBubbleMaps
ThisTIPS&TRICKSisintendedtoaidapersonworkinginPetrelwhoneedstomakeadisplayshowingthe
relativeproportionofdifferentareasofadataset.Eachpierepresentsthesizerelationshipbetweenthe
partsofanobjectandtheentireobject.
ThisarticlewascreatedusingPetrel2013.7andasamplepiechart(inaMapwindow)usingtheGulfaks
datasetisshownbelow.
1
Pie Charts in Petrel
Forthisarticle,wewillonlydiscusspiechartsusingdatafoundintheInputpane;andnotthebubblemaps
thatcanbecreatedusingsummarydatafromSimulatorruns.
PiechartsmayonlybedisplayedinMap,InterpretationandIntersectionwindows(alongwithMapand
IntersectionviewportsonaPlotwindow).DatausedtocreatethepiechartscomesfromeitheraWell
TopsobjectoraPointsetobjectwithattributes.
Notetheradiobuttonsbetweentheiconsandtheattributenames.Thisindicatesthatonlyoneattribute
canbedisplayedintheactivewindow.WhenaMapwindowistheactivewindow,thesamePointset
wouldlooklike:
Now,theradiobuttonshavebeenreplacedwithboxesindicatingthatmultipleattributescanbedisplayed
intheactivewindow.WhentheSettingsStyletabforthedatasetisdisplayed,itmightappearwiththe
Symbolradiobuttonactive.IfalltheattributesforthepiechartaresetactiveinthePointset,itstill
appearswithoutanybubblesonthemapwindow:
2
MerelyclickingonthePieChartradiobuttonallowsthebubblestoshow.
Youcanadjusttheparameterstomakethebubblesappearasyouwantthemtoappear.
HowarethesePointsetswithattributescreated?Therearetwomainwaystocreatethem;importingthe
dataincludingtheattributesandhavingapreviouslycreatedpointsetandaddingtheattributes.
ImportthedataincludingtheattributesfromanASCIIfile.Therearetwosuboptionshere;importinga
filewithheadersandimportingafilewithnoheaders.
Ifyouareluckyenoughtohaveafilewithheaders,importingitisveryeasy.
1. RightclickonthefolderwhereyouwanttoimportthefileandchooseImport(onselection)
a) Navigatetothefolderwherethedataisstored
b) ChangetheFilesoftype:toPetrelpointswithattributes(ASCII)(*.*)
c) Clickonthefile(itappearsintheFilename:boxandclickOpen.
5
d) TheImportPetrelpointswithattributeswindowappears.Thetopofthewindowcontainsthe
attributesthatPetrelhasreadfromthefilewithheaders.
Thebottomofthewindowcontainsthefirstfewlinesofthefile:
6
e) Makethewindowlargeenoughsoyoucanscrollthroughthewindowandconfirmthatthe
attributesatthetopofthewindowactuallymatchthedataatthebottomofthewindow.When
satisfied,clickontheOKorOKforallbutton.
f) AnotherwindowappearsallowingyoutosetthetemplateandCoordinateReferenceSystem(CRS)
ofthedataset.Again,clickOKorOKforall.
Petrel is a mark of Schlumberger
7
g) ThedataisimportedintotheInputpane.
2. YouwillprobablyneedtoopentheSettingsforsomeoftheattributesandchangetheirtemplates.
3. Oncethedataisimported,displayitinawindow.
8
Importing a file without Headers
Ifyouhaveadatafilewithoutheaders,youmustassigntheattributesyourself.Afilewithoutheaders
mightlooklike:
1. Beginthesamewayasearlier.Rightclickonthefolderwherethedatawillbestoredandchoose
Import(onselection)
a. Navigatetothefolderwherethedataisstored,clickonthefile(itappearsintheFilename:box
andclickOpen.
9
b. TheImportPetrelpointswithattributeswindowappears.Thetopofthewindowcontainssome
attributesbuttheyprobablydontmatchthedatathatappearsatthebottomofthewindow.The
attributesatthetop:
c. Thedataatthebottom:
10
d. Manually,maketheattributesmatchthedatabyaddingattributesusingtheAppendacolumnin
e. Whentheattributesmatch,clickontheOKorOKforallbutton.
f. AnotherwindowappearsallowingyoutosetthetemplateandCRSofthedataset.ClickOKorOK
forall.
g. ThedataisimportedintotheInputpane.
11
2. Onceagain,youwillprobablyneedtoopentheSettingsforsomeoftheattributesandchangetheir
templates.
3. Oncethedataisimported,displayitinawindow.
12
2. ChooseaContinuousattribute:
3. GototheOperationstabandchooseValuesfrompropertyAssignvaluesfromaproperty
4. Findthepropertyyouwanttousefromthe3DGrid:
Petrel is a mark of Schlumberger
13
5. Highlightthepropertyandusethebluearrowtoenteritintothepropertylocation.
6. ClickRun
7. ThenewattributeiscreatedunderthePointset.
8. Repeatfortheotherattributes,selectingthecorrespondingproperties:
9. Usethedatatobuildthepiecharts.
14
Using Well Tops or Points
WhenusingWellTops,youmusthavealreadydefinedZoneattributesorstructuralattributesotherthan
theZattribute(oftenDepth).
OpenamapwindowanddisplayaPointsobjectthatcontainsvalues.OpentheSettingsforthePointsand
makesurethePiechartradiobuttonontheStyletabischecked.
Ifso,andyouhavethecorrectdata,piechartswillappear.
15
OpentheSpreadsheettoseeallthevalues.
Petrel is a mark of Schlumberger
16