Introduction

to
Stratamodel

Introduction to
Stratamodel
© 2004 Landmark Graphics Corporation

Part No. 162107

February 2004

© 2004 Landmark Graphics Corporation
All Rights Reserved Worldwide
This publication has been provided pursuant to an agreement containing restrictions on its use. The publication is also
protected by Federal copyright law. No part of this publication may be copied or distributed, transmitted, transcribed,
stored in a retrieval system, or translated into any human or computer language, in any form or by any means,
electronic, magnetic, manual, or otherwise, or disclosed to third parties without the express written permission of:

Landmark Graphics Corporation
Building 1, Suite 200, 2101 CityWest, Houston, Texas 77042, USA
P.O. Box 42806, Houston, Texas 77242, USA
Phone: 713-839-2000
FAX: 713-839-2401
Web: www.lgc.com

Trademark Notice
3DFS, 3D Drill View, 3D Drill View KM, 3DView, 3D Surveillance, Active Field Surveillance,
Active Reservoir Surveillance, ADC, Advanced Data Transfer, ARIES, Asset Development Center,
Asset Development Centre, Automate, Asset Performance, AssetView, Atomic Meshing, Automate, BLITZ,
BLITZPAK, CasingSeat, COMPASS, Corporate Data Archiver, Corporate Data Store, Data Manager, DataStar,
DBPlot, Decision Suite, Decisionarium, DecisionSpace, DecisionSpace AssetPlanner, DecisionSpace AssetView,
DecisionSpace Atomic Meshing, DecisionSpace Decision Management Systems(DMS), DecisionSpace PowerGrid,
DecisionSpace PowerModel, DecisionSpace PrecisionTarget, DecisionSpace Reservior, DecisionSpace TracPlanner,
DecisionSpace Well Seismic Fusion, DepthTeam, DepthTeam Explorer, DepthTeam Express, DepthTeam Express3,
DepthTeam Extreme, DepthTeam Interpreter, Desktop Navigator, DESKTOP-PVT, DESKTOP-VIP, DEX,
DFW, DIMS, Discovery, Discovery Asset, Drill-to-the-Earth Model, Drillability Suite, Drilling Desktop, DrillModel,
DSS, Dynamic Reservoir Management, Dynamic Surveillance System, EarthCube, EDM, eLandmark,
Engineer’s Data Model, Engineer's Desktop, Engineer’s Link, EOS-PAK, Executive Assistant, ezFault, ezSurface,
ezTracker, FastTrack, FieldWorks, FZAP!, GeoDataLoad, GeoGraphix (stylized), GeoGraphix Exploration System,
GeoLink, GeoProbe, GeoProbe GF DataServer, GeoProbe Integrated, GES, GESXplorer, GMAplus, GRIDGENR,
Handheld Field Operator, I2 Enterprise, iDIMS, IsoMap, Landmark, Landmark and Design, Landmark logo and
Design, Landmark Decision Center, LandScape, Lattix, LeaseMap, LMK Resources, LogEdit, LogM, LogPrep,
Magic Earth, MagicDesk, MagicStation, MagicVision, Make Great Decisions, MathPack, MIRA, Model Builder,
MyLandmark, OpenBooks, OpenExplorer, OpenJournal, OpenSGM, OpenVision, OpenWells, OpenWire,
OpenWorks, OpenWorks Well File, PAL, Parallel-VIP, PetroBank, PetroWorks, PlotView, Point Gridding Plus,
Pointing Dispatcher, PostStack, PostStack ESP, PowerCalculator, PowerExplorer, PowerHub, Power Interpretation,
PowerJournal, PowerModel, PowerSection, PowerView, PRIZM, PROFILE, ProMAGIC, ProMAX, ProMAX 2D,
ProMAX 3D, ProMAX 3DPSDM, ProMAX MVA, ProMAX VSP, pSTAx, QUICKDIF, QUIKCDP, QUIKDIG,
QUIKRAY, QUIKSHOT, QUIKVSP, RAVE, RAYMAP, RTOC, Real Freedom, Real-Time Asset Management
Center, Real-Time Asset Management Centre, Real Time Knowledge Company, Real-Time Operations Center,
Real Time Production Surveillance, Real Time Surveillance, RESev, ResMap, RMS, SafeStart, SCAN, SeisCube,
SeisMap, SeisModel, SeisSpace, SeisVision, SeisWell, SeisWorks, SeisXchange, Sierra, Sierra (design), SigmaView,
SimResults, SIVA, Spatializer, SpecDecomp, StrataAmp, StrataMap, Stratamodel, StrataSim, StratWorks,
StressCheck, STRUCT, Surf & Connect, SynTool, System Start for Servers, SystemStart, SystemStart for Clients,
SystemStart for Storage, T2B, TDQ, Team Workspace, TERAS, Total Drilling Performance, TOW/cs,
TOW/cs The Oilfield Workstation, TracPlanner, Trend Form Gridding, Turbo Synthetics, VIP, VIP-COMP,
VIP-CORE, VIP-DUAL, VIP-ENCORE, VIP-EXECUTIVE, VIP-Local Grid Refinement, VIP-THERM, WavX,
Web Editor, Web OpenWorks, Well Seismic Fusion, Wellbase, Wellbore Planner, Wellbore Planner Connect,
WELLCAT, WELLPLAN, WellXchange, WOW, Xsection, You're in Control. Experience the difference, ZAP!,
and Z-MAP Plus are trademarks, registered trademarks or service marks of Landmark Graphics Corporation or
Magic Earth, Inc. All other trademarks are the property of their respective owners.
Note
The information contained in this document is subject to change without notice and should not be construed as a
commitment by Landmark Graphics Corporation. Landmark Graphics Corporation assumes no responsibility for any
error that may appear in this manual. Some states or jurisdictions do not allow disclaimer of expressed or implied
warranties in certain transactions; therefore, this statement may not apply to you.

Landmark

Introduction to Stratamodel

Contents

Introduction to Stratamodel
Introduction
Overview .............................................................................................................

1

Finding Information ...........................................................................................

2

Organization of the Guides .........................................................................

2

Contents of This Guide ................................................................................

3

Other Sources of Information .....................................................................

4

Using Help in Stratamodel ..........................................................................

4

Conventions Used in the Guides ................................................................

5

Integration with Other Landmark Products ....................................................

6

Exchanging Data Through OpenWorks .....................................................

6

Importing Point Data ..............................................................................

6

Exchanging Grids ...................................................................................

6

Importing Seismic Data ...............................................................................

7

Loading Culture Data from Z-MAP Plus .....................................................

7

Linking with OpenVision .............................................................................

7

Exporting Curves .........................................................................................

7

Work Flow for Using Stratamodel ....................................................................

8

R2003.12

Contents

iii

Landmark

Introduction to Stratamodel

Managing Windows
Overview .............................................................................................................

9

Common Features .............................................................................................

9

Menu Bars .....................................................................................................

9

Arrows .....................................................................................................

10

Ellipses ....................................................................................................

10

Option Name Only ..................................................................................

11

Icon Buttons .................................................................................................

11

Scroll Bars ....................................................................................................

12

Interface Buttons ..........................................................................................

13

Notifier Box ...................................................................................................

14

Resizing Windows .............................................................................................

15

Moving Windows ...............................................................................................

17

Method 1: From the Title Bar ......................................................................

17

Method 2: From the Window Frame ...........................................................

17

Method 3: From the Menu Button ...............................................................

17

Raising and Lowering Windows ......................................................................

18

Activating Windows ..........................................................................................

18

R2003.12

Contents

iv

Landmark

Introduction to Stratamodel

Performing Some Common Tasks
Overview .............................................................................................................

19

Starting Stratamodel .........................................................................................

20

From the Command Line .............................................................................

20

From OpenWorks .........................................................................................

20

Selecting Project Information ...........................................................................

21

Entering the User Name ..............................................................................

21

Selecting the Project Directory ...................................................................

22

Selecting the Project Name .........................................................................

22

Setting Project Version ................................................................................

23

Starting Modules in Stratamodel .....................................................................

24

Using the Menus ..........................................................................................

24

Using the Icon Interface ..............................................................................

25

Using the History of Commands ................................................................

28

Using the List of Commands ......................................................................

28

Choosing or Creating a Control File ................................................................

29

Choosing the Existing File ..........................................................................

30

Creating a New Control File from an Existing File ....................................

30

Creating an Empty Control File ..................................................................

30

Creating Lists .....................................................................................................

31

Locating Files with a File Filter ........................................................................

35

Managing Attributes ..........................................................................................

38

Selecting an Attribute ..................................................................................

39

Creating New Attributes ..............................................................................

39

Renaming an Attribute .................................................................................

39

Copying an Attribute ....................................................................................

40

R2003.12

Contents

v

Landmark

Introduction to Stratamodel

Rearranging Attributes ................................................................................

40

Deleting Attributes .......................................................................................

41

Setting Limits .....................................................................................................

42

Bypassing Menus ..............................................................................................

43

Opening an xterm ..............................................................................................

44

Opening a Text Editor .......................................................................................

44

Removing Files ..................................................................................................

45

Removing Processes ........................................................................................

45

Printing a File .....................................................................................................

47

Creating Fortran Format Statements ...............................................................

49

Showing File Contents ................................................................................

50

Figuring Out Your Location in a File ..........................................................

51

Creating the Statement ................................................................................

51

Using the Dialog Box ..............................................................................

51

Creating a Fortran Format Statement ...................................................

52

Locking Stratamodel with a Password ............................................................

54

Exiting Stratamodel ...........................................................................................

54

Preparing Data
Overview .............................................................................................................

55

Preparing Grids for Import ...............................................................................

55

Preparing Well Data ...........................................................................................

57

Header Parameters ......................................................................................

58

Well ID ......................................................................................................

58

Type .........................................................................................................

58

Surface X/Surface Y ................................................................................

58

R2003.12

Contents

vi

Landmark

Introduction to Stratamodel

KB Elevation ............................................................................................

59

T.D. ...........................................................................................................

59

W.C. ..........................................................................................................

59

Attribute Information ...................................................................................

60

X/Y ............................................................................................................

60

Depth/Elevation .......................................................................................

60

Attribute Interval .....................................................................................

60

Preparing Tops Data .........................................................................................

61

Preparing Data for Use with AEL Modules ......................................................

62

SM1 ................................................................................................................

62

SM2 ................................................................................................................

62

SM3 ................................................................................................................

62

SM4 ................................................................................................................

65

PW1 ...............................................................................................................

65

PW2 ...............................................................................................................

65

PW3 ...............................................................................................................

65

Preparing a Polygon File to Convert to a Grid ................................................

66

Viewing Information
Overview .............................................................................................................

67

Displaying Project History Files .......................................................................

68

Viewing History Files ...................................................................................

69

Deleting History Files ..................................................................................

69

Displaying Information about Attributes .........................................................

70

R2003.12

Contents

vii

Landmark

Introduction to Stratamodel

Viewing Information about Models ..................................................................

71

Viewing Stratigraphic Framework Information .........................................

71

Viewing Well Model Information .................................................................

72

Viewing Attribute Model Information .........................................................

73

Viewing Lists ......................................................................................................

75

Showing File Contents ......................................................................................

76

Running a Batch Job
Overview .............................................................................................................

77

Creating or Editing a Batch Control File .........................................................

78

Executing a Batch Control File ........................................................................

80

Listing and Deleting Batch Jobs ......................................................................

82

Using Utility Programs
Overview .............................................................................................................

83

Using the Supplied Programs ..........................................................................

84

copy_proj ......................................................................................................

86

StraightToDeviated ......................................................................................

87

WMreport ......................................................................................................

89

WM_wellnames .............................................................................................

93

AM_wellnames .............................................................................................

94

PickLogToCulture ........................................................................................

95

laytosmg .......................................................................................................

97

read_glk ........................................................................................................

98

grf_read ......................................................................................................... 100
extract_path .................................................................................................. 101

R2003.12

Contents

viii

Landmark

Introduction to Stratamodel

lmhelp ............................................................................................................ 102
convert_csd .................................................................................................. 103
AM_1998convert ........................................................................................... 103
AM_reader ..................................................................................................... 105
SOURCES ..................................................................................................... 107
AM_extract_glk ............................................................................................. 108
SM3 convert to Stratamodel R1998.0 ......................................................... 110
Rebuild Header Attribute Utility .................................................................. 110
Convert mcp Files to mdl Files Read by the Calculator ........................... 111
Compute Zone Volume Ranking ................................................................. 111
Adding Utility Programs ................................................................................... 112

Appendix A. File Naming Conventions .....................................
Appendix B. Environment Variables

113

............................................ 117

Appendix C.
Special Keys and Button Combinations ..................................

122

Keys Used Throughout Stratamodel ............................................................... 122
Mouse Buttons and Keys in Show/Build 3D Displays ................................... 124
In Build Cross Section ................................................................................. 124
In 3D Display ................................................................................................. 125
In 2D Display ................................................................................................. 125
In Scaled Hardcopy ...................................................................................... 125

R2003.12

Contents

ix

Landmark

Introduction to Stratamodel

Appendix D. XSgm Resource Files ................................................

126

Overview ............................................................................................................. 126
Resource File Descriptions .............................................................................. 128
images ........................................................................................................... 128
stratamapAppl .............................................................................................. 128
XSgm ............................................................................................................. 128
XSgm.all ........................................................................................................ 128
XSgm.COLOR ............................................................................................... 129
XSgm.GEOM ................................................................................................. 129
XSgm.SITE .................................................................................................... 130

Appendix E.
NIS (Network Information Services)

............................................. 133

Using the Proper Server Host Name ................................................................ 133
Verifying NIS ...................................................................................................... 134
Resolving NIS Issues ........................................................................................ 135

Appendix F.
Window Management Configuration Files ............................

136

Index ..................................................................................................................................

137

R2003.12

Contents

x

Landmark

Introduction to Stratamodel

Introduction
Overview
Stratamodel models heterogeneous rock and fluid properties in three
dimensions for geological analysis and visualization. Incorporating
gridded subsurface horizons from commercial mapping packages and
detailed reservoir characterization from well, seismic, and outcrop
sources, Stratamodel produces a comprehensive 3D model at the
resolution of the well log. Employing three dimensions and a finer
resolution gives you, the geoscientist, a better understanding of the
interrelationships of reservoir properties and their influences on
reservoir exploitation.
The system uses stratigraphic patterns to generate a three-dimensional
framework of cells in layers. These layers define stratigraphically
equivalent well-data intervals and ensure geologically sound
interpolations that are constrained by key reservoir features such as
faults and unconformities. The resolution of layers and sequences can
vary from inches to hundreds of feet depending on stratigraphic
complexity, reservoir heterogeneity, and your ability to correlate key
horizons.
You can use Stratamodel to view the three-dimensional distribution of
any attribute in the model, to build displays of cross sections, fence
diagrams, stratigraphic slices, geobodies, and so on. All displays can be
rotated and manipulated for a better understanding of the model.
You can use spatial data from other modeling systems for comparisons
and calculations with Stratamodel-interpolated attributes. Stratamodel
handles complex equation parsing, mathematical calculations, and
logical operations to perform volumetrics and manipulate attributes in
specific, geologically-defined units. You can also export model data to
commercial mapping packages and reservoir simulators.
In the 2D mode of Show Displays, you can create grids to use as
templates or perform other types of grid operations.

R2003.12

Introduction

1

Landmark

Introduction to Stratamodel

Finding Information
This section describes the contents and organization of the five manuals
that make up the Stratamodel documentation, lists other manuals you
may find helpful, and explains how to use the on-line Help. A
description of the conventions used in the manuals is also included.

Organization of the Guides
Stratamodel guides provide information for geoscientists to help them
build three-dimensional models that incorporate various types of data
for an accurate visualization of the reservoir subsurface. The manuals
provide explanations of the modules in the Stratamodel program and
instructions for using them, arranged according to topic. The modules
of Stratamodel are arranged roughly in order of use. The five main
Stratamodel guides are:

R2003.12

Introduction to Stratamodel — introduces Stratamodel, explains
the Motif window manager and Stratamodel interface, provides
instructions for opening and exiting the program and for
performing tasks common to many of the Stratamodel modules,
tells you how to prepare data for use in Stratamodel, and explains
the Global, Projects, and Utilities menus. Provides information
about file-naming conventions, environment variables that you can
set, special keys and mouse combinations in Stratamodel and
Stratamodel modules, the XSgm resource files, NIS, and the
4DWm file.

Importing and Exporting Data — explains how to import and
export data from OpenWorks, ASCII and binary grids, seismic
data from other Landmark products, culture data from
Z-MAP Plus, and attribute data.

Creating Models — provides the concepts, examples, and
instructions for building the framework for modeling operations,
bringing well data into the model, and modeling attribute data.

Introduction: Finding Information

2

Landmark

Introduction to Stratamodel

Manipulating Models — explains how to perform simple
arithmetic and If-Then operations. On attribute model data, this
section explains how to locate cells with shared attributes that are
connected to each other, how to bias an attribute model by using a
template, and how to convert an ASCII file that describes a
polygon to an Stratamodel grid.

Creating Displays — explains how to build cross section,
stratigraphic slice, layer, and geobody displays and how to display
them. Also explains how to manipulate the display and work with
grids in 2D mode. Finally, explains how to create scaled hardcopy
from two-dimensional displays.

Contents of This Guide
This guide contains the following sections:

R2003.12

Introduction provides an overview of Stratamodel, explains how
to find information about Stratamodel (Stratigraphic Geocellular
Modeling) modules, and provides a work flow for using
Stratamodel.

Managing Windows introduces you to the Motif window
manager and the conventions of Stratamodel windows.

Performing Some Common Tasks explains how to start
Stratamodel and Stratamodel modules, how to set up project
information, how to work with control files, how to create lists,
how to locate files with a filter, how to print files, how to construct
a Fortran format statement, how to perform some other tasks, and
how to exit Stratamodel.

Preparing Data explains how to prepare data for use in
Stratamodel.

Viewing Information explains how to use several Stratamodel
tools for viewing information about files, attributes, and models.

Running a Batch Job explains how to create a control file for
running a batch job, how to execute it, and how to delete it.

Using the Utility Programs explains how to use supplied
programs for converting and reporting data.

Appendix A. File Naming Conventions lists the files created by
Stratamodel.

Introduction: Finding Information

3

Landmark

Introduction to Stratamodel

Appendix B. Environment Variables lists the environment
variables you can set.

Appendix C. Special Keys and Mouse Button Combinations
tells how to use key and mouse combinations to perform tasks in
different modules of the program.

Appendix D. XSgm Resource Files explains the contents of
special files used by Stratamodel.

Appendix E. NIS (Network Information Services) explains how
to connect to and resolve NIS issues.

Appendix F. Window Management Configuration explains how
to configure windows.

Other Sources of Information
Options located under the Commands menu that are not documented in
this book are Stratamap Grid Editing and Stratasim Fluid-Flow
Analysis, as these are separately purchased items. You can find
information about these modules in the following guides:

StrataMap User Guide
StrataSim User/Reference Guide

Using Help in Stratamodel
Stratamodel provides online Help for you in two ways:

R2003.12

The Help menu from the Main Menu of Stratamodel and from the
menus of each module provides Help on different topics.

The Help buttons on most of the windows in Stratamodel provide
context sensitive Help for that particular window or for portions of
the window.

Introduction: Finding Information

4

Landmark

Introduction to Stratamodel

Conventions Used in the Guides
The Stratamodel guides use the following conventions to show how to
access and use various features of the program.
Menu Options

Menu options and button names appear in
boldface, for example, Setup.

OK

Click the indicated button, for example, OK.
Menu paths are indicated by menu options in
bold, separated by arrows; in this example, you
select Global, then Exit.
Keyboard keys are capitalized.
Text you are required to enter from the
keyboard appears in a different typeface
(Courier).
Enter the text exactly as it is shown.
A different typeface in italics (Courier
Italics) indicates that you must supply
information. For example, at this instruction,
enter the project name.
Move the cursor to the option or object
specified and quickly press and release the
mouse button. Unless otherwise specified,
use Button 1.
Press the mouse button and continue to hold it
down while moving the cursor to the option
you want or to a new location in the graphic
display area; then release the button.

Global → Exit

Return
enter startow

enter
projectname

click

press and drag

highlight
select
double-click

Triple-click

R2003.12

Move the cursor to the name of the item you
wish to use and select it with the mouse.
Move the cursor to the option or object you
want to select and click it.
Click the mouse button twice rapidly without
moving the mouse. The first click highlights
the option, object, or text beneath the cursor;
the second click is equivalent to clicking the
OK button to accept the selection.
Click the mouse button three times rapidly
without moving the mouse to highlight a string
of text (more than one word) beneath the
cursor

Introduction: Finding Information

5

Landmark

Introduction to Stratamodel

Integration with Other Landmark Products
Although it is not necessary to run Stratamodel from OpenWorks,
Stratamodel now provides easy access to OpenWorks, and thus to other
Landmark products that store data in the OpenWorks database. In
addition, there are some other modules in Stratamodel that provide
connections to Landmark Products.

Exchanging Data Through OpenWorks
You can import point data from OpenWorks using Points and Grids or
Pointset Builder. You can import and export grids using Points and
Grids.
Importing Point Data
You can use either of two methods to import point data in the
Landmark environment: Points and Grids or Pointset Builder:
Points and Grids
Using Points and Grids, you can extract data in the form of points that
reside in the OpenWorks database. Points and Grids automatically
converts them to Stratamodel formats to be used by Stratamodel
modules. You can grid these points in StrataMap and displayed in Show
Displays.
Pointset Builder
Pointset Builder is an application common to Z-MAP Plus,
SigmaView, RAVE, StratWorks, and Stratamodel. The program
generates a pointset from well data such as marker picks that are stored
in the OpenWorks database. Special output is written for Stratamodel
and StrataMap, so you must make the appropriate selection when
determining output for the program. Again, the pointsets can be
gridded by StrataMap and displayed in Show Displays.
Exchanging Grids
You can exchange grids between Stratamodel and the OpenWorks
database using Points and Grids. Points and Grids extracts the grids
from the OpenWorks database and converts them into formats that
Stratamodel expects. You can also export grids back to OpenWorks.

R2003.12

Introduction: Integration with Other Landmark Products

6

Landmark

Introduction to Stratamodel

Importing Seismic Data
You can load seismic data directly from a Landmark 3DV, 2V2, or
SEGY file into the Attribute Model using LGC Seismic Loading.
Besides a file, you must also specify a velocity model unless the data
have already been converted to depth or the model is structured in
negative time.
Seismic data can then be viewed as an attribute in Show Displays.

Loading Culture Data from Z-MAP Plus
The Z-MAP Plus Culture Loader loads line-oriented files, like lattices,
vertices, contour data, and fault files, that are stored in a Z-MAP Plus
PFD file. It converts them to culture files for display in Stratamodel and
for use as templates. Culture data can be associated with a grid or fault
file.

Linking with OpenVision
OpenVision can now read and display Stratamodel cross sections,
stratigraphic slices, sequences, geobodies, grids, and wells. OpenVision
can read the .grf files created for Stratamodel graphics displays and the
external .smg grid files. It can also read wells, attributes, and grids
directly from the Stratamodel project. All this data can be displayed
alongside the other data types OpenVision displays.

Exporting Curves
You can now export curves that have been resampled to the resolution
of the stratigraphic framework model to compare them with the original
curves. You can load the resampled data into the OpenWorks database
using Export Curves to OW. Once the curve is in the OpenWorks
database, other applications can use it, such as Well Curve Viewer,
StratWorks, and PetroWorks for visual comparisons or to perform
operations.

R2003.12

Introduction: Integration with Other Landmark Products

7

Landmark

Introduction to Stratamodel

Work Flow for Using Stratamodel
The modules in Stratamodel are located on the main menu in the order
of use, except for some modules that are optional. Create a model using
the following general steps.

Import grids from a mapping
package by using Import
Grids.
Convert polygons into grids
by using Polygon to Grid.
Build a framework for the
project with Stratigraphic
Framework Model.

Incorporate well data into
the model by using Well
Model.

Apply mathematical
equations or comparisons
against attributes or grids by
using Model Operations.

Find connected cells with
shared attributes by using
Find Geobodies.

Define the attributes for
modeling and their locations
in the model by using
Attribute Model.

Sum up or average attributes
to perform volumetrics,
generate grids of specific
zones, etc., by using
Summation/Average.

Build displays of the model
using Show Displays.

Display and manipulate data.

Create scaled hardcopy of
the finished display.

R2003.12

Export Grids using Export
Grids.

Extract attribute information
with Attribute Extract/Load.

Introduction: Work Flow for Using Stratamodel

8

Landmark

Introduction to Stratamodel

Managing Windows
Overview
One advantage to interpreting on a workstation is the ability to perform
multiple tasks simultaneously in different windows. You can use the
Motif window manager to manipulate windows.

Common Features
Stratamodel windows have common features. Once you learn the
placement and operation of these features, it is easy to find your way
through the user interface.

Menu Bars
All main windows for Stratamodel modules have a menu bar across the
top. Click a name in the menu bar to see a list of options.

menu bar

The appearance of an item in a drop-down menu indicates what you
can expect when you select the option.

R2003.12

Managing Windows

9

Landmark

Introduction to Stratamodel

Arrows
An arrow ( )after a menu item — as in Batch Mode —indicates that
a cascading menu appears if you click the option.

Ellipses
Ellipses (...) after a menu option — such as List of Commands... —
indicate that a dialog box appears if you click this option.

R2003.12

Managing Windows: Common Features

10

Landmark

Introduction to Stratamodel

Option Name Only
Menu options with no punctuation — such as Icon Interface —
perform the specified task immediately or put you in the right mode so
you can perform the specified task. For example, when you select Icon
Interface, the program immediately displays the icon interface.

Icon Buttons
Icon buttons display dialog boxes. They are a visual way to recognize
some commonly used commands. Stratamodel provides an icon
interface as an alternative to using the menu for selecting major
modules. For more information, see “Using the Icon Interface” on
page 25. Stratamodel also has icons in some common dialog boxes,
such as the one for creating lists.
To display the name of an icon, place the cursor on top of it.

R2003.12

Managing Windows: Common Features

11

Landmark

Introduction to Stratamodel

Scroll Bars
If a dialog box contains more data than it can fit in the display area, use
the scroll bars to view other parts of the data. Scroll bars appear in
dialog boxes that contain lists.

Scroll
Bar

You can use scroll bars in these ways:

R2003.12

Click the scroll bar and slide it up or down to move the display in
one smooth motion.

Click either side of the scroll bar with Button 1 to move the width
of one scroll bar (one increment with each click).

Click either side of the scroll bar with Button 2, to center the scroll
bar at the selected point.

Click either arrow with Button 1 to move in very small increments
(less than one scroll bar width).

Click and hold an arrow to move the list continuously.

Managing Windows: Common Features

12

Landmark

Introduction to Stratamodel

Interface Buttons
Small buttons next to choices on the interface indicate by their shape
how many choices you can make.
Radio buttons indicate that only one of several choices can be made.
Depending on your computer environment, radio buttons can have one
of two shapes: either diamonds or circles.

Diamond-shaped
radio buttons

Circular radio buttons

Radio Buttons Indicate Only One Possible Choice

R2003.12

Managing Windows: Common Features

13

Landmark

Introduction to Stratamodel

Check buttons (or check boxes), which are square and show a selection
by a check mark, indicate that more than one choice is possible.

Square Check
Buttons

Check Boxes Indicate Multiple Possible Choices

Notifier Box
Some applications display an Information box during initialization or
processing. Information boxes display important messages, calculated
values, and errors during the session.

R2003.12

Managing Windows: Common Features

14

Landmark

Introduction to Stratamodel

Resizing Windows
You can easily resize and move any of the Stratamodel windows by
using the features illustrated below:
Window Menu Button

Title Bar

MinimizeButton
Maximize
Button

Resize
Border
Handle

Window
Menu

Resize
Border
Handle

Window Manager Features

R2003.12

Managing Windows: Resizing Windows

15

Landmark

Introduction to Stratamodel

The Window Menu button displays a drop-down menu with options
that control the position and status of the window. You can use either
the menu options or the buttons to resize a window or an icon.

R2003.12

To reduce a window to an icon, click the Minimize option or
button.

To restore an icon to a window, double-click the icon or press
Button 3 on the icon to get the window menu and select the
Maximize option.

To enlarge a window to the full size of the screen, click the
Maximize option or button.

To restore an enlarged window to its former size, click the
Maximize button again.

To change the horizontal and vertical dimensions of a window,
place the cursor into the corner of a window. When the cursor
changes shape
, press Button 1 and drag the window outline
to the size you want; then release Button 1.

To change one dimension of a window, place the cursor on one
side of a window. When the cursor changes shape
, press
Button 1 and drag the window outline to the size you want; then
release Button 1.

Managing Windows: Resizing Windows

16

Landmark

Introduction to Stratamodel

Moving Windows
You can move windows in these ways:


from the title bar
from the window frame
from the menu button.

Method 1: From the Title Bar
1.

Move the cursor into the title bar of the window.

2.

Press Button 1 and move the mouse (thus moving the window).

3.

When you have the window positioned where you want it, release
Button 1.

Method 2: From the Window Frame
1.

Place the cursor anywhere on the window frame, press Button 3 to
display a drop-down menu, and select Move.

2.

Move the mouse (thus moving the window).

3.

When you have the window positioned correctly, click any button.

Method 3: From the Menu Button

R2003.12

1.

Click Button 1 on the Window Menu button in the top left corner.

2.

Select Move from the drop-down menu.

3.

Move the mouse (thus moving the window).

4.

When you have the window positioned correctly, click any button.

Managing Windows: Moving Windows

17

Landmark

Introduction to Stratamodel

Raising and Lowering Windows
As you work with the different Stratamodel modules, you may have
several windows stacked on top of one another.

To raise a window (display it in front of all other windows), click
Button 1 anywhere on its frame.

To lower a window (display it behind all other windows), click
Button 3 anywhere on its frame and select Lower from the menu.

Activating Windows
To receive input from the keyboard or mouse, a window must be active.
To make a window active, move the cursor into it. The window frame
changes to the color designated on your system for active windows.

R2003.12

Managing Windows: Raising and Lowering Windows

18

Landmark

Introduction to Stratamodel

Performing Some Common Tasks
Overview
This section is an introduction to some of the tasks you perform in
Stratamodel. The section explains how to:
















R2003.12

Start Stratamodel (page 20).
Select project information (page 21).
Start modules in Stratamodel (page 24).
Choose or create control files (page 29).
Create lists (page 31).
Locate files with a filter (page 35).
Add or change attributes (page 38).
Set limits (page 42).
Bypass menus (page 43).
Open an xterm (page 44).
Open a text editor (page 44).
Remove files (page 45).
Remove processes (page 45).
Print files (page 47).
Create Fortran format statements (page 49).
Lock Stratamodel with a password (page 54).
Exit Stratamodel (page 54).

Performing Some Common Tasks

19

Landmark

Introduction to Stratamodel

Starting Stratamodel
You can start Stratamodel either from the command line or from
OpenWorks.

From the Command Line
To open Stratamodel, change directories to the one that contains the
Stratamodel programs. Enter:
run.xsgm

If the correct path was set up with an alias, you can start Stratamodel
from any directory by entering the alias. Otherwise, you can start it by
entering the entire path for the system directory followed by
run.xsgm.
directory_path/run.xsgm

From OpenWorks
To start Stratamodel from OpenWorks
1.

Start OpenWorks as instructed in the OpenWorks documentation
(usually by entering either startow or startserver,
depending on your setup). The OpenWorks Command Menu
appears:

2.

Select Applications → Stratamodel from the OpenWorks menu.
The project information dialog box appears, as described in the
next topic.

R2003.12

Performing Some Common Tasks: Starting Stratamodel

20

Landmark

Introduction to Stratamodel

Selecting Project Information
Select Project → Set Project Values to set the information about the
project for the session. The first time you start Stratamodel or enter a
new project, you must fill out a dialog box that contains the information
about your project. At other times you verify that this information is
correct. You can use this dialog box at any time to change projects,
project directories, the project name, or the version of the project.

When you finish setting the project values, click OK.

Entering the User Name
When you set up a project, you are asked to provide a user name to
connect with this project. The user name is a handy way to keep track
of all of the other project information. A user is much like an interpreter
in the OpenWorks environment. You can put different projects or
completely different interpretations of the same project under different
user names and easily access the project by entering the user name and
clicking Reset. The rest of the project information is completed
automatically.

R2003.12

If you are creating a project, enter a user name to associate with
this project information.

To change to an existing project, enter the appropriate user name
for the project. Click Reset, then click OK.

Performing Some Common Tasks: Selecting Project Information

21

Landmark

Introduction to Stratamodel

Selecting the Project Directory
Set Project Directory keeps track of the directory that contains the
project. All the grid files and files created while running Stratamodel
are in this directory.

When you first set up a project, use the file filter to locate the
project directory. In subsequent sessions, when you enter your user
name and click Reset, that information is supplied automatically.

To change the project associated with your user name, click the
Set Project Directory button, select the target directory, and click
OK. You may want to put the new project under a new user name
or under a new project name.

You can also use Set Project Directory as a quick way of displaying
the contents of the project directory.

Selecting the Project Name
You may want to store multiple versions of a project in the same project
directory or create subversions of a project. For example, you might try
building totally different attribute models for the same project to try
some variations of an interpretation of the reservoir. The project name
keeps track of these.
Click Set Project Name to change the project name.

R2003.12

To change to an existing project’s name, select a name from the list
and click OK.

To create a new name, click New. Enter a new project name in the
Create New Project Name dialog box and click OK. Click OK to
select the new project name.

Performing Some Common Tasks: Selecting Project Information

22

Landmark

Introduction to Stratamodel

Setting Project Version
Use the project version to protect all your previous work by creating
new versions when you want to try different modeling techniques.
Clicking the Set Project Version button displays a dialog box you can
use to change or delete a version or create a new project version.

When you finish setting the project version, click OK.

Change Version Description. Select the version from the
list, then click the button. Enter a new version number in
the dialog box that appears and click OK.
Delete a Version. Select a version from the list, then click
the button to delete it. Confirm that you want to delete the
version.
Create New Version. Click the button, then enter a new
version number into the dialog box that appears and click
OK. Notice that the system appends a number to the
version number.

R2003.12

Performing Some Common Tasks: Selecting Project Information

23

Landmark

Introduction to Stratamodel

Starting Modules in Stratamodel
You can start Stratamodel modules in any of these ways:



Menus
Icon interface
History of Commands
List of Commands

Using the Menus
You can start any Stratamodel module by selecting it from the
Stratamodel Commands menu.

R2003.12

Performing Some Common Tasks: Starting Modules in Stratamodel

24

Landmark

Introduction to Stratamodel

Using the Icon Interface
Use the Icon Interface to execute commands by clicking icons instead
of selecting menu options. This enables you to close the Stratamodel
main window and free up space on the monitor.
Select Global → Icon Interface to display the Stratamodel icon
interface.

The icons are arranged by typical use from top left across, as follows:

R2003.12

OW to/from Stratamodel

page 4 in Importing and
Exporting Data

Import/Export Grids

page 45 in Importing and
Exporting Data

Stratigraphic Framework
Model

page 3 in Creating Models

Well Model

page 45 in Creating Models

Attribute Model

page 68 in Creating Models

Attribute Model
Operations

page 3 in Manipulating
Models

Performing Some Common Tasks: Starting Modules in Stratamodel

25

Landmark

Introduction to Stratamodel

Attribute Model
Summation/Average

page 130 in Manipulating
Models

Volumetrics

page 77 in Manipulating
Models

Find Geobodies

page 85 in Manipulating
Models

LGC Seismic Loading

page 79 in Importing and
Exporting Data

Z-MAP Plus Culture

page 92 in Importing and
Exporting Data

Attribute Extract/Load

page 100 in Importing and
Exporting Data

Badley’s Fault Seal
Analysis

page 139 in Manipulating
Models

Stratamap Grid Editing

See StrataMap User Guide.

StrataSim Fluid-Flow
Analysis

See StrataSim User /
Reference Guide.

Show/Build 3D Displays

page 8 in Creating Displays

To display the name an icon, hold the mouse over it without clicking.

R2003.12

Performing Some Common Tasks: Starting Modules in Stratamodel

26

Landmark

Introduction to Stratamodel

Clicking one of these icons once displays a toolbox like the following
one, which reflects the choices that are available on the item’s
submenu:

You can see the name of each subicon by opening the subicon display
and holding the mouse over the each subicon without clicking. But most
Stratamodel modules have the following selections under their icons:
Defer Execution — Save work without executing it

Save & Execute — Execute the work you’ve completed

Parameters/Information — View parameters or
information for a module
Click a subicon to open the module.
If there are no submenus, as is the case, for example, for Show Displays
and StrataMap, the program you selected immediately opens if you
click the icon once.
If you click Exit once, a verification message appears. The program
closes if you verify that you want to exit.

R2003.12

Performing Some Common Tasks: Starting Modules in Stratamodel

27

Landmark

Introduction to Stratamodel

Using the History of Commands
Once you select a module, you can restart it by double-clicking it in the
History of Commands Used at the bottom of the Stratamodel main
window.

Double-click to
restart.

Using the List of Commands
You can start up or sort modules using the List of Commands.
1.

R2003.12

Select Global → List of Commands.

Performing Some Common Tasks: Starting Modules in Stratamodel

28

Landmark

Introduction to Stratamodel

2.

Click the command in the list, then click OK.

To sort modules alphabetically (the default is to sort logically), select
Sort Commands Alphabetically and click OK.

Choosing or Creating a Control File
Once you select a module from Stratamodel, you are asked to select a
control file.

You can use control files to create multiple versions of an interpretation
for the same data. For example, you could create several different
stratigraphic framework models using a different control file for each
one, then see which one describes the grid deposition most accurately.
You have three choices in the control file dialog box.


R2003.12

Choose the existing control file.
Create a control file from the existing control file.
Create an empty control file.

Performing Some Common Tasks: Choosing or Creating a Control File

29

Landmark

Introduction to Stratamodel

Choosing the Existing File
To choose an existing file
1.

Make sure the one you want is highlighted.

2.

Click OK.

Creating a New Control File from an Existing File
This option stores the choices you already made in previous sessions
with this module. From these choices, you can change settings in the
module to try a different interpretation.
1.

Click the Create new Control File from Existing File icon.

2.

Enter the name of a new control file. Observe standard Unix
file-naming conventions (for example, no spaces) when naming
the file. Use a name that tells you something about your
interpretation.

3.

Click OK. The program appends the correct suffix to the filename.

4.

Click OK again.

Creating an Empty Control File
Use the Create empty Control File option to start from scratch without
using the settings from previous sessions. You must use this option the
first time you enter a module.

R2003.12

1.

Click the Create empty Control File icon.

2.

Enter the name of a new control file. Use a name that tells you
something about your interpretation.

3.

Click OK. The program appends the correct suffix to the filename.

4.

Click OK again.

Performing Some Common Tasks: Choosing or Creating a Control File

30

Landmark

Introduction to Stratamodel

Creating Lists
You can use almost every Stratamodel module to create lists of grids,
attributes, operations, and other items so you can apply more than one
item at a time to a model or operation. These modules employ a
standard list dialog box like the following one.

The example shows a main dialog box for the Stratigraphic Framework
Model module. It lists the stratigraphic framework model grids and
their parameters. You can use a list dialog box to control the order of
the items in the list and to set item-specific parameters.
You create a list by using the list dialog box interactively with another
dialog box to set parameters for an item or select an item, depending on
what you are doing.

R2003.12

Performing Some Common Tasks: Creating Lists

31

Landmark

Introduction to Stratamodel

For example, you use a dialog box with the Stratigraphic Framework
Model list to set all the parameters for the grids you bring into the
model. This dialog box appears below. Next to it is the dialog box you
use to select averaging techniques for attributes in the well model. Both
these dialog boxes work interactively with a list dialog box.

R2003.12

Performing Some Common Tasks: Creating Lists

32

Landmark

Introduction to Stratamodel

A sample workflow follows that shows how two such dialog boxes
interact.
Select Grid Name
and select Type for
First (Bottom,
Independent) Grid

Enter Number of
Layers and Layer
Thickness.

Click OK to add
new item to list.

Append new Item.

Repeat to Add
Remaining Grids

R2003.12

Performing Some Common Tasks: Creating Lists

33

Landmark

Introduction to Stratamodel

The dialog boxes you use to select items and set parameters vary in
function, but the list dialog boxes all work the same. Instructions for
working with a list dialog box follow.
The function of each button at the bottom of the list box is indicated by
an icon. You can read the name of the icon by holding the cursor over
the button.

Placing Cursor over Icon Makes its Name Appear

Append new Item to end of List. Click icon. Select an
item from the list or set parameters in the dialog box that
appears. Click OK.
Insert new Item before selected item. Select an item that
will appear after the one you are adding. Click icon. Select
and item or set parameters for an item. Click OK.
Change selected Item. Click an item you want to change.
Click the icon. Choose another item from the list that
appears or set different parameters for the item. Click OK.
Delete selected Item. Click an item you wish to delete.
Click the icon. Confirm that you want to delete the item.
Delete All Items. Click the icon. Confirm that you want to
delete all items.

R2003.12

Performing Some Common Tasks: Creating Lists

34

Landmark

Introduction to Stratamodel

Locating Files with a File Filter
Sometimes you must display a filter dialog box and tell the application
where data is located. If the data is in the expected location — the
directory containing all the project data — the dialog box usually opens
at the correct location. If the current module knows the required file has
a specific extension, the filter automatically displays the files with that
extension.
Occasionally you may need to locate a file that is not in the project
directory. To do this, navigate to the file or enter a fully qualified
filename (the list of directories pointing to the location of a file and athe
actual name of the file). For example:
home/forest/across-fault/w1.psu2

indicates that the file named w1.psu is located in the across-fault
directory, which is located in the forest directory, which is in the home
directory. The pathname for w1.psu2 is /home/forest/across-fault.

You can select a file in either of two ways:

R2003.12

Enter the fully qualified file name (the filename with the full path)
in the Selection box and click OK.

Double-click a file name in the Files list.

Performing Some Common Tasks: Locating Files with a File Filter

35

Landmark

Introduction to Stratamodel

If you do not know the pathname of the file and do not see it in the Files
field, you can locate it as follows:

Double-click names in the Directories list to view the contents of
various directories. (Double-click the .. entry (under Direc) to
move up to higher-level directories.)

Enter a new pathname in the Filter box, along with a wildcard,
such as * to view all files or *.dat to view files ending with .dat.
No files are listed if you do not supply at least a *.
Press Return or click the Filter button. The Directories and Files
fields post the contents of the filtered directory.
For example, if you enter:
/home/forest/across-fault/*.sgm

then click the Filter button (or press the Return key), a list
appears that contains all file names ending with .sgm in the
/home/forest/across-fault directory.
For some Stratamodel modules, you will encounter a file filter that
looks like the following:

R2003.12

Performing Some Common Tasks: Locating Files with a File Filter

36

Landmark

Introduction to Stratamodel

To select files from this type of filter, follow these steps:
1.

Use the File Filter field as instructed above to find the correct
directory.

2.

Click the file.

3.

Click Add to add it to the list on the right side of the dialog box.

Alternatively, you can use the buttons below the Current list of file
names selected to determine what files will be added or delete.
Click OK when you are satisfied with your selection.

R2003.12

Performing Some Common Tasks: Locating Files with a File Filter

37

Landmark

Introduction to Stratamodel

Managing Attributes
You may sometimes want to add attributes to the attribute model or
change it in some other way. Previously, you could only do this in the
Attribute Model module and you typically had to rebuild the model
after changes. Now, however, you can change the attribute model
whenever the following dialog box appears.

You can also request this dialog by selecting Commands →
Attribute Model → Attribute Manager.
At any time while working in this dialog box, you can change how the
attributes are sorted, by choosing the appropriate button under Sort By
in the middle of the dialog box.
Notice that depending on which button is selected at the top of the
dialog box, the selections below are active or inactive (appear dimmed)
and the second button at the bottom changes its name.

R2003.12

Performing Some Common Tasks: Managing Attributes

38

Landmark

Introduction to Stratamodel

Selecting an Attribute
To write a well model attribute to an active attribute number (and
overwrite the attribute), follow these steps.
1.

Make sure that Select is selected at the top of the dialog box.

2.

Click an active attribute to receive the well model attribute.

3.

Double-click the Description field to select the old description and
enter a new description.

4.

Click OK to select the attribute.

Creating New Attributes
If you do not want to overwrite the existing attributes, follow these
steps:
1.

Click Create.

2.

Enter a name in the Description box.

3.

Select a Data Type for the new attribute.

4.

Choose a Default Value.

NULL sets the attribute to null.

Zero or One mark the attribute for a geobody display.

User Data sets the attribute to any value determined by the
interpolation of the data.

5.

Enter the number of new attributes you want to create with that
description, not the number for the new attribute. If you enter 24,
you get 24 new attributes.

6.

Click the Create Attribute button to create the new attributes.

Renaming an Attribute
To rename an attribute, follow these instructions:

R2003.12

1.

Click Rename.

2.

Select an attribute from the list.

3.

Enter a new name in the Description box.

4.

Click Modify Attribute to change the attribute’s name.

Performing Some Common Tasks: Managing Attributes

39

Landmark

Introduction to Stratamodel

Copying an Attribute
To copy an attribute, follow these instructions:
1.

Click Copy.

2.

Select an attribute from the list.

3.

Enter a new description into the Description field.

4.

Click Copy Attribute. The attribute is copied into the next
available slot in the model. If you deleted attributes in the middle
of the model, the Attribute Manager finds those slots and fills
them. Otherwise, the Attribute Manager appends the attribute to
the end of the attribute list.

Rearranging Attributes
To rearrange attributes, so that they are renumbered, follow these
instructions:

R2003.12

1.

Click the Rearrange button. Notice how the list divides into two
sections.

2.

Click attributes in the Existing Attributes field to move them over
to the Attribute Action List. You can use the buttons beneath the
Attribute Action List to select or remove attributes from that list.

Performing Some Common Tasks: Managing Attributes

40

Landmark

Introduction to Stratamodel

3.

Scroll horizontally to the end of the Attribute Action List to see the
new numbers for the selected attributes.

4.

Once the attributes are in order, click Rearrange Attribute.

Deleting Attributes
To delete attributes, follow these steps:

R2003.12

1.

Click the Delete Attr. button.

2.

Notice how the list splits, as it does when rearranging attributes.

3.

In the Existing Attributes list, click the attributes you wish to
delete to move them over to the Attribute Action List.

4.

When all the attributes you want to delete appear in the Attribute
Action List, click the Delete Attribute button. The attributes are
permanently deleted from the attribute model.

Performing Some Common Tasks: Managing Attributes

41

Landmark

Introduction to Stratamodel

Setting Limits
You can use many Stratamodel modules to set limits for how a model is
affected by your actions. For example, you can limit the Stratigraphic
Framework Model to certain rows and columns of the original grid, or
limit the calculation of an attribute to certain sequences in a model.
All limits dialog boxes, which you can display by clicking a Set Limits
button (or a button with a similar name) look like the following
example. Use limits dialog boxes to limit actions by rows, columns,
sequences, or layers.

If you do not want to set limits, you do not have to access the dialog
box. The default setting is no limits.

R2003.12

Performing Some Common Tasks: Setting Limits

42

Landmark

Introduction to Stratamodel

To set limits, follow these steps:
1.

Click the appropriate button at the top of the dialog box to
determine the type of limits to set. You can usually combine
several types of limits.

2.

Depending on your selection, different portions of the dialog box
are activated. Use the sliders to choose beginning and ending rows
and columns, specific sequences, or specific layers.

3.

Click OK to finish setting limits.

Bypassing Menus
Select Global → Bypass Menu Mode to bypass the dialog boxes for
specifying control file parameters for some or all of the Stratamodel
modules. This is useful if you want to rebuild models without changing
the parameters, for example rebuild a well model after you change the
stratigraphic framework model.
Select the items on the menu whose control files you want to turn off.
Depressed buttons are on; raised buttons are off.

R2003.12

Performing Some Common Tasks: Bypassing Menus

43

Landmark

Introduction to Stratamodel

Opening an xterm
Selecting Utilities → Open xterm opens an xterm window. You may
have to indicate the terminal type before you use the window.

Opening a Text Editor
Select Utilities → Open Editor to display and edit a file created with
the editor specified in the XSgm file. (The XSgm file enables you to set
resources, colors and fonts for your own site, for example. For more
information about the XSgm file, see “Appendix D. XSgm Resource
Files” on page 126.)
The menu opens a file filter dialog box from which you can select the
file. You can then work on it in the editor specified. For instructions on
using that editor, see the manual for the particular editing tool.
The default editor is vi. You can change the default by adding the path
to a different editor to the *commandEditor line in your XSgm.SITE
file (in the app-defaults directory) and removing the comment
indicator (!).
For example, suppose you want to change the editor to jot, located at
/usr/bin/jot. Locate the following line.
!*commandEditor

and change it to read
*commandEditor

/usr/bin/job

Don’t forget to remove the !, which indicates a comment and is ignored
by the program.

R2003.12

Performing Some Common Tasks: Opening an xterm

44

Landmark

Introduction to Stratamodel

Removing Files
Select Utilities → Remove a File to delete a file from the project
directory. Select the file from the filter and click Delete. You are asked
to confirm the deletion. Click Yes. The filter stays open until you click
Cancel.

Removing Processes
To kill a process Stratamodel started, select Utilities →
Process ID’s to Kill.
If no Stratamodel processes are running when you select this option,
the following dialog box appears:

If a Unix process is running in the background, its ID is set to 1. You
cannot trap and kill Unix processes or the processes they spawn.

R2003.12

Performing Some Common Tasks: Removing Files

45

Landmark

Introduction to Stratamodel

If processes are available to kill, the following dialog box appears:

Use the information in the list above to identify and select a process to
kill. Click Kill. The dialog boxes associated with the process close and
a message appears informing you that the process was killed.
Use the Update button to update the list if processes started after you
opened the Kill Active Programs dialog box.
Click the Cancel button to close the dialog box.

R2003.12

Performing Some Common Tasks: Removing Processes

46

Landmark

Introduction to Stratamodel

Printing a File
Some Stratamodel windows, dialog boxes, and information messages
have a Print button you can use to print the contents of the window or a
file. This section explains how to use this dialog box.

R2003.12

1.

Click the Print button.

2.

Decide if you want to be notified when the file has finished
printing. Click Yes if you want to be notified; otherwise, click No.

3.

Use the slider to choose a number of copies.

4.

Click Filename to Print and use the filter to find the file name.
Click OK.

5.

The Print Command field should show the appropriate Unix
command for printing. It should print as is with only the addition
of the printer name in the Printer Destination field. To alter the
command, you must wait until the dialog box showing the whole
print command appears and change it there. Once in that dialog
box, you must enter all options, because those options entered in
the Print a File dialog box will not be observed.

6.

Banner-page Title prints a title on the cover page that comes out
with the print job. Enter a title, if desired.

Performing Some Common Tasks: Printing a File

47

Landmark

Introduction to Stratamodel

7.

Enter a destination for the print job. You can enter a printer name
or a class of printers. The default is to print to the device attached
to the lp command.

8.

Optional: To specify further options, enter them here according to
standard Unix conventions.

9.

Optional: To save the contents of the job to a file, use the filter to
select a file or create a new one.

10. Click OK to print the file.When you finish filling out the dialog
box, click OK to print the file.
A dialog box appears containing the full print command.

To cancel the print job, click Cancel. To print the file, click OK. A
final message appears confirming the printing.

Click OK to close the message box.

R2003.12

Performing Some Common Tasks: Printing a File

48

Landmark

Introduction to Stratamodel

Creating Fortran Format Statements
Many modules in Stratamodel required you to create a Fortran format
statement so that the module can read an input file correctly. This task
is not as intimidating as it sounds. Often when the program knows
which file you are going to format, it can read the file and write its own
Fortran statement. Then the job is to check to see it is correct. In most
cases, you can answer some simple questions about the file and the
format is written for you. If you are familiar with Fortran statements,
on the other hand, you can edit the statement directly.
The Create Fortran Format dialog box appears as follows. Sometimes,
depending on what you are doing, some options of the dialog box are
inactive and appear dimmed.

When you open this dialog box, Stratamodel may try to read the file. If
it can, many of the selections are already filled out. If it cannot, an error
message appears. Then you must fill out the dialog box options
correctly. Once you complete the specifications, click OK.

R2003.12

Performing Some Common Tasks: Creating Fortran Format Statements

49

Landmark

Introduction to Stratamodel

Unless you are familiar with Fortran, the easiest way to create a format
statement is to make selections in the dialog box to determine the
format.
You can try to make Stratamodel automatically determine the format of
a file by clicking Recalculate default Format. It uses the following
rules to try to determine the format.


Decimals indicate real values.
Blank characters indicate Skip fields.
All other values are integers.

If Stratamodel cannot determine the format or if the results are
incorrect, use the selections in the dialog box to format the file. (For
example, the file has a header and a nonstandard format, so the
formatter reads the first line in the file.)

Showing File Contents
If you select a specific file, you can use the Showing File Contents
option to display the file contents and make it easier to fill out the
dialog box. Click the button. The contents of the file appear:

R2003.12

Performing Some Common Tasks: Creating Fortran Format Statements

50

Landmark

Introduction to Stratamodel

Figuring Out Your Location in a File
The first line from the file is automatically read into the Create Fortran
Format dialog box if you are using a previously selected input file that
Stratamodel has been able to read. You can place the cursor in this field
and move it by clicking or using the arrow keys. The Current column
position in line slider moves as you move the cursor, giving you
helpful information for formatting the data. If you pick a standard
format with header data, such as an SM1 format, the formatter
disregards the header lines and puts the first data line into the Line in
file field.

Creating the Statement
You can create a Fortran format one of two ways:

If you are familiar with Fortran, enter a description of the file in
the Fortran Format box.

If you are not familiar with Fortran, use the dialog box to describe
the file.

Using the Dialog Box
Use the setting beneath the Line in File field to describe the data:

R2003.12

1.

Enter the number of data values in each line of the file. In the
example on the previous page, there are six.

2.

Enter the number of digits in each column of information. This
includes blank spaces. It would help you to use the Line in file
field and Current column position in line to figure out the
number of digits.

3.

Enter the number of digits that appear in a data column after the
decimal point. If the formatter can read the file, this option is
grayed out.

4.

The next portion of the dialog box requires you to choose the type
of values in the file.

Performing Some Common Tasks: Creating Fortran Format Statements

51

Landmark

Introduction to Stratamodel

Combination of different values in File — The file contains
real and integer values.

All Integer values in File — All values in the file are
integers. Values have no decimal points.

All Real values in File — All values in the file are real. The
file contains no exponentials or scientific real numbers.

All Real values (General type) in File — The file contains
ordinary real values, as well as exponential or scientific real
numbers. The number of decimal places is not used in this
format; instead, the number of digits is used.

Creating a Fortran Format Statement
Use the bottom portion of the dialog box to view or create a Fortran
format statement. Most often a simple statement is adequate. For
example, consider the following statement:
F12.0,T13,F12.0,T25,F12.0,T37,F12.0,T49,F12.0,T61,FF12.0

In this example, the field width of the first data column is 12 spaces,
then there is a tab to the next space, or space 13 in the first set of
numbers. The format continues with data columns 12 spaces wide and
tabs to the next space (tabs are counted from column 1).
Standard Fortran formats use the following descriptors.

R2003.12

A

Character strings

F

Normal floating point number

E

Scientific exponentiation

G

Generalized format (range of real is unknown)

I

Integer

X

Skip field

T

Tab

/

Skip to the next line

()

Separate multiple formats

Performing Some Common Tasks: Creating Fortran Format Statements

52

Landmark

Introduction to Stratamodel

Sample Formats
Here are some examples:
11f7.1

The file has 11 values per line (normal floating point numbers),
each of which is 7 digits long with 1 digit to the right of the
decimal point.
10(G11.5,2X)

The file has 10 values per line (of generalized format), each of
which is 11 digits long with 5 to the right of the decimal point and
two blank spaces separating the columns of values.
Fortran Format Notes
Follow these guidelines when you construct Fortran statements:

R2003.12

You must supply the number of digits after the decimal in an
output format.

If you use floating point values for input, the format must end on .0
to read a varying number of digits after the decimal point. For
example, the following statement allows a variable number of
digits after the decimal: 6G8.0. If the statement read 6G8.1,
only one digit is allowed after the decimal.

If you specify a format for files to be printed, limit the total
characters per line to 80.

If a format is not large enough to describe a numeric value, the
output results in a series of stars rather than a truncated value.

Generalized format reads ordinary real values as well as
exponential and scientific numbers. The syntax is completely
different from real format (F), in that the number of decimal places
is not used: only number of digits is required.

Performing Some Common Tasks: Creating Fortran Format Statements

53

Landmark

Introduction to Stratamodel

Locking Stratamodel with a Password
Password Lock XSGM provides the capability to lock Stratamodel
with a password.
1.

Selecting Global → Password Lock XSGM displays a dialog box
that asks you to enter a password. At the same time, Stratamodel
icons begin appearing on the screen.

2.

Enter a password and click OK. A padlock icon appears near the
dialog box to indicate the display is locked.

The dialog box remains open. When you return to your computer and
want to resume use, enter the password and press <Enter>. The dialog
box disappears and the screen returns to normal.

Exiting Stratamodel
To exit Stratamodel, close all open modules by selecting Global →
Return to Main Menu from each module’s menu. Then choose
Global → Exit from the main menu or click the Exit icon in the icon
interface. Confirm that you want to exit.

R2003.12

Performing Some Common Tasks: Locking Stratamodel with a Password

54

Landmark

Introduction to Stratamodel

Preparing Data
Overview
At a number of locations in Stratamodel, the program requires data in a
particular format. This section explains how to prepare data for use
with particular modules of Stratamodel. More detail about this topic
appears in the section for the module.

Preparing Grids for Import
Grids to be imported must follow these rules:

R2003.12

Each grid type must be in a separate file.

Grid z values must represent elevation, not depth.

If z values are in time, they must be expressed as negative to
represent elevation.

All grids to be used in the same model must have the same origin
and the same number of grid rows and columns.

The x and y gridding increment must be consistent for every grid in
the model.

The grid increment determines the lateral resolution of the cells.
Therefore, the grid increment must be small enough to realize
sufficient resolution in the model. It is the final grid increment,
after smoothing in your grid package, that must be used in the
control file.

The Grid File Name can be up to 10 characters, not including the
extension.

Preparing Data

55

Landmark

Introduction to Stratamodel

You must be fairly knowledgeable about your grids to be able to import
them using Import Grids. To build an Import Grids Control File you
need to know the following:

the names of the grid files — (default .grd)

grid type — column or row oriented (default is column oriented);
Z-MAP Plus and Radian CPS are column oriented

grid NULL value (default is 1E+30)

the orientation of the grid rows and whether or not to reverse them
(default is reverse grid rows); for Z-MAP Plus and Radian CPS
reverse grid rows

the orientation of the grid columns and whether or not to reverse
them (default is do not reverse grid columns); for Z-MAP Plus and
Radian CPS do not reverse the grid columns

x, y origins and increments

number of rows and columns

number of header lines in the grid file

grid data format

limits of the external grid

For more information about grids to import, see “Stratamodel’s
Treatment of Grids” on page 46 in Importing and Exporting Data.

R2003.12

Preparing Data: Preparing Grids for Import

56

Landmark

Introduction to Stratamodel

Preparing Well Data
Stratamodel requires a very specific format for well data: an ASCII file
in SM1 format.
The well data file must contain header information in True Vertical
Depth (TVD), or elevation, of the well at the desired resolution. Each
file must also hold all of the same types of attributes that the other wells
will hold: porosity, permeability, facies, lithology, digitized gamma ray
values (vshale), etc.
The following are the rules for SM1 format.

R2003.12

The program uses equal signs to identify where data starts. The
first equal sign must be above the header information. The second
sign must be above the start of the attribute interval information.
Equal signs must be in column 1, and the data must follow them
immediately. Only one equal sign is required.

A file can only have one well.

All wells for the same model must have the same format and the
same attributes, and the attributes must be in the same order. If you
have wells in different formats, you must alter the format or use
more than one well model. If you are missing attributes in a well,
you must fill a column for that attribute with indeterminate values
(nulls) or create a different well model. For example, if all your
wells had a column for lithology except one, you would have to fill
a column with nulls that corresponded to the lithology column in
the other well files or create a different model for that well.

Preparing Data: Preparing Well Data

57

Landmark

Introduction to Stratamodel

The following is an example of SM1 format:
WELL ID
TYPE
SURFACE X
SURFACE Y
KB
T.D.
W.C.
============ ==== =============== =============== ======== ======== ===
PSW-R25C1
55760.0
563168.0
0.00
x
==========
55500.0
55501.0
55502.0
55503.0
55505.0

y
========
563000.0
563022.0
563034.0
563045.0
563056.0

DEPTH
=======
4000.00
4001.00
4002.00
4003.00
4004.00

attr
=====
0.09
0.15
0.11
0.05
0.16

4251.00
4252.00

0.00

Header Section

Attribute Interval
Section

.
.
.
55600.0
55605.0

563111.0
563121.0

Header Parameters
Name of Field

Columns

WELL ID

1-12

TYPE

14-17

SURFACE X

19-33

SURFACE Y

35-49

KB ELEV

51-58

T.D.

60-67

WC (Well Color)

69-71

Well ID
The Well I.D. can be a maximum of 12 characters long and can include
any alphanumeric symbols. The ID must be left-justified.
Type
This field is currently unused and can be left blank.
Surface X/Surface Y
These fields refer to the surface x and y coordinates of the wells. A
maximum of 15 characters are allowed. These coordinates can include
decimals and must be right-justified.
R2003.12

Preparing Data: Preparing Well Data

58

Landmark

Introduction to Stratamodel

KB Elevation
This value must also be right-justified and can be up to 8 characters. If
depth is selected for the well values, the depth intervals are subtracted
from the KB to get the log data into elevations. This then ties the well
data to the elevations in the grids. If the KB is left blank, a zero is
assumed. If elevation is selected then the KB will be irrelevant.
T.D.
This field is currently unused and can be left blank.
W.C.
The well color column can be used to color-code certain types of wells.
For example, you may decide to make all the producing wells green
and all the plugged wells yellow.
Codes can range from 0-10. Below is a list of the codes and their
associated colors.
Code

Color

0

White (default)

1

Red

2

Yellow

3

Magenta

4

Cyan

5

Orange

6

Green

7

Yellow green

8

Blue

9

Blue green

10

Green blue

Result of Using Color Code 11 or Higher
If you choose a number 11 or higher, the well symbol is white.

R2003.12

Preparing Data: Preparing Well Data

59

Landmark

Introduction to Stratamodel

Attribute Information
Attribute information is indicated in the SM1 format by a second equal
sign. Remember that any information included in the attribute columns
must appear in every well that uses the same model.
X/Y
X and Y are the x, y coordinates of the well at the depths shown in the
z field. This information is taken from a deviation survey. A maximum
of 15 characters are allowed. These numbers can include decimals and
must be right-justified.
Depth/Elevation
You format this field, which has no restrictions on the number of
characters or justification. Each number entered in this column refers to
the top of an interval. In the example well on page 58, PSW-R25C1,
at a depth of -4000.0 has a porosity of 0.09. The depth intervals do not
have to be regularly spaced.
The system reads all of the interval data in the wells in that model run
in elevation. In such cases, the KB is irrelevant.
Attribute Interval
Attribute information is indicated in the SM1 format by a second equal
sign. Remember that any information included in the attribute columns
must appear in every well using the same model.
Format of Attribute Data
All attribute fields for one x, y location must be in one data record. Multiple data
records are not allowed.

R2003.12

Preparing Data: Preparing Well Data

60

Landmark

Introduction to Stratamodel

Preparing Tops Data
Tops well data is used with raw well data to force the raw well data to
stay either above or below sequence boundaries in the well model.
Doing this stops attributes from populating the cells using well interval
data that does not actually tie with the sequence boundary grids. That
is, it keeps data from leaking into sequence cell composites it does not
belong to. When tops data is used, the raw well data is proportionally
stretched and squeezed to fit in the sequences that are to be modeled.
You can use two different formats for input. One format has records for
all wells and tops in one ASCII file, while the other uses separate files
for each well. Each file must have the same system file name as the well
with a different extension.
Headers and Comments
No headers or comment lines are allowed in tops data files.

The format for a file containing all wells has three fields:
well_name

tops_key_field_value

sequence_or_grid#

Here is an example file:
silo_1
-13323.20
silo_61 -1.3278E+6
silo_5
-13520.00

9
8
4

Column orientation and right justification of the numeric entry fields
are important for the autoformat capability of the tops file interface to
perform correctly. The well name must be left or right justified just as it
is internally in the raw well data file header for each well.
For individual well top files, the only required fields are as follows:
tops_key_field_value

sequence_or_grid#

Here is an example file for an individual top:
-13323.20
-13425.30
-14000.70

18
17
14

Remember, the name of each file must coincide with the name of the
associated ASCII raw data file, except for the extension, which must be
unique. So, for example, the raw well data files might be named
silo_1.dev, silo_2.dev, silo_3.dev, and the corresponding tops files
might be named silo_1.tops, silo_2.tops, silo_3.tops.

R2003.12

Preparing Data: Preparing Tops Data

61

Landmark

Introduction to Stratamodel

Preparing Data for Use with AEL Modules
Seven file types are available for loading data into or extracting data
from Stratamodel for several AEL modules. The file types are named
SM1, SM2, SM3, SM4, PW1, PW2 (same as SM1), and PW3.



ATM Load from ASCII File imports data in all the SM formats.
ATM Extract to ASCII File extracts data in all SM formats.
ATM Extract to Well Model extracts data in SM1 format.
ATM Extract to Pseudo Log extracts data in all the PW formats.

The following section explains the format of the SM and PW files.

SM1
SM1 requires only a header and data sections. For information about
this format, see “Preparing Well Data” on page 57.

SM2
This format is identical to SM1. This omission will be corrected in a
later release.

SM3
SM3 is the format that replicates the data orientation in Stratamodel.
Use the SM3 file type for point data. The SM3 file format is the only
format that assures that data fits into the correct cell in the model. This
is because it places the data into the model, cell by cell from the base of
the model by row and column. It does not vertically average the data or
calculate the most abundant attributes.
Since it works this way, it produces very accurate results, but it is a
difficult format to create. The only way to accurately reproduce data so
that each piece of information is placed correctly into the model is to
extract data into the format, then use the extracted data to figure out
how to format additional data. If you use information from another
source that is not structured in this format, the data will not load into
the correct positions in the Stratamodel model.
Rules for the format follow:

R2003.12

The data file cannot have headers or blank records.

The first field for each file is the cell index number.

Each record in the file must contain the attribute values for each
cell. Records and cells must have a one-to-one correspondence.
Preparing Data: Preparing Data for Use with AEL Modules

62

Landmark

Introduction to Stratamodel

You can include multiple attributes, each in a separate data field, as
long as the format statement accounts for them.

The first record must contain data located at the stratigraphic
framework model’s row 1, column 1, layer 1. The next record must
contain data for the next cell, row 1, column 1, layer 2.

The description in a format statement for this type of file is 3f12.3.
The data must be entered in the following order.
Record #

Column

Row

Layer

1

1

1

1

2

1

1

2

.
.
.

.
.
.

.
.
.

.
.
.

# layers

1

1

# layers

# layers +1

1

2

1

# layers + 2

1

2

2

.
.
.

.
.
.

.
.
.

.
.
.

R2003.12

# rows + # layers

1

# rows

# layers

# rows + # layers + 1

2

1

1

.
.
.

.
.
.

.
.
.

.
.
.

Preparing Data: Preparing Data for Use with AEL Modules

63

Landmark

Introduction to Stratamodel

So, for example, suppose you have a 3-column by 2-row by 5-layer
model. The illustration below shows the order in which Stratamodel
would fill the model from an SM3 file type.
30
20
15

10

5
Layers

25

5

10

4
3
2
1

25
15

24

9

5

5

14

23

8

4

4

13

22

7

3

3

12

21

6

2

2

11

3

1

1

2

2

Ro
ws

1

1

s

mn

lu
Co

A file in SM3 format for the last example is shown below.
Cell Record in File
1
2
3
4
5
6
7
8
9
10

Col,Row,Layer
1,1,1
1,1,2
1,1,3
1,1,4
1,1,5
1,2,1
1,2,2
1,2,3
1,2,4
1,2,5

.0003
.1000
.1050
.1456
.1211
.1340
.1010
.0890
.0500
.0345
.
.
.

30 .0621

.
.
.

.
.
.

3,2,5

The first column indicates the index number for the cell to receive the
data. You can use the index number to extract data from models that
have been limited and still reload that data accurately into the limited
model.

R2003.12

Preparing Data: Preparing Data for Use with AEL Modules

64

Landmark

Introduction to Stratamodel

SM4
SM4 is a format for loading point data that is much easier to create than
SM3. It loads values to an x, y, z point in real space in the model, and
the cell where that point falls receives those attribute values. You can
average data if you want to load more than one value to a cell.
The SM4 format contains no header values. All data is loaded in the
form X, Y, Z, attribute value. The Z value is the center of the cell in the
attribute model.
The following is an example of SM4:
50.0000000
50.0000000
50.0000000
50.0000000
50.0000000
50.0000000
50.0000000
50.0000000

50.0000000
50.0000000
50.0000000
50.0000000
150.0000000
150.0000000
150.0000000
150.0000000

-2.50000000
-7.50000000
-12.50000000
-17.50000000
-2.50000000
-7.70000000
-12.50000000
-17.50000000

5.0000000
5.1250000
5.2570000
4.9870000
5.1750000
5.2450000
5.5600000
3.9750000

PW1
PW1 is an ASCII file that contains only x, y, and z values.

PW2
PW2 is an ASCII file in SM1 format. It contains a header and the x, y, z
values. For more information about the SM1 format, see “Preparing
Well Data” on page 57.

PW3
PW3 is the format for a binary file created in Show/Build 3D Displays.
You construct a PW3 file by picking points in Show/Build 3D Displays
that represent the path of the well. Click down through the well model
in a path representing the well. SHD writes the x, y, z values into a
binary file called pick.log. You can write multiple files by renaming the
pick.log file before starting another well.

R2003.12

Preparing Data: Preparing Data for Use with AEL Modules

65

Landmark

Introduction to Stratamodel

Preparing a Polygon File to Convert to a Grid
You can use one of two file formats for converting polygon files to
grids. The only difference between these two file formats is that one
contains header information, which the grid name will be created from.
The format of the files is as follows:
Polygon Name
100.0
100.0
200.0
100.0

100.0
200.0
200.0
100.0
Blank Line

50.0
50.0
0.0
50.0

50.0
50.0
0.0
50.0

Polygon File Without Header

Lease
100.0
100.0
200.0
100.0

4
100.0
200.0
200.0
100.0

# of Vertices

Pool 4
50.0 50.0
50.0 50.0
0.0
0.0
50.0 50.0
Polygon File With Headers

The header in the file on the right consists of a polygon name and
number of vertices, indicating how many x, y pairs appear below it.

R2003.12

Preparing Data: Preparing a Polygon File to Convert to a Grid

66

Landmark

Introduction to Stratamodel

Viewing Information
Overview
Stratamodel has several utilties for viewing information about files,
models, and processes. Most of these utilities are located under the
Project menu. This section covers the following topics:




R2003.12

“Displaying Project History Files” on page 68
“Displaying Information about Attributes” on page 70
“Viewing Information about Models” on page 71
“Viewing Lists” on page 75
“Showing File Contents” on page 76

Viewing Information

67

Landmark

Introduction to Stratamodel

Displaying Project History Files
Each time you start Stratamodel, the system creates a history file. This
file contains information about the project, the customer location, and
the computing environment. This information is followed by a
summary of the commands you used and some of the messages you
received. Use Display Project History Files to look at or delete these
files.
Select Project → Display Project History Files to display a file filter
dialog box that has already searched your project directory for history
files with the proper project name and version number.

R2003.12

Viewing Information: Displaying Project History Files

68

Landmark

Introduction to Stratamodel

Viewing History Files
Select one of these files and click OK. An information box appears
with the project history.

Click OK when you finish viewing the file.
Click Cancel in the file filter dialog box when you finish viewing the
history files.

Deleting History Files
Use the three icon buttons below the list of files to delete history files.
Delecte the selected History File. Select a file from the
list and click this button to delete it.
Delete all History files in current Project Version. Click
this button to delete all history files for the current project
version.
Delete all History files in current directory. Click this
button to delete all history files in the project directory.

R2003.12

Viewing Information: Displaying Project History Files

69

Landmark

Introduction to Stratamodel

Displaying Information about Attributes
Project → Well & Attribute Descriptions lists all the active and
inactive attributes and gives you a description of the attributes you
created.

Click Done to close the dialog box.

R2003.12

Viewing Information: Displaying Information about Attributes

70

Landmark

Introduction to Stratamodel

Viewing Information about Models
You can use a number of utilities to get information about stratigraphic
framework models, well models, and attribute models.

Viewing Stratigraphic Framework Information
Project → Stratigraphic Framework Info describes the stratigraphic
framework model, including the geometry and description of the grids
you used to built it.

Click Done to close the dialog box.

R2003.12

Viewing Information: Viewing Information about Models

71

Landmark

Introduction to Stratamodel

Viewing Well Model Information
Select Project → Well Model Info to display information about the
well model, including the attributes that were built in it.

Click the More Info button to list the well sets you built.
Click Done to close the dialog box.

R2003.12

Viewing Information: Viewing Information about Models

72

Landmark

Introduction to Stratamodel

Viewing Attribute Model Information
Select Project → Attribute Model Info to see a description of the
attribute model and its active and inactive attributes.

R2003.12

Viewing Information: Viewing Information about Models

73

Landmark

Introduction to Stratamodel

Click the More Info button to display a dialog box that shows the
minimum, maximum, and average attribute values.

Use this dialog box to select specific types of information about the
attribute model. You can show information for specific types of
attributes and for specific attributes, and you can limit the sequences or
layers for which you retrieve information.
Make selections in the dialog box and click OK. The program queries
the Attribute Model application and provides the specified information.
Click Done to close the dialog box.

R2003.12

Viewing Information: Viewing Information about Models

74

Landmark

Introduction to Stratamodel

Viewing Lists
The following utilities are contained in the Project menu popup lists:

R2003.12

List of Attribute Model(s) — Attribute model .a.a files.

List of Stratigraphic Framework Model(s) — Stratigraphic
framework models for the current project.

List of Well Model(s) — Well models and well sets.

List of Grid File(s) — Grids in the project directory, both internal
and user-defined, whether or not you used them in the project.

Show Project Files — All the files in the project.

Project Version Files — All the files in the current version of the
project.

Viewing Information: Viewing Lists

75

Landmark

Introduction to Stratamodel

Showing File Contents
Select Utilities → Show File Contents to display a list of all the files
in the project directory. Select a file from the list and click OK to view
it.
You cannot edit the file in this information box.

R2003.12

Viewing Information: Showing File Contents

76

Landmark

Introduction to Stratamodel

Running a Batch Job
Overview
Using Batch Mode you can set up a series of commands to be executed
together now or later. To use Batch Mode, however, you must have
created the appropriate control files for each module using Defer
Execution (or during a previous run, using Save & Execute).
Batch Mode is useful for running large jobs during nonpeak hours or
for starting processes as soon as others have ended. Because Batch
Mode uses existing control files, you can run several scenarios of a
project in a shorter time.
Batch Mode has the following conditions:

As previously mentioned, you must have already created all the
control files the job needs to run.

Some of the modules have requirements for running that must be
met before you can run a batch job. For example, in the
Stratigraphic Framework Model application you must have grids
available. You can use the Attribute Model application only if
wells exist.

Batch Mode requires a license to be available when it executes. It
does not check to see if someone else has submitted a job that
would conflict with yours. The first job to get a license is the one
that runs.

Not all Stratamodel commands are available in Batch Mode, since
Batch Mode requires a control file and cannot work with
interactive dialog boxes.

If Batch Mode does not run, you will receive a mail message telling
you the job did not run and giving the name of the batch history file that
you can view to determine where the job failed.
Batch Mode has three menu options:


Create/Edit Batch Control File
Execute Batch Control File
List/Delete Batch Jobs

You must fill out the first two menus to run a batch job.

R2003.12

Running a Batch Job

77

Landmark

Introduction to Stratamodel

Creating or Editing a Batch Control File
Create/Edit Batch Control File specifies the commands and control
files to use to execute the batch job. It also tells the program what to do
if the job fails.
1.

Select Global → Batch Mode → Create/Edit Batch Control
File. Once you create or select a control file, the following dialog
boxes appear.

Create/Edit Batch Control is a standard list-building dialog box
you can use to build a list of batch commands. For more
information about building lists, see “Creating Lists” on page 31.

R2003.12

Running a Batch Job: Creating or Editing a Batch Control File

78

Landmark

Introduction to Stratamodel

2.

The first step in building a batch command is to select the
command. Click Enter Abbreviated Command to Execute to do
so. The Commands List appears:

3.

Select a command from the list and click OK.

4.

Click Enter Command Control File to see a choice of control
files connected with the command you selected in the last step.

5.

A file filter box appears listing all the control files that have the
appropriate extension. Choose the control file and click OK.

6.

You must specify what the program is to do if an error occurs.
Click a button to select one of the following:

Exit, do not execute any more Batch Commands
Continue to next Batch Commands

Obviously, if the next command depends on the successful
execution of the command that failed, the appropriate choice is to
exit. However, if your jobs are not interdependent, you can
continue.

R2003.12

7.

Click Add to add the command parameters to the list.

8.

When you finish adding control files, click OK.

Running a Batch Job: Creating or Editing a Batch Control File

79

Landmark

Introduction to Stratamodel

Executing a Batch Control File
Execute Batch Control File provides instructions for executing the
job. You can submit jobs immediately or time them to occur later.

R2003.12

1.

Click the Select Batch Control File button to select the control
file for the batch job that you built in Create/Edit Batch Control
File. The file filter box searches for all files with a .bat extension.
Select the appropriate file and click OK.

2.

Click a button to execute now or later. If you choose now, the other
selections in the dialog box are deactivated. The default is to
execute later.

3.

Use the sliders to select the time you want the job executed (using
a 24-hour day).

4.

Use the menu to select the month to execute the job.

5.

Use the slider to choose the day to execute the job. The slider does
not know how many days are in a month.

Running a Batch Job: Executing a Batch Control File

80

Landmark

R2003.12

Introduction to Stratamodel

6.

When you have selected the day and time for executing the job,
click Submit. A message appears and informs you when the job
will be executed.

7.

Click OK to close the message box.

Running a Batch Job: Executing a Batch Control File

81

Landmark

Introduction to Stratamodel

Listing and Deleting Batch Jobs
To view the batch jobs currently queued or to delete a batch job, use
List/Delete Batch Jobs. Use this list to see if other jobs are queued at
the same time as yours. A list of all batch jobs appears.

R2003.12

To delete a job, select it from the list. Then click Kill. A message
in the list area of the dialog box reports that the job was killed.

You can update the list without closing the dialog box by clicking
Update. This is useful fi you create successive batch jobs, know
someone else is likely to be submitting batch jobs, or delete jobs.

Running a Batch Job: Listing and Deleting Batch Jobs

82

Landmark

Introduction to Stratamodel

Using Utility Programs
Overview
Use Utility Programs to add executables to Stratamodel without
changing the menu bar or the source code. Utility Programs also list
some test programs you can use in Stratamodel.
You can add any executable to the utility program list, regardless of
whether it directly interacts with Stratamodel.
Adding a Character-Based Program
If you add your own character-based executable, it should either call a WAIT or
force you to press <Enter> so that messages are not lost when the xterm closes.

Selecting Global → Utility Programs brings up the following
standard list-building box. From here you can add new programs or see
which are available to be run.

Work in this dialog box as you would in any other standard list-building
dialog box. For information about building a list, see “Creating Lists”
on page 31.

R2003.12

Using Utility Programs

83

Landmark

Introduction to Stratamodel

Using the Supplied Programs
The following is a short description of the development programs
provided with Stratamodel. See the cited page numbers for a longer
description.
To execute any development program, select it from the list and click
OK. To close the window when you finish running the program, select
Cancel.
Name

R2003.12

Description

Go To

copy_proj

Copies a project’s build files to a new area.

page 86

StraightToDeviated

Converts straight well files to deviated well
files.

page 87

WMreport

Shows comprehensive information about the
well model.

page 89

WM_wellnames

Shows the names of all wells in a well
model.

page 93

AM_wellnames

Shows the names of all wells in all well
models.

page 94

PickLogToCulture

Converts a picklog file into 3D culture data.

page 95

laytosmg

Outputs corner point grids for a layer to .smg
files.

page 97

read_glk

Reads/shows GLK output file.

page 98

grf_read

Reads/shows graphics display file.

page 100

extract_path

Extracts line of section from graphics display
file.

page 101

lmhelp

Contains FLEXlm manual pages for
Utilities.

page 102

convert_csd

Converts pre-SGM 4.0 CSD files.

page 103

AM_1998convert

Converts old attribute model files to 5.0 level
files. Lists the differences at column, row,
and cell number.

page 103

AM_reader

Lists values from the new 5.0 attribute model
files at specified columns and rows. Shows
the cell number.

page 105

Using Utility Programs: Using the Supplied Programs

84

Landmark

Introduction to Stratamodel

Name

Description

Go To

SOURCES

Enables you to prioritize interpreters and
sources of data.

page 107

AM_extract_glk

Extracts a .glk file from the attribute model.

page 108

SM3 convert to
Stratamodel
R1998.0

Converts SM3 formatted files from the 4.x
(and earlier) format to the format required
for Stratamodel R1998.0.

page 110

convertmcp

Converts old model operations control files
(.mcp) into a calculator control file (.mtl).

page 110

createheaders

Enables you to reconstruct header attributes
without having to reconstruct the entire
framework model.

page 110

Compute Zone
Volume Ranking

Computes volume for multiple attributes and
generates a report that can be read in Excel.

page 111

Output Point Types for Well Model Utility Programs
For any Utility Program that relates to the Well Model, information about the
following point types may be output. This table gives you a description of the
types.

R2003.12

Point Type

Description

m

Stratigraphic framework model boundary

p

Original raw data (uninterpolated)

s

Sequence crossing

i

Point has crossed Riser (row/column stack)

x

Layer crossing

b

Sequence bottom

t

Selected sequence top

o

Old sequence crossing changed by well top

Using Utility Programs: Using the Supplied Programs

85

Landmark

Introduction to Stratamodel

copy_proj
This program copies the build files for a project into another area.
Press <Enter> after each response in the shell window.
1.

Begin the program by selecting it from the list and clicking (or
double-clicking) OK.

2.

The program asks for the name of the old project directory:
Enter the OLD project directory:

Enter the name of the directory.
3.

The program asks for the name of the new directory.
Enter the NEW project directory:

Enter the name of the new directory.
4.

The program asks for the well data extensions for the project..
Enter the ASCII well data extensions

Enter the name of the well.extensions for the project, separated by
a space.
5.

The program asks if the project is from a version of Stratamodel
newer than 3.x.
Is this a version 4.x (newer than 3.x) SGM copy (y/n)
[n] :

Enter y or n.
The program then copies the files.

R2003.12

Using Utility Programs: Using the Supplied Programs

86

Landmark

Introduction to Stratamodel

StraightToDeviated
This program reads a file in vertical well SM1 format and creates
deviated well files in SM1 format for each well. The x and y locations
are read from the header and reproduced in columns 1 and 2 of each
record.
Press <Enter> after each response in the shell window.
1.

Begin the program by selecting it from the list and clicking OK.

2.

The program prompts you for the name of the well.
Enter file name for Straight Wells:

3.

The program asks for the extension to add to the well ID.
Enter extension to add to WELL IDs:

Enter an extension.
4.

The program converts the wells. Press <Return> as instructed.

This program does not give error messages, so check the wells to see if
they are correct.
WELL ID
TYPE
========== ====
PSW-R25C1
VERT

DEPTH
==========
4000.00
4001.00
4002.00
4003.00
4004.00
4005.00
4006.00
4007.00
4008.00
4009.00
4010.00

SURFACE X
===============
55760.0

SURFACE Y
==============
563168.0

KB
======

T.D.
======
0.00

W.S.
====

ATTR 1
==========
0.09
0.15
0.11
0.05
0.16
0.17
0.20
0.12
0.08
0.14
0.19

Sample Well in Vertical SM1 Format

R2003.12

Using Utility Programs: Using the Supplied Programs

87

Landmark
WELL ID
TYPE
============ ====
PSW-R25C1

Introduction to Stratamodel
SURFACE X
==============
55760.0

SURFACE Y
==============
563168.0

X
Y
DEPTH
================ =============== ==========
55760.0
563168.0
4000.00
55760.0
563168.0
4001.00
55760.0
563168.0
4002.00
55760.0
563168.0
4003.00
55760.0
563168.0
4004.00
55760.0
563168.0
4005.00
55760.0
563168.0
4006.00
55760.0
563168.0
4007.00
55760.0
563168.0
4008.00
55760.0
563168.0
4009.00
55760.0
563168.0
4010.00

KB
T.D.
====== =======
0.00

W.S.
====

ATTR 1
==========
0.09
0.15
0.11
0.05
0.16
0.17
0.20
0.12
0.08
0.14
0.19

Sample Well Converted to Deviated SM1 Format

R2003.12

Using Utility Programs: Using the Supplied Programs

88

Landmark

Introduction to Stratamodel

WMreport
This program writes a comprehensive report about a well model and
wells.
Press <Enter> after each response in the shell window.
1.

Start the program by selecting it from the list and clicking OK.

2.

When prompted, name the target file for writing the report.

3.

The program lists the well models available:
Well Model Names:
1. prog_alpha3001
2. proj_beta

Enter the well model number and press <Return>.
The program gives you information about the well model as
follows:
Well Name
2
: 3
Number data points : 152
Number comp. points : 32
Well Name
3
: 5
Number data points : 131
Number comp. points : 26
Well Name
4
: 7
Number data points : 169
Number comp. points : 36
----------------------------------------------------Number of data fields : 4
----------------------------------------------------Description field
1 : porosity cont
Composite Method 1 : (Cnt) Continuous
Description
Composite
Description
Composite

field
Method
field
Method

Description field
Composite Method

R2003.12

2
1
3
1

:
:
:
:

saturation har
(Hrm) Harmonic
litho disc
(Dsc) Discrete

4 : facies disc
1 : (Dsc) Discrete

Using Utility Programs: Using the Supplied Programs

89

Landmark

Introduction to Stratamodel

4.

The program lists the wells and asks which wells to select for
displaying information.
======Well Names ======
0. ALL
1. 10
2. 3
3. 5
4. 7
Select Well(s)

Enter the number for your selection and press <Return>.
5.

You are asked for the type of well data to process.
=====Type of Well Data to Process =====
0. ALL
1. (.wp) well data points
2. (.wpc) well composite data points
Select Type(s)

Enter the number for your selection and press <Return>.
6.

If you picked 0 or 1, the program asks which original and raw
attributes you want to print.
=====(.wp) Attributes to print (original/raw)
0. ALL
1. porosity cont
2. saturation har
3. litho disc
4. facies dis
Select Attribute(s)

Enter the number for your selection and press <Return>.
7.

If you picked 0 or 2 in Step 5, you are asked for the composite
attributes to print.
=====(.wpc) Acctributes to print (composite) =====
0. ALL
1. Cnt-porosity cont
2. Hrm-saturation har
3. Dsc-litho disc
4. DSC-facies disk
Select Attribute(s)

Enter the number for your selection and press <Return>.

R2003.12

Using Utility Programs: Using the Supplied Programs

90

Landmark

Introduction to Stratamodel

8.

If you picked 0 or 1 in Step 5, you are asked for the type of .wp
records to print.
=====(.wp) Types of Records to Print =====
0. ALL
1. (p) Original (raw) points
2. (s) Sequence crossing points
3. (x) layer crossing points
4. (c) Composite location points
Select Type(s)

Enter the number for your selection and press <Return>.
9.

For those records you are given a list of record fields to print.
=====Record Fields to Print =====
0. ALL
1. Column and Row Numbers
2. Measure Depth
3. Sequence number (.wp only)
4. Grid number (.wp only)
5. Layer Number
Select Field(s)

Enter the number for your selection and press <Return>.

R2003.12

Using Utility Programs: Using the Supplied Programs

91

Landmark

Introduction to Stratamodel

A report like the following one is written to the xterm window and to
the specified file.
------------------------------------------------------------------------Well Name
1
: 10
Number data points : 167
Number comp. points : 36
Well Id
: 10
Well Top (x,y)
: (4049.000000,3714.000000)
Well Kb
: 6.000000
Well Type
: straight
------------------------------------------------------------------------..........................................................................
Well Point Data (.wp) for: 10
..........................................................................
Type Col Row
Mdp
X
Y
Z
Seq Grd Lay
porosity co saturation litho disc facies disc
..........................................................................
p
17
14
123.783
4048.900
3713.900
-117.783
6
0 81.00
0.121
0.481
2.000
2.000
c
17
14
123.784
4048.900
3713.900
-117.784
0
0 82.00
0.121
0.481
2.000
2.000
x
17
14
123.785
4048.900
3713.900
-117.785
6
0 81.00
0.121
0.481
2.000
2.000
p
17
14
124.136
4048.900
3713.900
-118.136
6
0 80.60
0.076
0.769
1.000
2.000
c
17
14
124.225
4048.900
3713.900
-118.225
0
0 81.00
0.076
0.769
1.000
2.000
..........................................................................
Well Composite Point Data (.wpc) for: 10
..........................................................................
Col Row
Mdp
X
Y
Z
Lay
Cnt-porosit
Hrm-saturat Dsc-litho d Dsc-facies
..............................................................
17
14
123.784
4048.900
3713.900
-117.784 82.00
0.121
0.481
2.000
2.000
17
14
124.225
4048.900
3713.900
-118.225 81.00
0.084
0.636
1.000
2.000
17
14
125.104
4048.900
3713.900
-119.104 80.00
0.006
0.972
1.000
2.000
17
14
125.984
4048.900
3713.900
-119.984 79.00
0.015
0.958
1.000
2.000
17
14
126.864
4048.900
3713.900
-120.864 78.00
0.029
0.970
1.000
2.000
-------------------------------------------------------------------------

10. To remove the xterm, click in it. To view the file, use the vi or
more command.

R2003.12

Using Utility Programs: Using the Supplied Programs

92

Landmark

Introduction to Stratamodel

WM_wellnames
This program shows the names of all the wells in a well model.
Press <Enter> after each response in the shell window.
1.

Start the program by selecting it from the list and clicking OK.

2.

You are asked for the name of the well model. To check this
information, select Project → Set Project Values and
Show Project Files.
Enter name of well model (without extension) to read:

Enter the well model name (the name of your well model control
file, including the number the system appended to it, but without
the .cfw extension) and press <Return>.
3.

You are asked for the name of the project.
Enter name of project

Enter the project name.
4.

You are asked for the version number of the project.
Enter version number of project

Enter the version number, not including the number it was
appended to when the version was created. So, for example, if this
was the first time you created version 1, the number 1.1 was
written as your version number. The true version number is 1.
5.

If the data was successfully read, the following series of messages
appears:
Data was successfully read!
2 wells were read
Well Name 1
: w1.wp
Well Name 2
: w2.wp
--------------------------------------------Well Names will be written to an ascii file.
Enter file name to write to:

If you want to write to a file, enter the file name.
If you do not want to write to a file, enter q.
6.

R2003.12

The final prompt asks you if you want to read any other well
models. Answer y or n. If you answer y, the program starts over; if
n, the program exits.

Using Utility Programs: Using the Supplied Programs

93

Landmark

Introduction to Stratamodel

7.

To view the file, use vi or more. A file like the following appears.

AM_wellnames
This program shows the names of all the wells in all well models.
Press <Enter> after each response in the shell window.
1.

Start the program by selecting it from the list and clicking OK.

2.

You are asked for the name of the project. To check this
information, select Project → Set Project Values.
Enter name of project

Enter the project name.
3.

You are asked for the version number of the project.
Enter version number of project

Enter the version number, not including the number it was
appended to when the version was created. So, for example, if this
was the first time you created version 1, the number 1.1 was
written as the version number. The true version number is 1.
4.

If the data was successfully read, the following series of messages
appears:

Well Names were successfully read!
2 wells were read
Well Name 1
:
w1
in Well Model test10001
Well Name 2
:
w2
in Well Model test10001
--------------------------------------------------------------Well Names will be written to an ascii file.
Enter file name to write to
:

To write to a file, enter the file name.
If you do not want to write to a file, press q and <Enter>.
5.

R2003.12

The final prompt asks you if you want to read any other well
models. Answer y or n. If you answer y, the program starts over; if
n, the window vanishes.
Using Utility Programs: Using the Supplied Programs

94

Landmark

Introduction to Stratamodel

6.

To view the file, use vi or more.

PickLogToCulture
This program converts a pick log file that you created in Show Displays
into 3D culture data.
Press <Enter> after each response in the shell window.
1.

Start the program by selecting it from the list and clicking OK.

2.

You are asked to enter the name for the picklog file. If it is a file
created in Show Displays that you have not renamed, it is called
pick.log.
Enter the name of the file.

3.

You are asked for the number of the attribute you want to view
next to the well.
Enter Attribute No. to view next to well (1-100):

Enter the number of the attribute. To view information about the
attributes, select Project → Attribute Model Info.
4.

The program requests the type of attribute.
Enter Attribute curve type,
Discrete (D), Continuous (C), or Filled (F):

Enter D for discrete, C for continuous, or F for filled.
5.

Now the program wants to know how many cells will be occupied
by the attribute data for the pick log.
Enter width in cells to display attribute data:

Enter a number of cells.
6.

The program requests the axis on which to draw the well curve.
Enter axis to draw well curve (X/Y):

Choose the x or y axis.
7.

The program asks for the y minimum from the stratigraphic
framework model. You can see this information in Project →
Stratigraphic Framework Info.
Enter SFM Y minimum =

R2003.12

Using Utility Programs: Using the Supplied Programs

95

Landmark

Introduction to Stratamodel

Enter the y minimum.
8.

Now supply the y maximum.

9.

Enter the y increment.

10. The program requires a minimum for the attribute.
Enter Attribute #1 minimum for model =

Enter a minimum for the attribute.
11. Enter a y maximum.
12. The program asks for a name for the culture file.
Enter output culture file name:

Enter a name for the file. Press <Return> to finish the program.
You can now display the file as culture data.

R2003.12

Using Utility Programs: Using the Supplied Programs

96

Landmark

Introduction to Stratamodel

laytosmg
This program takes top or bottom corner point grids for a given layer
and outputs them to .smg files. The program only writes the four corner
points of normal cells; it ignores truncated cells.
Press <Enter> after each response in the shell window.
1.

Start the program by selecting it from the list and clicking OK.

2.

The program asks for the number of the first layer you want to
output.
Enter starting layer number:

Enter a number.
3.

The program asks for the number of layers.
Enter number of layers to process:

Enter the number of layers you want to output.
4.

The program asks whether to output the top or bottom of the
layers.
Output TOP or BOTTOM of layers (1=top, 2=bot):

Enter 1 for the top or 2 for the bottom.
5.

The program asks for a prefix with which to name the grids.
Enter file PREFIX for output SMG grids:

Enter a prefix for the grids.
The program writes the grids to .sgm files with the prefix as the name.

R2003.12

Using Utility Programs: Using the Supplied Programs

97

Landmark

Introduction to Stratamodel

read_glk
This program reads and displays the well data, z and attribute values,
and fault and unconformity data in the GLK output file created in
AEL — ATM Extract to GLK File.
Press <Enter> after each response in the shell window.
1.

Start the program by selecting it from the list and clicking OK.

2.

The program asks for the name of the file.
Enter Binary Filename :

Enter the name of the glk file.
3.

A message like the following appears:
Header Lines :
GeoLink
V001.000
SGM
Dead Space [0] = 0 [1] = 0
start_layer = 1 end_layer = 64
start_col = 1 end_col = 10
start_row = 1 end_row = 10
num_atts = 1
null_value = -99999.000000
x_org = 0.000000 y_org = 0.000000
x_inc = 25.000000 y_inc = 25.000000
Number of Wells = 2
Number of Faults = 0
Number of Unconformities = 1
Attribute # 1 = porosity count
Unconformity label # 1 = h3.smg
Do you want to display Well Information ?

Event 4

Enter y to get well information, n to not get well information. The
listing may be very long.

R2003.12

Using Utility Programs: Using the Supplied Programs

98

Landmark

Introduction to Stratamodel

If you requested well information, a display appears like the
following:
Well
Type
KB
TD

ID = w1
= 0
= 0.000000
= 0.000000

Well Points = 33
X = 547.010010
X = 528.840027
X = 516.289978
X = 504.029999
X = 489.649994
X = 468.899994
X = 454.390015
X = 442.910004
X = 435.529999
X = 429.309998
X = 423.200012
X = 414.000000
X = 395.859985
X = 383.029999
X = 369.299988
X = 363.570007
X = 360.739990
X = 357.329987

4.

Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y

=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=

640.900024
622.340027
609.520020
597.000000
582.309998
561.109985
546.289978
534.559998
527.020020
520.669983
514.419983
505.029999
486.500000
473.390015
459.359985
453.510010
450.619995
447.130005

Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z

=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=

-2662.479980
-2675.449951
-2689.949951
-2705.030029
-2721.840088
-2743.070068
-2761.629883
-2778.860107
-2793.729980
-2807.820068
-2821.949951
-2838.350098
-2859.679932
-2873.129883
-2887.540039
-2894.689941
-2898.770020
-2903.689941

The program asks if you want to display z and attribute
information.
sl=1, el=64, sr=1,er=10, sc=1,ec=10
Do you want to display Z and Attribute Information ?

If you answered y, the program asks if you want to see null values.
Enter y or n.
The program displays a message like the following:
attribute
attribute
attribute
attribute
attribute
attribute
attribute
attribute
attribute
attribute
attribute
attribute
attribute

R2003.12

2
2
2
2
2
2
2
2
2
2
2
2
2

for
for
for
for
for
for
for
for
for
for
for
for
for

row=2, col=8,layer=62 is : 8.000000
row=3, col=8,layer=62 is : 8.000000
row=4, col=8,layer=62 is : 8.000000
row=5, col=8,layer=62 is : 8.000000
row=6, col=8,layer=62 is : 8.000000
row=7, col=8,layer=62 is : 8.000000
row=8, col=8,layer=62 is : 8.000000
row=9, col=8,layer=62 is : 8.000000
row=10, col=8,layer=62 is : 8.000000
row=1, col=9,layer=62 is : 8.000000
row=2, col=9,layer=62 is : 8.000000
row=3, col=9,layer=62 is : 8.000000
row=4, col=9,layer=62 is : 8.000000

Using Utility Programs: Using the Supplied Programs

99

Landmark

Introduction to Stratamodel

5.

The program asks if you want to see faults or unconformities.
Answer y or n.

6.

The program displays fault and unconformity information. If there
is no fault or unconformity information, the program asks you to
press <Return> to quit.
Press <Return>.

grf_read
This program reads and displays the graphics display file. This is a file
that is created every time you create a display. Its extension is .grf, and
you can locate it using an xterm window. These are complex files, so
this display can take a long time.
Press <Enter> after each response in the shell window.
1.

Start the program by selecting it from the list and clicking OK.

2.

The program asks for the name of the grf file. Enter a name.
The program puts out information like the following:

GRF CS Normal Cell:
row : 6
col : 42
start_layer : 22
num_layers : 2
top of sequence : 0
<1067.919189 175.000000
<1067.919189 175.000000
<1067.919189 175.000000
GRF CS Truncated Cell:
row : 6
col : 42
layer : 24:
attribute : 81031:
num_vertex : 4:
<1067.919189 175.000000
sequence edge 0
<1075.000000 168.062256
sequence edge 0
<1075.000000 168.062256
sequence edge 0

3.

R2003.12

-2982.815430><1075.000000 168.062256 -2984.387451> 81029
-2972.815430><1075.000000 168.062256 -2974.387451> 81030
-2962.815430><1075.000000 168.062256 -2964.387451> 81030

-2952.815430>
-2954.387451>
-2964.387451>

Press <Return> to close the window.

Using Utility Programs: Using the Supplied Programs

100

Landmark

Introduction to Stratamodel

extract_path
This program extracts a line of section from a graphics display file.
Press <Enter> after each response in the shell window.
1.

Start the program by selecting it from the list and clicking OK.

2.

The program asks for the name of the grf file. Enter a name.
The program puts out information like the following:
# GRF Header information :
#
xmin 27.324970 xmax 1165.828735
#
ymin 79.069267 ymax 1196.082397
#
zmin -3216.462891 zmax -2650.057617
#
xgmin 0.000000 ygmin 0.000000
#
xgincr 25.000000 ygincr 25.000000
#
polygons 6732
#
description x cross section
#
ident GRF
#
version 1
#
# This is the required xmin xmax ymin ymax
XLIMIT
27.324970 1165.828735
YLIMIT
79.069267 1196.082397
#
#GRF type : Cross Section
# GRF CS Header information :
#
xmin 37.940392 xmax 1098.155396
#
ymin 135.299850 ymax 1196.082397
#
zmin -3214.034668 zmax -2650.057617
Start Line
2
37.940392 135.299850
1098.155396 1196.082397

3.

R2003.12

Press <Return> to close the window.

Using Utility Programs: Using the Supplied Programs

101

Landmark

Introduction to Stratamodel

lmhelp
This program contains information about FLEXlm, the license manager
program used by Stratamodel, and Help files for utilities.
Press <Enter> after each response in the shell window.
1.

Start the program by selecting it from the list and clicking OK.
The Flexible License Manager help window appears.

==============================================================
Flexible License Manager (FLEXlm) utilities
0. no help needed
1.
2.
3.
4.
5.
6.

lmdown
lmremove
lmreread
lmstat
license.dat
license.options

-

bring FLEXlm down
disallow use of FLEXlm
re-read license file
FLEXlm statistics
license file format
FLEXlm administrator options

==============================================================
Enter number or command name for HELP:

R2003.12

2.

Enter a number or command name. The manual page appears for
that command.

3.

Press <Return> for more help.

4.

Press <Return> to close the window.

Using Utility Programs: Using the Supplied Programs

102

Landmark

Introduction to Stratamodel

convert_csd
This program converts .csd files produced by versions of Stratamodel
earlier than 4.0 for use in Stratamodel 5.0.
1.

Start the program by selecting it from the list and clicking OK.
The program requests the name of the file.

2.

Enter the file name.

AM_1998convert
AM_1998convert converts a Stratamodel 4.x attribute model for use by
Stratamodel 5.0 . This conversion enables you to avoid rebuilding the
attribute model for old projects.
Press <Return> after each response in the shell window.
1.

Make sure the project directory selected in Set Project Values is
the one that contains the old attribute model.

2.

Start the program: Select it from the list and click OK.
Some introductory text appears:

**********************************************************
This program converts pre 5.0 Attribute Model Data to 5.0.
At any prompt, Enter q to quit.
At any prompt, Enter b to to back up.
At any prompt, Enter ? for help.
**********************************************************

PROJECT DIR =
/home/dingbat2/kay/geol/
PROJECT NAME =
Geol
PROJECT VER =
1
READY TO CONVERT...

Enter b to convert both Header and User Files
keeping OLD numbers

..or

br to convert both Header and User Files
renumbering sequentially
..or
h to convert Header Files ONLY

R2003.12

..or

Using Utility Programs: Using the Supplied Programs

103

Landmark

Introduction to Stratamodel
u to convert User

Files ONLY

..or

q to QUIT

3.

Make a selection from those listed:



Enter b to convert header and user files without renumbering.
Enter br to convert header and user files and renumber
Enter h to convert header files only.
Enter u to convert user files only.

The program begins converting the requested files.
4.

When the program is finished, a message similar to the following
appears:

20 % COMPLETE. (Column
40 % COMPLETE. (Column
60 % COMPLETE. (Column
80 % COMPLETE. (Column
100 % COMPLETE. (Column

10
20
30
40
48

) Sun Nov 16 12:28:24 1997
) Sun Nov 16 12:28:30 1997
) Sun Nov 16 12:28:32 1997
) Sun Nov 16 12:28:33 1997
) Sun Nov 16 12:28:34 1997

FINAL FILE NAMES
DESCRIPTION
------------------------------demo_data0001A0001.ama
Porosity

-----------------------------------CONVERSION of USER FILES is COMPLETE!
------------------------------------

Old attribute model files are not used with
Stratamodel 5.0 and can be deleted.
These files are:
demo_data0001.ami
demo_data0001.amd
Enter r to retain or d to delete

5.

Enter r to retain the old files or d to delete them.

6.

If you choose to delete the files, you must confirm your choice by
selecting y.
Are you sure you want to delete the files (y/n)

7.

R2003.12

Press any key followed by <Return> to quit.

Using Utility Programs: Using the Supplied Programs

104

Landmark

Introduction to Stratamodel

AM_reader
This program reads and lists values from headers of Stratamodel 5.0
attribute model files at specified rows and columns. It also shows the
cell number for the specified row and column.
Press <Enter> after each response in the shell window.
1.

Start the program by selecting it from the list and clicking OK.
The following screen appears, listing information about the project
and header:

Attribute Model files
At any prompt, Enter q to quit.
At any prompt, Enter b to to back up.
**********************************************************

PROJECT DIR =
/home/mint2/iyabo/training/model1/
PROJECT NAME =
training
PROJECT VER =
1
HEADER STUFF
Attr Datatype Null Description...
----------------------------1
2
-32767.
Column
2
2
-32767.
Row
3
3
-99999.
Layer
4
2
-32767.
Sequence
5
5
-99999.
Volume
6
4
-99999.
Elevation
7
4
-99999.
Thickness
8
2
-32767.
Zone
9
2
-32767.
Block
Enter Attr Numbers to show (c to continue) (H for all headers only):

R2003.12

Using Utility Programs: Using the Supplied Programs

105

Landmark

Introduction to Stratamodel

2.

3.

4.

Choose one of these responses:

Choose a single attribute — Enter a and the number of the
attribute (a1, a2).

Choose the headers for all attributes — Enter H.

If you entered one attribute, choose whether to continue with the
program or enter another attribute. If you chose all headers,
continue to Step 4.

To choose another attribute, enter another number prefixed by
a.

To continue with the program, enter c.

Once you have chosen all the headers you want, information
similar to the following and menu a appear.
ATTRIBUTE STUFF
Attr Datatype Null
Description...
-------------------------------------A1
4
-99999.
gr-sharp-3
SPECIFY LIMITS...
Enter c=(for columns)
r=(for rows)
l=(for layers)
s=(for sequences)
q=(for quit)
g=(for GO DO IT)

5.

Choose a command from the menu.

6.

If you chose, columns, rows, layers, or sequences, enter beginning
and ending values.

7.

Enter g to complete the procedure.
Enter q to quit.

R2003.12

Using Utility Programs: Using the Supplied Programs

106

Landmark

Introduction to Stratamodel

SOURCES
Use SOURCES to set priority for data sources or interpreters in the
OpenWorks project. The utility that sets these priorities is a common
Landmark program called Interpreter/Source priority.
Since many interpreters can be working in the same project at the same
time, you must tell the program whose data you want to use when
posting picks, segments, and intersections or when constructing
pointsets and grids for mapping. You do this by establishing a
prioritized list of interpreters and data sources in the Interpreter/Source
Priority dialog box.

The Choices field contains a list of all project interpreters who have
added data to the database and all sources whose interpretations were
loaded with the data. By default, the List field contains the current
interpreter’s initials and an asterisk (*). You can accept the default
setting or you can transfer other interpreters’ initials to the List field.
The current application looks for and uses the data belonging to the first
(topmost) interpreter or data source in the List field. If the application
cannot find the data, it looks for the data belonging to the second
interpreter/data source in the list, and so on.
For example, suppose you give LGC first priority and JEG second
prority. When you attempt to post a top, the application looks for the
LGC pick first. If it does not find the LGC pick, the application looks
for the JEG pick.

R2003.12

Using Utility Programs: Using the Supplied Programs

107

Landmark

Introduction to Stratamodel

If neither pick is found, no pick is posted — unless you leave the
asterisk (*) in the priority list. If your pick is not present in any of the
listed interpretations, the asterisk tells the program to look in the
database and use anyone’s interpretation that contains the desired pick.
It will post the first interpretation it finds in the database.
To create a prioritized list of interpreters and/or data sources, follow
these steps:
1.

Start the program: Select it from the list and click OK.

2.

Click initials in the Choices list to move interpreters to the List
area. Select items in the desired priority order.

3.

When you finish, click OK to save the new list to the database and
close the Interpreter/Source Priority dialog box.

The prioritized interpreters list is saved as an ASCII file in the
OW_PROJ_DATA/<project directory>/sources.<iii> directory.

AM_extract_glk
This program extracts attribute data from the attribute model and stores
it in a file compatible with several commercial reservoir simulator
preprocessors, using the extension .glk. You can extract any data field
from the attribute model, but you cannot extract header information.
The operation also extracts all faults and truncation grids that you used
to build the attribute model. You can also limit the area of the attribute
model from which you remove data.

R2003.12

Using Utility Programs: Using the Supplied Programs

108

Landmark

Introduction to Stratamodel

1.

Start the program: Select it from the list and click OK.

2.

Select or create a file to contain the attribute information. Click the
GLK File Name button and choose a file or enter a new filename
in the file filter box. If you choose the name of an existing file, it
will be overwritten.
Since you are probably extracting the data to load it into a program
expecting a GLK file, Landmark recommends that you give the file
a .glk extension. (The .glk extension is not required.)

3.

Enter the name of the control file used to create the Stratigraphic
Framework. It should have a .scf (Stratigraphic Control File)
extension. This filename is needed to determine which grid files
were used to create the sequence boundaries for truncated or
faulted events. Click the button and use the filter to locate the file.

4.

You can limit the attribute model you extract to specific rows and
columns, a specific layer, or a specific sequence.
Click Limits when Extracting and limit the model as you would
for any other file.

5.

Use Attribute Fields to Extract to choose attributes to extract to
the file. You can interactively select data attributes.
Click Attribute Fields to Extract to display a standard list
building dialog box and the List of All Active Attribute Fields
dialog box.
Use the Extract GLK File from Attribute Model dialog box to
build a list of all the attributes you want to extract. To review the
instructions for building lists, see “Creating Lists” on page 31.
Choose the attribute for your list from the List of Header and
Active Data Attribute Fields dialog box and click OK.

R2003.12

Using Utility Programs: Using the Supplied Programs

109

Landmark

Introduction to Stratamodel

The attributes are extracted from the attribute model and exported
in .glk format.
Header Attribute Extraction
The first five header attributes are automatically extracted. Header attributes
6-10 are not included in the extraction.

SM3 convert to Stratamodel R1998.0
For Stratamodel R1998.0 a column was added to the SM3 format for a
cell index. This index indicates the cell that the attribute data belongs
to, so that attributes from models that have been limited by column,
row, or layer can be reloaded into the correct location in the model.
1.

Start the program by selecting it from the list and clicking OK.
Enter old SM3 file name:

2.

Enter the name of the old file. The next prompt appears:
Enter new SM3 file name:

3.

Enter a name for the new file. The program converts the file:
Conversion is complete...
Enter RETURN to exit

4.

Press <Return> to exit.

Rebuild Header Attribute Utility
Use the Rebuld Header Attribute utility to create header attributes
without reconstructing the entire framework model. Occasionally users
remove all the user-defined attriburtes and accidentally remove model
header attributes. This utility rebuilds header files from information in
the framework files without needing to rebuild the entire framework.
This program can be found in the Global → Utility Programs →
Create Headers drop-down option.

R2003.12

Using Utility Programs: Using the Supplied Programs

110

Landmark

Introduction to Stratamodel

Convert mcp Files to mdl Files Read by the Calculator
This utility converts model operations control files (.mcp) into a
calculator control file (.mtl) format. The dialog is simple to use. The list
of directories appears on the left, and the list of files appears on the
right. Click the name of the file(s) you want to convert. The newly
converted files are stored in the project directory. When the process
finishes, a dialog appears to let you know. The name of the converted
file remains the same, in most cases only the extension is changed
(bissel.mcp becomes bissel.mtl).
Occasionally, model operations control files contain multiple limits
which a single calculator control file can not have. In this situation, the
converter divides the original .mcp file into consecutive files and names
them filename_1.mtl, filename_2.mtl, and so on.

Compute Zone Volume Ranking
This utility reads Stratamodel attributes, multiplies each attribute by the
volume of a cell, and accumulates these values to compute a final
volume for the attribute across a zone or the entire model. The program
can do this for multiple, consecutive attributes and create a ranked
report of all attributes from smallest to the largest. Using the ranked
results, you can easily identify the P10, P50, and P90 values.
You are asked to:

R2003.12

1.

Designate the first attribute.

2.

Indicate how many attributes you want to compute. Attributes
must be sequential to the first one you specified. You cannot skip
attributes using this utility.

3.

When prompted, indicate whether you want to compute a single
zone or the entire model.

4.

Supply a name for the output file. The output file is in the xls
format and you can import it into Excel.

Using Utility Programs: Using the Supplied Programs

111

Landmark

Introduction to Stratamodel

Adding Utility Programs
To add a program to the list, use Append or Insert as you would in any
list-building dialog box. The following dialog box appears:

R2003.12

1.

Click the Enter program file name button and use the file filter to
locate the name of the file you want to load. This file must be an
executable in the XSGM system directory.

2.

Optional: You can use Optional program arguments to enter
arguments for executing the program.

3.

Enter a short description of the program.

4.

For Enter program name, provide a short command name to
appear on the menu.

5.

Choose window-based or character-based for the program type.
If you choose character-based, the program launches in an xterm
window.

6.

Click OK to add the program as specified.

Using Utility Programs: Adding Utility Programs

112

Landmark

Introduction to Stratamodel

Appendix A.
File Naming Conventions
The following table shows the extension of the files created or used in
Stratamodel:

R2003.12

Extension

Stratamodel Module

Description

ama

Attribute Model

Attribute Model files for Stratamodel R1998
and later

amd

Attribute Extract/Load

Attribute Model (version 4.x)

amdnew

Attribute Model

Attribute Model (size change, version 4.x)

amdold

Attribute Model

Attribute Model (size change, version 4.x))

ami

Attribute Model

Attribute Model information file, version 4.x

aminew

Attribute Model

Attribute Model information file (size change,
version 4.x)

amiold

Attribute Model

Attribute Model information file (size change,
version 4.x)

bat

Stratamodel

Batch control file

batidx

Stratamodel

List of current Batch processes index file

bcf

Show Displays

Build Cross-Section Batch control file

bdf

Show Displays or
Stratigraphic Framework Model

Fault block definition file

bud_filter

Show Displays

Show Displays pre-filter file

cfw

Well Model

Well Model control file

clt

Show Displays

External ASCII culture data file

col

Show Displays 2D Mode

ASCII z-value color definition file

csd

Show Displays

ASCII attribute color definition file

daf

Attribute Model

Attribute Model control file

dpf

Attribute Extract/Load

Pseudo Wells control file

dpn

Attribute Extract/Load

Temporary File Names for Pseudo Wells

Appendix A. File Naming Conventions

113

Landmark

R2003.12

Introduction to Stratamodel

Extension

Stratamodel Module

Description

fgc

Find Geobodies

Find GeoBodies control file

fgc_pi

Find Geobodies

Find GeoBodies Parameters and Info file

gec

Attribute Extract/Load

Extract Grid from SFM control file

gid

Show Displays

Graphics display information file

gif

Import Grids

Import Grids control file

gif2

Import Grids

Import Binary Grids control file

glc

Attribute Extract/Load

Attribute Extract GLK control file

glk

Attribute Extract/Load

Attribute Extract GLK output file

gof

Export Grids

Export Grids control file

gof2

Export Grids

Export Binary Grids control file

grd

Import Grids

Import Grids external grid file

grf

Show Displays

Graphics display file

gxy

Show Displays

External ASCII XY line-of-section file

lcf

Attribute Extract/Load

Load Attribute Model control file

ldf

Attribute Model, Stratigraphic
Framework Model, or Show Displays

Layer equivalence definition file

lis

all

Output listing file

log

all

Output log file

lwm

Well Model

Layered Well Model file

lyp

Attribute Extract/Load

Attribute Extract GLK temporary files

mcp

Model Operations

Model Operations control file

moe

Attribute Extract/Load

Extract Attribute Model control file

prc

POSC Rescue

POSC Rescue control file utility

prf

POSC Rescue

POSC Rescue control file utility

ptg

Attribute Extract/Load

Polygon-to-Grid control file

scf

Stratigraphic Framework Model

Stratigraphic Framework Model control file

scl

Stratigraphic Framework Model

Special connectivity list file

scr

Show Displays 2D Mode

Batch processing script file

Appendix A. File Naming Conventions

114

Landmark

R2003.12

Introduction to Stratamodel

Extension

Stratamodel Module

Description

sdc

Attribute Extract/Load

Adjacent Attributes control file

sfb

Stratigraphic Framework Model

Stratigraphic Framework Build file

shc_parms

Scaled Hardcopy

Scaled Hardcopy saved parameters file

shd_state

Show Displays

Saves and restores the state of the display

smg

Import Grids, Export Grids, Show
Displays 2D Mode

Internal binary Stratamodel grid file

ss

StrataSim

StrataSim files

suf

Summation/Average

Summations control file

suf_pi

Summation/Average

Summations Parameters and Info file

svs

Import Grids

CPS3 Binary grid file

tfm

Stratigraphic Framework Model

Topological Framework Model file

tsm

Stratigraphic Framework Model

Temporary sequence shell storage

tlm

Stratigraphic Framework Model

Topological layer model file

tla

Show Displays 2D Mode

Templates Load Attribute control file

tmp

StrataMap

StrataMap temporary files

twm

Attribute Extract/Load

Proposed Wells control file

vcf

Volumetrics

Volumetrics ontrol file

vdb

VIP to Stratamodel

VIP to Stratamodel control file

vip

VIP to Stratamodel

VIP to SGM converter control file

vrf

Volumetrics

Volumetrics report file

wma

Well Model

Well Model attributes and source

wmc

Well Model

Well Model completion information file

wmn

Well Model

Well Model attribute information and well
names

wp

Well Model

Well Model well log points data file

wpc

Well Model

Well Model well log composite data file

xyz

Pointset Builder, Show Displays

Regular xyz file, with headers and a pointset

zdf

Show Displays or Stratigraphic
Framework Model

Zone defnition file

Appendix A. File Naming Conventions

115

Landmark

Introduction to Stratamodel

The following files are for internal use only.

R2003.12

Extension

Stratamodel Module

Description

dir

all

Project temporary executable directory file

prm

all

Project temporary parameters file

ver

Stratamodel

Project version descriptions file

sys

Stratamodel

Project system set-up file

dat

Stratamodel

Project parameters save file

xhis

all

Project History file

xhisbak

Stratamodel

Project History file saved for Batch mode

Appendix A. File Naming Conventions

116

Landmark

Introduction to Stratamodel

Appendix B.
Environment Variables
This appendix lists all the environment variables you can define in
Stratamodel.
Name

Type

Description or Value

Use

BADLEY_DISPLAY

Int

0 or 1

Specify which monitor to
use for displaying Badley’s
Fault Seal Analysis.

COLORCHG

Text

yes or no (only lowercase
accepted)

Set to “no” if StrataMap
fails because it runs out of
colors and reports an X
error (..X_StoreColors). Set
the variable and restart.

Module: StrataMap

EXPORT_RAW_TIPLOOPS

0 or 1

a setting of 1 turns off
tiploop clipping

Module: POSC

MAIN_MEMORY_SIZE

Int

the size of available main
memory on your system.
Module: Landmark Seismic
Loading

R2003.12

Set to “yes” to run in
Pseudocolor to manipulate
the color table without
redrawing the image. If
there is not enough space to
allocate a private colormap,
the program may crash in
this mode.
Specify whether
Fault-Tiploops are clipped
or not-clipped to the
Stratamodel reservoir top
and bottom. The default is
to clip tiploops to the
model. Use this
environment variable to
turn tiploop clipping off.
Set this value to 1 to turn
off clipping and export the
trimloop without any
clipping.
Use if the memory required
for loading seismic traces
into the model exceeds the
amount of system memory.
Once the size of main
memory is reached, load
processes are split into
multiple passes.

Appendix B. Environment Variables

117

Landmark

Introduction to Stratamodel

Name

Type

Description or Value

Use

MAXCOLRS

40

the maximum number of
colors to be used in
StrataMap

Set MAXCOLRS to 40 (for
Solaris machines only) to
set StrataMap to come up
on the nongraphics monitor.

Module: StrataMap
MOPCALC_MSGLEVEL

Int

1,2,3,or 4 (4 is the most
comprehensive)
Module: Calculator

MOPCALC_SHOWRANGE

Text

yes or no (only lowercase
accepted)
Module: Calculator

NO_TRUNCATION_SECTIONS

0 or 1

a setting of 1 exports
unconformities as RESCUE
horizons.

Module: POSC

USE_RESCUE_VERSION

19, 22,
23,24 or
25

19 sets Stratamodel to
export a V19 POSC
RESCUE model, etc.
Module: POSC

XSGM_2D_SCREEN

0 or 1

the screen number for the X
server screen you want to
have 2D Display appear on.
Module: Show Displays

XSGM_BASEMAP_SCREEN

0 or 1

the screen number for the X
server screen you want to
have Cross Section appear
on.
Module: Show Displays

R2003.12

Determine the level of
detail written to the Xterm
you use to launch
Stratamodel.
Display the min and max
values for each type of
DATA as you highlight it in
the selection dialog boxes.
Information is posted to the
MESSAGE panel of the
Calculator.
Specify whether
Stratamodel unconformity
events are exported as
RESCUE sections or as part
of RESCUE horizons. By
default, unconformity
events are exported as
RESCUE sections. Set this
variable to 1 to force
Stratamodel to export
unconformities as RESCUE
horizons.
Set the version of POSC
RESCUE to export. Enter
the number of the model
format from the available
values. V22 is the default
setting.
Specify which monitor to
use for displaying 2D
Display. This environment
variable is not functional on
Solaris computers if only
one monitor has a Creator
3D graphics card.
Specify which monitor to
use for displaying Cross
Section. This environment
variable is not functional on
Solaris computers if only
one monitor has a Creator
3D graphics card.

Appendix B. Environment Variables

118

Landmark

Introduction to Stratamodel

Name

Type

Description or Value

Use

XSGM_COLORCHOOSER_SCREEN

0 or 1

the screen number for the X
server screen you want to
have Color Chooser appear
on.

Specify which monitor to
use for displaying Color
Chooser. This environment
variable is not functional on
Solaris computers if only
one monitor has a Creator
3D graphics card.

Module: Show Displays
XSGM_COLOREDITOR_SCREEN

0 or 1

the screen number for the X
server screen you want to
have Color Sepctrum Editor
appear on.
Module: Show Displays

XSGM_NUM_DIV

Int

the number of cell divisions
to use when building a
Stratigraphic Framework
Model
Module: StrataMap

XSGM_OBJECTMANAGER_SCREEN

0 or 1

the screen number for the X
server screen you want to
have the Object Manager
appear on.
Module: Show Displays

XSGM_SHC_SCREEN

0 or 1

the screen number for the X
server screen you want to
have Scaled Hardcopy
appear on.
Module: Show Displays

XSGM_SHD_SCREEN

0 or 1

the screen number for the X
server screen you want to
have Show Displays (3D
Display) appear on.
Module: Show Displays

R2003.12

Specify which monitor to
use for displaying Color
Spectrum Editor. This
environment variable is not
functional on Solaris
computers if only one
monitor has a Creator 3D
graphics card.
Increase the accuracy of the
model areas that have
problems due to cells that
are truncated at event
boundaries.
Specify which monitor to
use for displaying Object
Manager. This environment
variable is not functional on
Solaris computers if only
one monitor has a Creator
3D graphics card.
Specify which monitor to
use for displaying Scaled
Hardcopy. This
environment variable is not
functional on Solaris
computers if only one
monitor has a Creator 3D
graphics card.
Specify which monitor to
use for displaying Show
Displays. This environment
variable is not functional on
Solaris computers if only
one monitor has a Creator
3D graphics card.

Appendix B. Environment Variables

119

Landmark

Introduction to Stratamodel

Name

Type

Description or Value

Use

XSGM_SHD_STEREO

0 or 1

if set to 1, Show Displays
renders graphic images in
stereo mode; if set to 0, sets
Show Displays to display
the default viewer.

Enable Show Displays
stereo mode.

XSGM_SHD_STEREO_P

-6 to 6

the left and right eye
viewing frustrums are
literally rotated by half of
this angle to provide the
necessary eye separation.

Set the maximum parallex
angle, which shouldn't
exceed 3 degrees (the
default).

Module: Show Displays
XSGM_SHD_STEREO_DX

-0.5 to 0.5 at zero parallex, left and
right eye images are
coincident resulting in no
stereo effect (at that
location). The default value
for this parameter is 0.5
which makes the back of the
scene the plane of zero
parallex (for example, all of
the model is out in 'front' of
the screen with its back end
'at' the screen). This
parameter also controls the
location of the axis about
which the left and right eye
viewing frustrums are
rotated. When this value is
in the -0.5 to 0.5 range, the
plane of zero parallex is
visible in the model,
however this value can be
made large to exaggerate
the stereo effect, resulting in
models substantially 'in
front of' or 'behind' the
screen.

NOTE: If you select the S
key, a slider bar appears,
which you use to adjust
parallex interactively. If you
use the slider, you do not
need to set this variable.
Use as a multiplier to set
the location of the zero
parallex plane.
NOTE: If you select the S
key, a slider bar appears,
which you can use to adjust
parallex interactively. If you
use the slider, you do not
need to set this variable.

Module: Show Displays

R2003.12

Appendix B. Environment Variables

120

Landmark

Introduction to Stratamodel

Name

Type

Description or Value

Use

XSGM_DAM_PTS_PER_LAYER

Depends
on
machine
memory

dynamically set based on
the number of wells in all
well models or a default
maximum of 4000

Set the number of well
points allowed in a layer
used in interpolating the
attibute model. You can
override the default number
of well points with this
variable.

Module: Attribute Model

XSGM_SGM_SCREEN

0 or 1

screen number for the X
Specify which monitor to
server screen you want to
use for displaying
have Stratamodel appear on. Stratamodel. This
environment variable is not
Module: Show Displays
functional on Solaris
computers if only one
monitor has a Creator 3D
graphics card.

XSGM_WELL_POINTS

1

if defined, a special pop-up
menu is created in Show
Displays that enables well
points to be drawn on each
well trajectory

Turn on various visual
debugging options, such as
Composite Points, Layer
Crossing, and Original
Point.

Module: Show Displays

R2003.12

Appendix B. Environment Variables

121

Landmark

Introduction to Stratamodel

Appendix C.
Special Keys and Button Combinations
This section lists special keys and mouse-button combinations used
throughout Stratamodel and in specific Stratamodel modules.

Keys Used Throughout Stratamodel
The first group of keys are the standard default OSF/Motif keys that can
be modified by changing the systemwide or local “.motifbind” file

R2003.12

Key

Action

Esc

Cancels the current active dialog.

F1

Activates any help button that has the current input focus or any
highlighted area that has context-sensitive help associated with it.

Return

Selects any button that has the current input focus, an example of
which is OK Button in a Tab group (a group of buttons you can tab
through) that is currently highlighted.

space bar

Selects any button that has the current input focus, an example of
which is a radio button (diamond shaped button, the shape of which
indicates that you can only select one in a group) in a Tab Group (a
group of buttons you can tab through) that is currently highlighted.

Tab

Traverses through Tab Group sets of buttons or scroll bars, which
are highlighted by a black line surrounding the button or scroll bar.

Shift-Tab

Moves backwards in the same manner as the Tab key.

arrow keys

Move among buttons in a single Tab group (a group of buttons you
can tab through), as in a group of radio buttons (diamond shaped
button, the shape of which indicates that you can only select one in
a group). Also take a single step in a slider scale.

Home key

Goes to the beginning of the Text; if there is only one line of text,
goes to the first character in the line.

End key

Goes to the end of text; if there is only one line of text, goes to the
last character in the line.

Page Up /
Page Down

Scroll Text up or down one page.

F10

Turns on the underlined characters to be used as mnemonics.

Appendix C. Special Keys and Button Combinations

122

Landmark

Introduction to Stratamodel

The following is a list of accelerator keys available from any active
menu bar (accelerators are printed beside the menu option text). These
accelerator keys are executed by making the main Menu or submenu
the currently active window then pressing the Control key while at the
same time pressing the single letter mnemonic.
These are the pre-set defaults values that can be modified by changing
the “app-defaults/XSgm.SITE” application defaults resource file by
searching for all occurrences of “<Key>.”.

R2003.12

Keys

Action

Ctrl-a

Displays attribute model information

Ctrl-d

Displays all current attribute model and well model active attribute
descriptions

Ctrl-e

Displays the File Selection dialog box, then the selected file opens in
the default editor

Ctrl-h

Displays the Help Topic Index dialog box

Ctrl-k

Displays the Kill All Programs dialog box

Ctrl-l

Displays the List of Commands dialog box

Ctrl-m

Closes the current menu and returns to the main menu

Ctrl-q

Closes the main menu and any other submenus

Ctrl-r

Repeats the last command

Ctrl-s

Displays stratigraphic framework information

Ctrl-t

Opens an xterm window

Ctrl-v

Displays the Project Values dialog box

Ctrl-w

Displays well model information

Appendix C. Special Keys and Button Combinations

123

Landmark

Introduction to Stratamodel

Mouse Buttons and Keys in Show/Build 3D Displays
Various modules of Show/Build 3D displays use the mouse button and
keys for different activities. This section explains all the special mouse
button functions.

In Build Cross Section

R2003.12

Mouse Button

Action in Pick New

Button 1

Digitizes a point

Button 2

Ends a line or closes a polygon

Cntl

Displays information in the status line

Shift-Button 1

Moving the mouse up zooms the picture out; moving
the mouse down zooms the picture in

Shift-Button 2

Zooms around a rectangle

Shift-Button 3

Pans the picture

Cntl-Button 1

Displays information about cells you click

Mouse Button

Action in Edit Old

Button 1

Picks a point for editing

Button 2

Selects several points

Button 3

Displays information about a selected cell

Appendix C. Special Keys and Button Combinations

124

Landmark

Introduction to Stratamodel

In 3D Display
Mouse Button

Action

Button 1

Moving the mouse rotates the picture

Button 2

Moving the mouse down zooms the picture out;
moving it up zooms the picture in

Button 1-2

Pans the display.

Ctrl-Button 1

Highlights a selected object in the Object Manager.

Ctrl-Button 3

Picks a cell and displays cell values.

Ctrl-Shift-Button 3

Writes to a picklog file

To cycle through attributes, use these keys:
Key

Action

f

displays the next attribute

b

displays the previous attribute

s

stops cycling

c

cycles continuously

Key

Action

Button 1

places points

Button 2

ends lines or polygons

Cntl-Button 1

gives info about a cell

Shift-Button 1

zooms

Shift-Button 2

zooms around a rectangle

Shift-Button 3

pans

In 2D Display

In Scaled Hardcopy

R2003.12

Mouse Button

Action

Button 1

Moving the mouse up zooms the picture out; moving
the mouse down zooms the picture in

Button 2

Pans the picture as you move the mouse

Appendix C. Special Keys and Button Combinations

125

Landmark

Introduction to Stratamodel

Appendix D.
XSgm Resource Files
Overview
Note: If You Are Upgrading from a Previous Version
If Stratamodel is not a new program for you, note that the XSgm file has been split
up into several files. This makes it easier to find your resources.

You can use the standard X resource manager to change the name,
appearance, or contents of the menus and dialog boxes throughout the
system. You can use five important XSgm resource files to set general
and individual resources:




XSgm sets the resources for the main menu.
XSgm.all sets general resources that are Motif specific.
XSgm.COLOR sets the colors.
XSgm.GEOM sets the locations of the windows.
XSgm.SITE sets resources for your entire site.

In addition, there are files specific to modules of Stratamodel.
All the XSgm resource files are located in the Stratamodel system
directory under app-defaults subdirectory.
The syntax of most of the XSgm files is the same. Very few Motif
resources have been fixed in the files, so they can be customized by
each user. To change the default settings of a resource, use the name of
the resource as follows.
*[window_name]*resource_name: resource_value

or
*window_name.resource_name: resource_value

Examples:
*okLabelString: YES — sets all OK buttons in all windows
to use "YES" as label.
*IMG_cmd.labelString: IMG — sets the MenuBar
command label for ImportGrids to “IMG.”
*XmList*fontList: 9x15 — sets the font for all lists to be
9x15.
R2003.12

Appendix D. XSgm Resource Files

126

Landmark

Introduction to Stratamodel

Syntax Information

“*” sets all window and sub-window resources to the new value.

“.” sets only the current window resource.

You can set Boolean X resources; use any of the following:
Yes / On
No

/ True

/ Off / False

To change the default labels in the main Stratamodel menu, for
example, copy the all the “XSgm” resource files (XSgm.all,
XSgm.SITE, XSgm.COLOR, and XSgm.GEOM) from the
app-defaults directory under the Stratamodel system directory to your
home directory, then change the appropriate labels in XSgm. Each time
Stratamodel is executed after the change, the main menu uses the new
labels. The easiest way to edit the resource file is to use the Motif demo
program “mre,” which graphically groups resources together and shows
allowable values. This program may or may not be available on your
system.
All the standard X command line arguments are available, including the
following:
-bg

background_color

-bg CadetBlue

-bd

border_color

-bd gray

-bw

border_width

-bw 3

-display

X_display_server

-display sgm:0.0

-fg

foreground_color

-fg black

-fn

global_font

-fn lucidasans-14

-name

name_for_resources

-name "MyXsgm"

-title

title_for_windows

-title My Own XSGM

-xrm

any_resource_name

-xrm "*fontList:fixed"

The most useful argument is “-display,” which executes XSGM
programs on one computer but displays the menus on another. If you
log in remotely to a computer with a hostname of “fileserv” but want to
see the menus on a system named “fred,” you would use following
from “fileserv:”
%./run.xsgm -display fred.0

R2003.12

Appendix D. XSgm Resource Files

127

Landmark

Introduction to Stratamodel

Resource File Descriptions
The XSgm resource files are XSgm, XSgm.all, XSgm.COLOR,
XSgm.GEOM, and XSgm. SITE. Another file contains the color icons,
called images, and a resource file for StrataMap.

images
The images directory contains the image files used to produce the color
icons for the Stratamodel desktop. The images directory also contains
two files that explain how to use these files. To use the files on a
standard SGI system, you must have root acess.

stratamapAppl
This file contains the resources used by StrataMap.

XSgm
XSgm sets the labels for the main menu. Each module has its own
resource file for the labels that pertain to it. These labels should not be
changed. To change resources for your computer, change them using
the XSgm.SITE file.

XSgm.all
XSgm.all sets general resources that are used by all modules and are
Motif specific. In particular, this file sets the resources for labels. At the
top of the file are those resources that Motif uses for its widgets.
For example, the following resource sets the number of visible lines in
any list in Stratamodel:
*visibleItemCount: 10

To change the number of visible lines in every list in Stratamodel,
change the number.

R2003.12

Appendix D. XSgm Resource Files

128

Landmark

Introduction to Stratamodel

XSgm.COLOR
XSgm.COLOR sets the colors and fonts. When you receive
Stratamodel, the default is to display gray screens and certain fonts that
conform to Landmark style. However, you can display Stratamodel
using a different color for each module. To do this, uncomment the
lines in this file that refer to color. Comments are indicated by
exclamation points, which you can delete.

XSgm.GEOM
XSgm.GEOM sets the position and size of every Stratamodel module
on the screen when it starts up. The syntax of this file is
<width>x<height>+/-x+/-y

The upper left-hand corner of the display is the origin. Here are the
correct entries to indicate the corners of the display.
+0+0

upper left

-0+0

upper right

-0-0

lower right

+0-0

lower left

For example,
700x500-0+0

places a window in the upper-right corner with a width of 700 pixels
and a height of 500 pixels.
Each individual module’s XSgm file uses this resource file to set its
location on the current display.

R2003.12

Appendix D. XSgm Resource Files

129

Landmark

Introduction to Stratamodel

XSgm.SITE
XSgm.SITE is a site-specific version of the XSgm file. You can use this
file to change resources throughout your site. The entire file is
commented out to show the default resources. To change the resources,
copy the appropriate resource to the end of the file and uncomment it,
then change it to the new value. This preserves the default value in case
you want to revert to it.
Below is a sample XSgm.SITE file:
!SGM site specific app-defaults file
!
!
!
NOTE: Specific resources:
!*actPreviewHelp:
True
!*actPreviewReset:
True
!*actPreviewSelect:
True
!*commandPrint: /usr/bin/lp
!*commandEditor:
/usr/bin/vi
!*commandXterm: /usr/bin/X11/xterm -font 8x13 -bg gray70 -fg black -cr
turquoise4 -ms red -sb -geometry 80x30 -name XSGM_xterm
!*creationDirectoryMask:
0755
!*creationFileUmask:
0111
!*cursorBackgroundColor:
white
!*cursorForegroundColor:
black
!*cursorHelpSelect:
question_arrow
!*cursorResetSelect:
exchange
!*cursorLockAll:
pirate
!*cursorWorking:
watch
!*cursorSelect: cross
!*customerName: Landmark Graphics Corp.
!*customerLocation:
15150 Memorial Dr. Houston TX 77079,
!*customerContact:
Customer Support (713) 560-1110
!*customerMiscInfo:
OSF/Motif version (XSGM)
!*defaultButtonLabelString:
Reset
!*directoryExecutables: /usr/xsgm/system/
!*directoryForms:
/usr/xsgm/system/help_files/
!*directoryFormsAel:
/usr/xsgm/system/help_files/
!*directoryFormsDam:
/usr/xsgm/system/help_files/
!*directoryFormsImg:
/usr/xsgm/system/help_files/
!*directoryFormsMain:
/usr/xsgm/system/help_files/
!*directoryFormsMisc:
/usr/xsgm/system/help_files/
!*directoryFormsMop:
/usr/xsgm/system/help_files/
!*directoryFormsSum:
/usr/xsgm/system/help_files/
!*directoryFormsSfm:
/usr/xsgm/system/help_files/
!*directoryFormsShd:
/usr/xsgm/system/help_files/
!*directoryFormsGtm:
/usr/xsgm/system/help_files/
!*directoryFormsUtil:
/usr/xsgm/system/help_files/
!*directoryFormsWm:
/usr/xsgm/system/help_files/
!*directoryUsersWork:
/usr/xsgm/system/work_dir/

R2003.12

Appendix D. XSgm Resource Files

130

Landmark

Introduction to Stratamodel

!*errorDialogBackground:
pink
!*fixedWidthFont:
8x13bold
!*highlightFont:
8x13
!*smallFont:
*helv*-b*-r*--10*
!*variableWidthFont:
*helv*-b*-r*--14*
!*graphicsSystemName:
GL
!*graphicsVendorName:
SGI
!*hardwareVendorName:
SG
!*iconBackgroundColor: LightGray
!*iconForegroundColor: black
!*showIcons:
True
!*installationType:
Beta
!*installationVersionNumber:
3.000
!*languageOfForms:
eng
!*licenseFile: /usr/xsgm/system/license.dat
!*maximumLengthFileName:
100
!*maximumLengthGrfExt: 4
!*maximumLengthVerExt: 4
!*noButtonLabelString: No
!*nullValueAml: -99999.
!*nullValueGrids:
1.0E30
!*nullValueMisc:
1.0E30
!*nullValueSfm: -99999.
!*nullValueWells:
-99999.
!*nullValueWml: -99999.
!*numberAtmSectors:
16
!*numberAtmAdjacentSectors:
15
!*numberAtmSectorsPerWell:
10
!*numberVisibleListItems:
20
!*operatingSystemName: UNIX
!*printButtonLabelString:
Print
!*pulldownMenuBarColor: gray75
!*selectionAreaColor:
turquoise4
!*showAllocationMessages:
False
!*unitMaximumNumber:
99
!*unitFirstTemporary:
51
!*unitLastTemporary:
99
!*unitNumberWaits:
10
!*useDefaultXCursors:
False
!*useColorIcons:
False
!*useModalDialogs:
True
!*useProjectHistory:
True
!*warningDialogBackground:
LightGoldenrod
!*workListButtonLabelString:
Done
!*yesButtonLabelString: Yes
!
!
NOTE: General classes:
!*ActivationPreviewing:
!*DirectoryXSGMSystem:
!*DirectoryXSGMForms:
!*GeneralXSGMFont:
!*GeneralXSGMNullValue:

R2003.12

Appendix D. XSgm Resource Files

131

Landmark
!*UseCursorEverywhere:
!*BypassAllMenus:
!
!
NOTE: Bypass Motif
!*xsgmBypassAELmenu:
!*xsgmBypassDAMmenu:
!*xsgmBypassEXGmenu:
!*xsgmBypassFGBmenu:
!*xsgmBypassIMGmenu:
!*xsgmBypassMOPmenu:
!*xsgmBypassPTGmenu:
!*xsgmBypassSFMmenu:
!*xsgmBypassSHCmenu:
!*xsgmBypassSHDmenu:
!*xsgmBypassSUMmenu:
!*xsgmBypassSTATmenu:
!*xsgmBypassGTMmenu:
!*xsgmBypassWMmenu:
!
!
SITE specific X
!

R2003.12

Introduction to Stratamodel

Menus resources:
False
False
False
False
False
False
False
False
False
False
False
False
False
False
resources

Appendix D. XSgm Resource Files

132

Landmark

Introduction to Stratamodel

Appendix E.
NIS (Network Information Services)
Using the Proper Server Host Name
If you use NIS (Network Information Services), formerly known as
YellowPages, the password and group files are kept on network. Special
care must be taken to use a valid FLEXlm server host name. FLEXlm is
the software that protects Stratamodel licenses. Each client chooses a
licence server before installing Stratamodel.
You should not have to worry about whether you use NIS unless the
FLEXlm server does not reside in the local /etc/hosts file.
For example, if you try to run StrataSim, the following message may
appear:
*****************************************************
Welcome to StrataSim.
Could not find license manager SERVER hostname.
One of the Hostname fields on the "Server" line(s) is
invalid.
Check the license file for spelling errors or make
sure the Hostname appears in the "/etc/hosts" file on
this CPU.

License file is:"/usr/xsgm/system/license.dat"
Press RETURN to continue

R2003.12

Appendix E. NIS (Network Information Services)

133

Landmark

Introduction to Stratamodel

Verifying NIS
A way to tell if NIS is being used on your machine is to verify that the
process ypbind is running.
To do this, at the prompt enter
%ps -ef|grep ypbind

If the process is running, the system returns a line similar to the
following example
root 142 1 0 Sep 11 ?

0:03 /usr/etc/ypbind -ypsetme

with some switches, such as -upsetme, following.

R2003.12

Appendix E. NIS (Network Information Services)

134

Landmark

Introduction to Stratamodel

Resolving NIS Issues
If you have problems with NIS, take the following steps:

Find the SERVER line in the license file (license.dat) in your
Stratamodel system directory. It looks something like the
following:
SERVER indigo 69069504 1700

Find the corresponding line in NIS hosts map that matches the
server host name by using the /usr/bin/ypcat hosts command. For
example
% usr/bin/ypcat hosts | grep indigo

Example output from that command might be
134.132.21.80 indigo

R2003.12

Extract the host entry from NIS and add it to the local machine’s
/etc/hosts file.

Appendix E. NIS (Network Information Services)

135

Landmark

Introduction to Stratamodel

Appendix F.
Window Management Configuration Files
Depending on the window manager you use, Landmark recommends
certain settings that control mouse focus and window placement.
Window
Manager
Motif

File Name

Resource

Purpose

app-defaults or
.Xdefaults

KeyboardFocusPolicy:pointer

Makes window active when mouse is
placed on it

interactivePlacement:False

Places windows automatically instead
of giving you an outline to place

OpenWindows.SetInput:followmouse

Makes window active when mouse is
placed on it

Openwindows .OWdefaults

To set the resources, you can enter a line as follows from the xterm:
Mwm*KeyboardFocusPolicy:pointer

R2003.12

Appendix F. Window Management Configuration Files

136

Landmark

Introduction to Stratamodel

Index
Introduction to Stratamodel
A
Append new Item to end of List icon 34
attribute model
converting from old version 103-104
displaying information about 73-74
extracting data to GLK file 108-110
listing header values 105-106
attributes
assigning field in Attribute Model 39
copying 40
creating new 39
deleting 41
extracting to GLK file 108-110
information about model 72-74
list 70
managing 38-41
rearranging fields 40-41
renaming 39
selecting 39
B
Batch Mode 77-82
conditions for running 77
Create/Edit Batch Control File 78
entering commands 79
Execute Batch Control File 80-81
List/Delete Batch Jobs 82
menu choices 77
purpose 77
setting time to execute 80

R2003.12

buttons
check box 14
Maximize 16
Minimize 16
Move 17
Print 47
radio 13
Set Limits 42
Bypass Menu Mode option 43
C
Change selected Item icon 34
changing
default resources 130
project version 23
commands
Commands List dialog box 28
executing in batch mode 77-82
for Batch Mode 79
configuring window management 136
control files 29-30
choosing existing 30
creating empty 30
creating new from existing 30
conventions
file naming 113-116
in guides 5
converting
older .csd files 103
copying
project files to another area 86

Index

137

Landmark

Create Fortran Format 49-53
Fortran Format 52
Number of Values per Line 51
Recalculate default Format 50
Show entire file contents 50
creating
Create empty Control File icon 30
Fortran format statement 49-53
lists 31-34
new control file 30
project versions 23
cross sections
closing polygons 124
digitizing points 124
ending lines 124
picking points 124
selecting more than one point 124
csd files
upgrading older .csd files 103
culture data
creating from pick.log file 95-96
loading from Z-MAP Plus 7
D
data
displaying with OpenVision 7
exchanging w/other Landmark products 6-7
exchanging with OpenWorks 6
extracting to GLK file 108-110
loading from Z-MAP Plus 7
loading seismic data into Attribute Model 7
preparing for use in Stratamodel 55-66
preparing for use with AEL 62-65
data sources
creating a prioritized list of 107-108
databases
identifying data sources/interpreters 107
defaults
changing resources 130
Interpreter/Source Priority list 107

R2003.12

Introduction to Stratamodel

deleting
Delete All Items icon 34
Delete selected Item icon 34
history files 69
List/Delete Batch Jobs dialog 82
ongoing process 45
project versions 23
Remove a File option 45
dialog boxes
Commands List 28
Interpreter/Source Priority 107
Notifier 14
Set Interpreter/Source Priority 107-108
E
environment variables 117-121
examples
of straight well converted to SM1 format 88
exiting
Stratamodel 54
extensions
for SGM files 113-116
F
files
configuring window management 136
locating 35-36
naming 113-116
printing 47-48
removing from project directory 45
viewing contents 76
finding
files 35-36
FLEXlm information 102

Index

138

Landmark

formats
for well data 57-60
for well tops data 61
Fortran statements 49-53
PW1 65
PW2 65
PW3 65
SM1 57-60
SM1: converting straight wells to 87-88
SM2 62
SM3 62-64
SM3: converting for Stratamodel 1998 110
SM4 65
Fortran format statements 49-53
G
GLK files
reading data in 98-100
Global menu
Batch Mode 77-82
Bypass Menu Mode 43
Icon Interface 25-27
List of Commands 28
Password Lock XSGM 54
Return to Main Menu 54
Utility Programs 83-112
graphics files
reading/displaying 100
GRF files
reading/displaying 100
grids
exchanging with OpenWorks 6
preparing for import 55-56
preparing to convert polygons to 66
guides
other sources of information 4

R2003.12

Introduction to Stratamodel

H
Help 4
history files 68-69
deleting 69
History of Commands Used list 28
I
Icon Interface toolbox 25-27
icons 11
Append new Item to end of List 34
Change selected Item 34
Create empty Control File 30
Delete all History files in current directory
69
Delete all History files in current Project
Version 69
Delete selected Item 34
Delete the Selected History File 69
Insert new Item before selected Item 34
using to start Stratamodel modules 25-27
images directory 128
importing
preparing grids for import 55-56
information
about models 71-74
viewing 67-76
Insert new Item before selected Item icon 34
Interpreter/Source Priority dialog box 107
basic instructions 108
interpreters
creating prioritized list of 107-108

Index

139

Landmark

Introduction to Stratamodel

K

N

keys
special 122-123

NIS 133-135
Notifier dialog box 14

L

O

Landmark products
exchanging data with 6-7
limits
extracted attribute data (GLK file) 109
on extent of model 42-43
line of section
extracting from a graphics display file 101
lists
appending new item 34
changing item 34
Commands List dialog box 28
creating 31-34
creating prioritized lists 107
deleting selected/all items 34
inserting new item 34
List of Attribute Model(s) menu 75
List of Grid File(s) option 75
List of Stratigraphic Framework Model(s)
option 75
List of Well Model(s) option 75

opening
Open Editor option 44
Open xterm option 44
OpenVision
displaying Stratamodel data 7
Openwindows window manager 136
OpenWorks
exchanging data with 6
output point types for Utility Programs 85

M
managing window configuration files 136
Maximize button 16
menu bars 9-11
messages 14
Minimize button 16
models
viewing information about 71-74
Motif window management 136
mouse buttons 124-125
in Build Cross Section 124
in Scaled Hardcopy 125
in Show Displays 125
selecting items with 5
Move button 17

R2003.12

P
passwords
locking Stratamodel 54
Passwork Lock XSGM option 54
pick.log files
converting to culture data 95-96
points
importing from OpenWorks (Points & Grids)
6
importing from OpenWorks (Pointset
Builder) 6
polygons
preparing for conversion to grid 66
Print button 47
printing
files 47-48
Process ID’s to Kill option 45
processes
deleting 45
project control files 29-30
project directories
deleting history files 69
project files
copying to another area 86

Index

140

Landmark

Project menu 67-75
also see by option name
Attribute Model Info 73-74
Display Project History Files 68-69
List of Attribute Model(s) option 75
List of Grid File(s) 75
List of Stratigraphic Framework Model(s)
75
List of Well Model(s) 75
Project Version Files 75
Set Project Values 21
Show Project Files 75
Stratigraphic Framework Info 71
Well & Attribute Descriptions 70
Well Model Info 72
project versions
Project Version Files option 75
working in multiple 29-30
projects
changing version 23
creating versions of 23
deleting versions 23
removing files from 45
setting directory for 22
setting/changing name for 22
specifying a user name for 21
specifying information for 21-23
PW1 format 65
PW2 format 65
PW3 format 65

R2003.12

Introduction to Stratamodel

R
radio buttons 13
Remove a File option 45
resource files 126-132
command line arguments 127
images 128
stratamapAppl 128
syntax 127
XSgm 128
XSgm.all 128
XSgm.COLOR 129
XSgm.GEOM 129
XSgm.SITE 130-132
Return to Main Menu option 54
S
scroll bars 12
seismic data
loading into the Attribute Model 7
sequences
using well top data 61
Set Limits button 42
Set Project Values option 21-23
Enter User Name 21
Set Project Directory 22
Set Project Name 22
Set Project Version 23
Show File Contents option 76
Show Project Files option 75
SM1 format 57-60
converting wells to 87-88
SM2 format 62
SM3 format 62-64
converting for Stratamodel 1998.0 110
SM4 format 65

Index

141

Landmark

sources
creating a prioritized list 108
stratamapAppl resource file 128
Stratamodel
Commands List dialog box 28
exiting 54
menus 24
preparing data 55-66
purpose 1
starting 20
starting Icon Interface toolbox 25-27
starting modules 24-29
using History of Commands list 28
work flow 8
Stratigraphic Framework Info option 71

Introduction to Stratamodel

Utility Programs continued
output point types 85
PickLogToCulture 95-96
read_glk 98-100
SM3 convert to Stratamodel 1998.0 110
SOURCES 107-108
StraightToDeviated 87-88
WM_wellnames 93-94
WMreport WMreport utility 89-92
V
variables: environment 117-121
viewing
contents of files 76
information 67-76

T
text editor
opening 44
title bar
using to move window 17
tops data format 61
U
user names
specifying for projects 21
Utilities menu
Open Editor 44
Open xterm 44
Process ID’s to Kill 45
Remove a File 45
Show File Contents 76
Utility Programs 83-112
adding your own to list 112
AM_1998convert 103-104
AM_extract_glk 108-110
AM_reader 105-106
AM_wellnames 94-95
convert_csd 103
copy_proj 86
extract_path 101
grf_read 100
lmhelp 102
R2003.12

W
well models
report about 89-92
wells
attribute information 60
converting vertical to SM1 format 87-88
data formats 57-60
data headers 58
data: preparing 57-60
descriptions of 70
listing names in all well models 94-95
listing names in well model 93-94
preparing tops data 61
report about 89-92
well ID 58
windows 9-18
activating 18
lowering 18
managing configuration files 136
moving 17
moving with title bar 17
opening a terminal window 44
raising 18
resizing 15-16

Index

142

Landmark

Introduction to Stratamodel

work flow
for creating lists 33
for Stratamodel 8
X
XSgm resource file 128
XSgm.all resource file 128
XSgm.COLOR resource file 129
XSgm.GEOM resource file 129
XSgm.SITE resource file 130, 132
xterm
opening 44
Z
zooming
in Build Cross Section Display 124

R2003.12

Index

143