02.05.2014 Views

CoreandServices.book - Ocean - Schlumberger

CoreandServices.book - Ocean - Schlumberger

CoreandServices.book - Ocean - Schlumberger

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Custom Worksteps<br />

Custom Worksteps<br />

The <strong>Ocean</strong> API lets you create custom worksteps that the end user integrates into<br />

workflows. For example, a custom workstep might upscale log values into a pillar grid<br />

property using an algorithm not currently available within Petrel.<br />

Fig. 6-23 Custom Worksteps in the Workflow Editor<br />

Your main responsibility is to write the algorithm that does the work. <strong>Ocean</strong> helps you<br />

access input data and create output data. <strong>Ocean</strong> even builds input UI’s for you, although<br />

you can create a custom dialog UI if you need to.<br />

To show how to write a custom workstep, we will implement a workstep to create a new<br />

property from upscaled well log values.<br />

The custom workstep takes a well log and a pillar grid as input and produces a new pillar<br />

grid property along with its cell count (the number of cells in the new property).<br />

well log<br />

pillar grid<br />

custom<br />

upscaling<br />

workstep<br />

property<br />

cell count<br />

Fig. 6-24 Custom Workstep<br />

In our workstep example, we will cover:<br />

• Defining the workstep inputs and outputs<br />

• Getting the input data into the workstep<br />

• Setting the output data<br />

• Default UI’s supplied by <strong>Ocean</strong><br />

• Providing a custom dialog UI<br />

<strong>Schlumberger</strong> Private<br />

Workflow 6-283

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!