Beruflich Dokumente
Kultur Dokumente
Reference
Manual for
Trademark Notice
3D Drill View, 3D Drill View KM, 3Dview, Active Field Surveillance, Active Reservoir Surveillance, ADC,
ARIES, Asset Development Center, Asset Development Centre, Automate, BLITZ, BLITZPAK, CasingSeat,
CDDM, COMPASS, Contouring Assistant, Corporate Data Archiver, Corporate Data Store, DataStar, DBPlot,
Decision Suite, Decisionarium, DecisionDesktop, DecisionSpace, DecisionSpace AssetPlanner, DecisionSpace
Atomic Meshing, DecisionSpace PowerModel, DecisionSpace PrecisionTarget, DecisionSpace TrackPlanner,
DecisionSpace Well Seismic Fusion, DepthTeam, DepthTeam Explorer, DepthTeam Express, DepthTeam Extreme,
DepthTeam Interpreter, DESKTOP-PVT, DESKTOP-VIP, DEX, DFW, DIMS, Discovery, Drillability Suite,
DrillModel, DrillVision, DSS, Dynamic Reservoir Management, Dynamic Surveillance System, EarthCube,
EdgeCa$h, eLandmark, Engineer's Desktop, EOS-PAK, EPM, Executive Assistant, FastTrack, FZAP!,
GeoDataLoad, GeoGraphix (stylized), GeoGraphix Exploration System, GeoLink, GES, GESXplorer, GMAplus,
GRIDGENR, Handheld Field Operator, I2 Enterprise, iDIMS, IsoMap, Landmark, Landmark and Design,
Landmark logo and Design, LandScape, Lattix, LeaseMap, LMK Resources, LogEdit, LogM, LogPrep,
Make Great Decisions, MathPack, MIRA, Model Builder, MultiWell, MyLandmark, MyWorkspace, OpenBooks,
OpenExplorer, OpenJournal, OpenOrigin, OpenSGM, OpenVision, OpenWells, OpenWire, OpenWorks,
OpenWorks Well File, PAL, Parallel-VIP, PetroBank, PetroWorks, PlotView, Point Gridding Plus,
Pointing Dispatcher, PostStack, PostStack ESP, PowerView, PRIZM, PROFILE, ProMAGIC, ProMAX,
ProMAX 2D, ProMAX 3D, ProMAX 3DPSDM, ProMAX MVA, ProMAX VSP, pSTAx, QUICKDIF,
QUIKCDP, QUIKDIG, QUIKRAY, QUIKSHOT, QUIKVSP, RAVE, RAYMAP, Real Freedom,
Real-Time Asset Management Center, Real-Time Asset Management Centre, Real Time Knowledge Company,
Reservoir Framework Builder, RESev, ResMap, RMS, SafeStart, SCAN, SeisCube, SeisMap, SeisModel, SeisSpace,
SeisVision, SeisWell, SeisWorks, SeisWorks MultiView, SeisWorks PowerSection, SeisXchange, Sierra,
Sierra (design), SigmaView, SimResults, SIVA, SpecDecomp, StrataMap, StrataModel, StrataAmp, StrataSim,
StratWorks, StressCheck, STRUCT, Surf & Connect, SynTool, SystemStart, SystemStart for Clients,
System Start for Servers, SystemStart for Storage, T2B, TDQ, Team Workspace, TeamView, TERAS,
Total Drilling Performance, TOW/cs The Oilfield Workstation, 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, Wellbase, Wellbore Planner, WELLCAT, WELLPLAN,
WellXchange, WOW, Xsection, Xsource, You're in Control. Experience the difference, ZAP!, and Z-MAP Plus
are trademarks, registered trademarks or service marks of Landmark Graphics Corporation.
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 Macro Reference Manual for Z-MAP Plus / ZCL
Contents
Macro Reference Manual
for Z-MAP Plus / ZCL
Introduction.................................................................................................. 1
Overview............................................................................................................ 1
Uses of Macros............................................................................................ 1
Types of Macros .......................................................................................... 1
Introduction....................................................................................................... 5
ANTILOG-TEN-GRID......................................................................................... 26
APPEND-XY....................................................................................................... 28
AREA-DEPTH .................................................................................................... 32
BUBBLE-POSTING ........................................................................................... 40
CHANGE-MFD-NAME ....................................................................................... 49
CLEAN ............................................................................................................... 50
COLOR-BAR...................................................................................................... 51
COLOR-CONTOURS ......................................................................................... 60
CONTOUR-WINDOW......................................................................................... 72
R2003.12.0 Contents iv
Landmark Macro Reference Manual for Z-MAP Plus / ZCL
CONVERT-DMS-DEG ........................................................................................ 78
DATA-BLANK..................................................................................................... 82
DATA-ENUMERATION....................................................................................... 85
DATA-HISTORY ................................................................................................. 88
DATA-PROFILES ............................................................................................... 90
DATA-SUMMARY............................................................................................... 97
DEBUG-SIL-TOGGLE........................................................................................ 99
EVALUATE-POLYN............................................................................................ 157
EXPORT-CPS-FILE............................................................................................ 167
R2003.12.0 Contents v
Landmark Macro Reference Manual for Z-MAP Plus / ZCL
EXPORT-ZGF-FILE............................................................................................ 169
FAULT-BALANCER............................................................................................ 182
FAULT-MIGRATION............................................................................................ 202
FIELD-LISTING.................................................................................................. 223
GEOSORT.......................................................................................................... 239
IMPORT-GRID.................................................................................................... 268
IMPORT-ZGF-FILE............................................................................................. 273
R2003.12.0 Contents vi
Landmark Macro Reference Manual for Z-MAP Plus / ZCL
LIST-CPS-FILE................................................................................................... 312
PATCH-GRID...................................................................................................... 343
PICT-AND-PST-DLS........................................................................................... 358
PICT-AND-PST-NTS........................................................................................... 366
POST-DLS.......................................................................................................... 399
POST-LINE......................................................................................................... 403
POST-NTS.......................................................................................................... 407
POST-PIC-STATS............................................................................................... 441
QUIKVOL-FORTYPOL....................................................................................... 508
RMLOCK............................................................................................................ 519
SHADE-POLYGONS.......................................................................................... 520
Summary...................................................................................................... 540
Production Geology .............................................................................. 540
Basin Studies ......................................................................................... 541
Stratigraphic/Reservoir Framework Building...................................... 541
Understanding the SURFCORRECT Macro ......................................... 543
Method of Macro Application (MMETHOD) .................................... 543
Quality Control Data File (OPRSDAT) ............................................. 545
SURFACE-INTRSECT ....................................................................................... 557
SURFACEPIC..................................................................................................... 566
TRANSFORM-COORDS.................................................................................... 585
TREND-ANAL-GRID.......................................................................................... 589
R2003.12.0 Contents ix
Landmark Macro Reference Manual for Z-MAP Plus / ZCL
VERT-TO-DGRID................................................................................................ 612
ZGF-SUMMARY................................................................................................. 615
Overview............................................................................................................ 617
Overview............................................................................................................ 623
R2003.12.0 Contents x
Landmark Macro Reference Manual for Z-MAP Plus / ZCL
Overview............................................................................................................ 649
R2003.12.0 Contents xi
Landmark Macro Reference Manual for Z-MAP Plus / ZCL
Prompts........................................................................................................ 663
Parameter Prompt Records .................................................................. 664
New Dialog Box Control ........................................................................ 664
ZCL Commands........................................................................................... 666
Introduction
Overview
A macro is a set of Z-MAP Command Language (ZCL) process
commands that have been packaged together and are called and
executed as a group, either by Z-MAP Plus or by another ZCL
command stream. The 2003.3.0 release of Z-MAP Plus includes over
70 macros supplied by Landmark. However, you can also write your
own macros and then store them for your use or for use by others.
Uses of Macros
In general, macros are used to can procedures. For the novice user,
this can make a difficult procedure easier to execute. Canning
procedures is also an excellent way of documenting and storing a
complex workflow that may need to be duplicated in the future.
Because macros have access to all functionality within ZCL, you can
use them to gain access to ZCL functions that are not yet available in
the Z-MAP Plus interface.
Types of Macros
Macros executed from Z-MAP Plus are called Z-MAP Plus macros,
and macros executed from a ZCL Command Stream are called ZCL
macros. The structure of these two types of macros is slightly different,
and is covered in Macro Structure starting on page 649. You can run
Z-MAP Plus macros as ZCL macros, but you cannot run ZCL macros
from Z-MAP Plus. Z-MAP Plus macros are also classified as either
user-supplied or Landmark-supplied.
R2003.12.0 Overview 1
Landmark Macro Reference Manual for Z-MAP Plus / ZCL
Typographic Conventions
To make the information in this guide as accessible as possible, the
following conventions are observed throughout:
Examples of macro records and screen displays are in a
typewriter-style font, such as:
NCONTOUR, INTEGER , 1, , 0, 256 /
A portion of an example that is to be replaced by a user value is
presented in italic typewriter-style font, such as:
MACRO NAME = DESIRED-MACRO-NAME
The names of menu and button selections appear in bold type. The
path to a Z-MAP Plus process is shown with the menu selections
connected by arrows, such as:
Select Files Directory Paths in the Z-MAP Plus window.
Default field names (as described in Appendix B. File and Field
Codes *) appear in all capital letters. In text, they are sometimes
appear with initial capitals for easier reading. X (Easting) and Y
(Northing) are often represented with X and Y.
Notes contain information to assist you in understanding an
application.
Related Documentation
The following guides are available from your system administrator or
Landmark representative.
ZCL Operators Manual (Volumes 1 and 2) present the Z-MAP
Command Language and shows you how to start the program and
use process statements to write a command stream for generating a
variety of maps. The ZCL Operators Manual covers all
parameters for ZCL processes.
Z-MAP Plus Reference Manual provides easy access to reference
information about Z-MAP Plus procedures and features. Overview
workflows, tables, and selected screen captures supplement the
text to help you understand how to use each task.
Each of these guides contains appendixes with information you may
find useful for structuring macros.
Macro Descriptions
Introduction
R2003.12.0 Introduction 5
Landmark Macro Reference Manual for Z-MAP Plus / ZCL
ANTILOG-TEN-DATA Computes the antilogarithm to base ten for the values in the 23
input field.
ANTILOG-TEN-GRID Computes the antilogarithm (base ten) for the value of each 26
grid node.
APPEND-XY Attaches x and y values to a seismic file. 28
AREA-DEPTH Checks the results of the volumetrics task as compared to 32
volumetric results arrived at by hand.
BUBBLE-POSTING Posts symbols on a map, with symbol size being determined 40
by the z field value.
CHANGE-MFD-NAME Changes the internal name on an MFD. 49
CLEAN Used only for performing product demonstrations. 50
COLOR-BAR Posts a color bar on your map. 51
COLOR-CONTOURS Places color-filled contours and color bar on map. 60
CONTOUR-WINDOW Generates a contour map of a windowed area of the dataset. 72
CONVERT-DMS-DEG Converts degrees, minutes, and seconds lat/long to decimal 78
degrees lat/long or vice versa.
DATA-BLANK Blanks a data field on the selected data file inside all 82
polygons. It is designed as a work-around for
Operations Data Operations Blank Data, which
only blanks using the first polygon on the vertex file.
DATA- Builds a Segment ID field from an input dataset. 85
ENUMERATION
FIELD-LISTING Lists the field descriptors for the selected dataset. 223
FILL-BORDER Fills the selected area of the map with a user-defined color. 225
FISHNET-PLOT Generates an isometric plot. 227
GEOSORT Geographically sorts fragmented line data back. 239
GRIDANDMAPX Grids a z field on a data file and contours the resultant grid. 242
Adds a border, border labels, and posts well points.
GRID-LT-EQ-GT Creates a Boolean grid. 246
GRID-TO-SEISMIC Converts the rows and columns of a grid to seismic lines 249
and concatenates them into one seismic file.
HAND-CONTOUR Performs linear interpolation along lines and outputs 252
interpolated values to a file.
IMPORT-CPS-FILE Imports a CPS SAVE file into an MFD. 257
IMPORT-GRID Uses formats you create to import a grid dataset from an 268
external diskfile.
IMPORT-ZGF-FILE Converts a flat Z-MAP Graphics File (ZGF) into a ZGF 273
usable in Z-MAP Plus.
INTERPOLATION Interpolates along a seismic line, repopulating the line at the 275
indicated shotpoint limit.
LABL-FOUR-CRNS Labels each of the four corners of a map with either 277
latitude/longitude or northing/easting labels.
LEASE-DRAWING Posts and annotates lease polygons. 281
LINE-GRID-PLUS Extends the functionality of Line Gridding. 295
LIST-CPS-FILE Lists the contents of a CPS SAVE file. 312
MAKEMAPGENERAL Not a standalone macro. It is used by the ENVELOPE and 313
SURFCORRECT macros.
NADCONCV Translates NAD 27 latitude and longitude values to NAD 83 314
latitude and longitude values. The translation is available in
both directions.
NEW-CONTOUR Contours opaque faults, profile faults, colorfills and posts 318
color bar.
POST-STAR Posts star symbols on the current picture for data distributed 445
at control points.
PROFILE- Contours grids that have abrupt changes in surface slope 468
CONTOURS along well-defined profile lines.
QUALITY Performs quality assurance on a grid and a dataset. 496
QUICKVOL-TWOPOLS Provides a quick estimate of the volume between the 504
surface represented by the input grid and a flat surface with
a constant z value. User can specify a maximum of two
input polygons.
QUIKVOL- Provides a quick estimate of the volume between the 508
FORTYPOL surface represented by the input grid and a flat surface with
a constant z value. User can specify a maximum of 40 input
polygons.
REDUCE-POSTING Reduces posting of a text field in an area based on a keyfield 512
such as operator name.
RESAMP-W-AOIGRID Resamples a grid using a control grid as a source of output 516
grid parameters.
RMLOCK Used only for performing product demonstrations. 519
SHADE-POLYGONS Fills a set of polygons with hachured lines. 520
SPAWN-PROCESS Spawns a process to allow another program to run within 524
Z-MAP Plus.
SPECIFY-CONTOURS Enables the user to specify special contour levels as input 526
(such as the OWC or GOC), which do not fall in even
increment levels.
START Used only for performing product demonstrations. 533
STRATATHICKNESS Computes stratigraphic thickness for an interval defined by 534
top and base grids.
SURFACEPIC Contours up to three surfaces and posts the Z-Fields around 566
the control points
SURFCORRECT Provides a way of correcting a surface or of conformably 539
merging a surface with a set of new well picks
SURFACE-INTRSECT Determines whether two input grids intersect; if they do, it 557
produces the curve of their intersection as a fault file.
THREED-T-TO-D Converts a time grid to a velocity grid using a special 575
three-dimensional time slice grid in the conversion
process.
TIME-SLICE Builds the pseudo three-dimensional velocity grid needed 580
for the Time-to-Depth conversion method that is provided
in the THREED-T-TO-D macro
TRANSFORM-COORDS Performs coordinate transformations (map projections). 585
TREND-ANAL-GRID Creates a trend grid and a residual grid. 589
USER-FILTER Uses various methods to define a grid filter and filter 600
operator.
VEL-FUN-T-TO-D Executes Velocity-Function-Time-to-Depth Conversion. 604
VERT-TO-DGRID Records the shortest distance from each grid node to any 612
point along any line segment in a user-specified input vertex
file of the form (x,y,seg id).
ZGF-SUMMARY Generates a report for each picture in your graphics file 615
(ZGF).
Macros Menu
The Macros menu contains the User Macros option and submenus for
the following macro groups:
User Macros Displays a dialog box for creating custom
macros.
Quick-look Displays a submenu of macros that enable you to
see your work quickly.
Graphics Displays a submenu of macros that alter the
appearance of your work.
Operations Displays a submenu of macros that manipulate file
information.
Geophysics Displays a submenu of macros for handling
seismic and geographical data.
Utilities Displays a submenu of macros for handling lines and
files.
Faults Macros
To display the dialog boxes for fault handling macros, select the
Operations Faults menu options.
GRIDANDMAPX
FASTMAPFROMGRID
FAULT-CONTOURS
AREA-DEPTH
BUBBLE-POSTING
COLOR-CONTOURS
SPECIFY-CONTOURS
FILL-BORDER
DATA-PROFILES
DIP-PLOT-DATA
DIP-PLOT-GRID
LABL-FOUR-CRNS
PROFILE-CONTOURS
SURFACEPIC
POST-LINE
POST-STAR
REDUCE-POSTING
CONTOUR-WINDOW
CONVERT-DMS-DEG
DATA-BLANK
PATCH-GRID
QUALITY
RESAMP-W-AOIGRID
STRATATHICKNESS
SURFACE-INTRSECT
PENETRATE-ONEGRD
PENETRATE-GRIDS
GEOSORT
GRID-TO-SEISMIC
INTERPOLATION
VEL-FUN-T-TO-D
TIME-SLICE
THREED-T-TO-D
POLYGON-CLOSE
CHANGE-MFD-NAME
DATA-HISTORY
FIELD-LISTING
DATA-SUMMARY
VERT-TO-DGRID
PICTURE-STATS
DATA-ENUMERATION
Macro Descriptions
Macros are presented in alphabetical order.
Macro Name
The macro name identifies the procedure(s) to be executed. A macro
name is a string of up to 16 characters and may contain no blanks,
numbers, or underbars.
All Z-MAP Plus macros are identified by the .ZCLMAC extension.
Menu Option
Many Z-MAP Plus menu options call macros to accomplish their tasks.
This field in the description of the macro identifies the menu option
associated with the macro, if any.
Purpose
The purpose provides a description of what the macro does.
Description
The description includes additional information about the macro, such
as a list of the parameters that you are asked to specify. In some cases,
this description is extensive.
Results
This section summarizes the expected output. Where appropriate,
examples of graphic or data output are provided.
Technical Notes
Technical notes explain theory and use of four of the more complex
macros LEASE-DRAWING, STRATATHICKNESS,
THREED-T-D, and TREND-ANAL-GRID.
Required Parameter
Prompt
Range of acceptable
Input Member File types
Range of acceptable
Input Field types
ETEXT Options
Description
This item describes the purpose of the parameter.
Macro Parameter
This is the actual parameter name used to specify an input value for the
parameter when writing the ZCL macro process call. For example:
FAULTIN = Triangle Faults
Data Type
The Data Type is one of three types: C*N, R, or I.
C*N indicates the response is a text string up to N characters in length.
For example, C*8 stands for character text of a maximum length of 8
characters. Note that embedded blanks are counted as characters.
Z-MAP Plus users enter values in fields or select from popup
menus.
ZCL users enter values in single quotes; see Parameter value in the
ZCL Operators Manual. When options are listed, the text string
response must come from the list; see Options for ETEXT Type
Parameter," above.
R indicates that the value must be a real numberfor example, a
number with a decimal point such as 1.0, 2.27325, 21252.52, or 1.0E7.
I indicates that the value must be an integer number, such as 1, 2002, or
25.
ZCL users must not use a decimal point to specify an integer
value, or ZCL responds with an error message.
If the user specifies a real number as input (instead of an integer),
Z-MAP Plus ignores the decimal value.
Range
Range identifies supported values for the parameter. A value outside
the range causes an error. Ranges are given for input files, input fields,
MFDs, and some real and integer parameters.
Input Fields
The range for input fields corresponds to the acceptable Field Type(s) ,
such as X (EASTING), Z VALUE, and vertical separation.
Z-MAP Plus users select from a list of all fields of the correct
type(s) in the input file.
ZCL users must enter the sequential number of the field.
Master Files
The range for MFDs is always 0 through 5, since 5 is the maximum
number of MFDs and scratch files that can be attached at the same
time.
Z-MAP Plus users do not have to specify input MFDs. The input
MFDs are the currently attached MFDs. Output MFDs are
specified by selection from a popup menu.
ZCL users must enter the sequential number of the desired MFD,
as described in the ZCL Operators Manual.
Default Value
The default value is used when the macro user does not specify a macro
parameter value. If no value is specified by the user and the macro
parameter default given is ZCL Default, then the ZCL parameter default
is used if one exists.
The ZCL default output file name is based on the input file name or is
based on a field name.
Be careful about using default values. Default values are not always
optimal for your application. The documentation in the guide should
help you to choose optimal parameter values.
Additional Information
For more information on the parts of a macro, see Macro Structure
starting on page 649. Appendixes in Z-MAP Plus and ZCL guides
provide additional information about and examples of:
Graphics Feature (Segment Type) Codes
Data File Type Codes
Data Field Type Codes
Well Symbols
Font Types
Line Patterns
State Plane Projection Codes
Color Representation Section and Color Index Section of the
Default Color Table
Reference Spheroids
ANTILOG-TEN-DATA
Purpose This macro computes the antilogarithm to base ten (also called the
common logarithm) of the numbers in the input field. This is the inverse
operation for the single data operation LOG10.
R2003.12.0 ANTILOG-TEN-DATA 23
Landmark Macro Reference Manual for Z-MAP Plus / ZCL
ANTILOG-TEN-DATA: Parameters
o
MFD for the Input File
Description The MFD for the input data file.
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Searches all attached MFDs
ANTILOG-TEN-DATA: Parameters
ZCL PROCESSES
DATA BLOCK
FILE STATISTICS
BRANCH
DATA BLOCK UTILITY
SINGLE DATA OPS
DELETE FILE
ANTILOG-TEN-GRID
R2003.12.0 ANTILOG-TEN-GRID 26
Landmark Macro Reference Manual for Z-MAP Plus / ZCL
ANTILOG-TEN-GRID: Parameters
o
MFD of Output GRID File
Description The MFD for the output grid file.
Macro Parameter MFDOUT
Data Type I
Range 0 through 5
Default Value 1 first attached MFD
ZCL PROCESSES
SINGLE GRID OPS
DELETE FILE
APPEND-XY
Description If the process must interpolate or extrapolate to get the correct location
values, you can specify:
a maximum distance between points for interpolation
an interpolation value
an extrapolation value
The seismic time file must be of type DATA, and it must contain Line
Name and Shotpoint Number fields. Sort the file first by Line Name
and then by Shotpoint Number. * 3D seismic data files (containing 3D
Line Name and 3D Shotpoint Numbers do not work with this macro.
The coordinate reference file must be of type DATA, and it must
contain line name, shotpoint number, and x and y coordinate fields. Sort
the file first by Line Name and then by Shotpoint Number.1
Results The correct interpolated x and y values appended to a seismic time file.
1. Z-MAP Plus users select Operations Data Operations Sort Data. ZCL users call SORT process.
R2003.12.0 APPEND-XY 28
Landmark Macro Reference Manual for Z-MAP Plus / ZCL
APPEND-XY: Parameters
o
MFD for the Input File
Description The MFD for the input data file.
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Searches all attached MFDs
APPEND-XY: Parameters
APPEND-XY: Parameters
ZCL PROCESSES
SEIS APPEND XY
AREA-DEPTH
Purpose The AREA-DEPTH macro checks the results of the volumetrics task as
compared to volumetrics results achieved by hand. This macro runs
volumes by slice increment on a surface and converts the output to a
line suitable for plotting on an area versus depth plot.
Description The input depth grid is scaled to a negative value, and then biased by a
value that you provide. The volume of the grid covered by the polygon
area is then calculated using the following values that you supply:
volume and area scaling factors
slice limit
increment
The resulting file is converted to a vertex file and used to produce a
picture plotting the area versus depth.
You are asked to input:
the GRID file on which volumetrics is calculated (TVDSS)
an optional fault (FALT) file
the polygon vertex (VERT) file defining the area for the
volumetrics calculation
bias to move grid up or down
volume and area scaling factors (optional)
slice limit for end of volumes and slice increment
R2003.12.0 AREA-DEPTH 32
Landmark Macro Reference Manual for Z-MAP Plus / ZCL
AREA-DEPTH: Results
Results A picture that plots the area versus depth, as shown in the following
example.
This isochore grid is based on true triple point geometry from fault
plane models. The area bounded by the box is processed to generate the
area depth curve.
AREA-DEPTH.PICMAC Plot
AREA-DEPTH: Parameters
o
MFD for the Surface Grid File
Description The MFD for the input grid.
Macro Parameter MFDGRID
Data Type I
Range 0 through 5
Default Search all attached MFDs
AREA-DEPTH: Parameters
o
Master File for the Fault File
Description The MFD for the input fault file.
Macro Parameter MFDFAULT
Data Type I
Range 0 through 5
Default Searches all attached MFDs
AREA-DEPTH: Parameters
Slice Increment
Description Slice thickness. Volumes are generated for slices of thickness from
the baseplane upwards to the cutoff.
Macro Parameter SLINC
Data Type R
Default Value 10.0
AREA-DEPTH: Parameters
AREA-DEPTH: Parameters
AREA-DEPTH: Parameters
ZCL PROCESSES
SINGLE GRID OPS VOLUMETRICS
DELETE FILE FILE UTILITY
SINGLE DATA OPS BRANCH
FILE CONVERSION POST LINES
DATA BLOCK DATA STATISTICS
DATA BLOCK UTILITY PICTURE
BORDER LABEL N/E
TEXT
BUBBLE-POSTING
R2003.12.0 BUBBLE-POSTING 40
Landmark Macro Reference Manual for Z-MAP Plus / ZCL
BUBBLE-POSTING: Parameters
o
MFD for the Input Data
Description The MFD that contains the input file.
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Searches all attached MFDs
BUBBLE-POSTING: Parameters
Data Type I
Default Value ZCL default
BUBBLE-POSTING: Parameters
BUBBLE-POSTING: Parameters
Number of Increments
Description Number of increments for top symbol size.
Macro Parameter LEVELS
Data Type I
Range 1 through 6
Default Value 6
BUBBLE-POSTING: Parameters
BUBBLE-POSTING: Parameters
BUBBLE-POSTING: Parameters
BUBBLE-POSTING: Parameters
ZCL PROCESSES
POST DATA NEW
CHANGE-MFD-NAME
ZCL PROCESSES
RENAME MFD
R2003.12.0 CHANGE-MFD-NAME 49
Landmark Macro Reference Manual for Z-MAP Plus / ZCL
CLEAN
Menu Option
Purpose Run the CLEAN macro if you execute the SURFCORRECT macro or
ENVELOPE macro and experience a mid-stream Abnormal
Termination. The CLEAN macro cleans up the system files and
SCRATCH MFD member files left after the unsuccessful execution
attemptso you have a clean start for the next execution attempt.
Description
Results
R2003.12.0 CLEAN 50
Landmark Macro Reference Manual for Z-MAP Plus / ZCL
COLOR-BAR
Purpose The COLOR-BAR macro draws a color scale relating a series of color
indices to a variation in some quantity. This macro is used primarily for
placing a color scale bar on a map with color-filled contours, but you
can show almost any quantity variation in this way.
Much of the information needed is also used in the CONTOURNEW
process in ZCL.
To use this macro, you must have a graphics file and a picture attached
in Z-MAP Plus. To see the resulting color bar, select View Full
Display in the Z-MAP Plus window.
R2003.12.0 COLOR-BAR 51
Landmark Macro Reference Manual for Z-MAP Plus / ZCL
COLOR-BAR: Parameters
o
MFD for the Input File
Description The MFD that contains the input file.
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Searches all attached MFDs
COLOR-BAR: Parameters
Contour Interval
Description Interval between successive contours.
Macro Parameter CONINT
Data Type R
Default Value ZCL default
COLOR-BAR: Parameters
COLOR-BAR: Parameters
COLOR-BAR: Parameters
COLOR-BAR: Parameters
COLOR-BAR: Parameters
COLOR-BAR: Parameters
ZCL PROCESSES
COLORBAR
COLOR-CONTOURS
R2003.12.0 COLOR-CONTOURS 60
Landmark Macro Reference Manual for Z-MAP Plus / ZCL
COLOR-CONTOURS: Parameters
o
MFD for the Input Grid
Description The MFD that contains the input grid file.
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Searches all attached MFDs
COLOR-CONTOURS: Parameters
Contouring Refinement
Description Specify the smoothness of the contour line. All contours are made
up of a series of connected straight lines. The longer these lines, the
rougher (coarser) the contour looks.
Macro Parameter SMOOTH
Options
COARSEST = Coarsest point spacing along curves. Approximately one grid
interval.
COARSE = Coarse point spacing along curves. Approximately1/2 the grid
interval.
MEDIUM = Medium point spacing along curves. Approximately 1/4 the
grid interval.
FINE = Fine point spacing along curves. Approximately 1/8 the grid
interval.
VERY FINE = Very fine point spacing along curves. Approximately 1/16 the
grid interval.
COLOR-CONTOURS: Parameters
COLOR-CONTOURS: Parameters
COLOR-CONTOURS: Parameters
COLOR-CONTOURS: Parameters
COLOR-CONTOURS: Parameters
COLOR-CONTOURS: Parameters
COLOR-CONTOURS: Parameters
COLOR-CONTOURS: Parameters
Options
YES = Profile lines are drawn on the picture.
NO = Profile lines are not drawn on the picture.
COLOR-CONTOURS: Parameters
Options
YES = Polygon lines are drawn on the picture.
NO = Polygon lines are not drawn on the picture.
ZCL PROCESSES
BRANCH POST DATA NEW
CONTOUR NEW
CONTOUR-WNDOW
R2003.12.0 CONTOUR-WNDOW 72
Landmark Macro Reference Manual for Z-MAP Plus / ZCL
CONTOUR-WNDOW: Parameters
o
MFD for the Input File
Description The MFD that contains the input file.
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Searches all attached MFDs
oMFD
for the Fault File
Description The MFD that contains the input profile file.
Macro Parameter MFDAUX
Data Type I
Default Value 0 scratch MFD
CONTOUR-WNDOW: Parameters
CONTOUR-WNDOW: Parameters
Contour Interval
Description Interval between successive contours.
Macro Parameter CONINT
Data Type R
Default Value ZCL default computed from input data
CONTOUR-WNDOW: Parameters
CONTOUR-WNDOW: Parameters
ZCL PROCESSES
CONTOUR
CONTOUR-DMS-DEG
R2003.12.0 CONTOUR-DMS-DEG 78
Landmark Macro Reference Manual for Z-MAP Plus / ZCL
CONTOUR-DMS-DEG: Parameters
CONTOUR-DMS-DEG: Parameters
o
MFD for the Input File
Description The MFD that contains the input file.
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Searches all attached MFDs
CONTOUR-DMS-DEG: Parameters
ZCL PROCESSES
BRANCH DATA STATISTICS
DELETE FILE DMS TO FROM DEG
IMPORT
DATA-BLANK
Purpose Using one of the z fields on the selected data file, this macro blanks
data in all polygons in the input vertex file. The DATA-BLANK macro
is a workaround for the Blank Data process (Operations Data
Operations Blank Data in Z-MAP Plus) that only blanks data by
using the first polygon in the vertex file.
Using this technique, a flat grid is built of all ones, and the grid is then
blanked. It then back interpolates a new field from that grid, and
multiplies the field to be blanked by the new field. Because of this
approach, you need to provide a grid increment that creates at least a
250 by 250 grid over the area of the data. One more field called
MULTIPLIER is added to the output file.
If you have a lot of data close to the polygon lines, you can control
precision by reducing the grid increment to create a 600 x 600 grid or
more.
Results Data blanking of the selected z field inside all polygons on the input
vertex file.
For example:
X X X O
X X
X X O O
X O
X X X X O X O O
X X X X X X
X = Defined Value
O = Null Data Value
R2003.12.0 DATA-BLANK 82
Landmark Macro Reference Manual for Z-MAP Plus / ZCL
DATA-BLANK: Parameters
o
MFD for the Input Data
Description The MFD that contains the input file.
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Searches all attached MFDs
DATA-BLANK: Parameters
o
MFD for the Vertex File
Description MFD that contains the vertex file.
Macro Parameter MFDVERT
Data Type I
Range 0 through 5
Default Searches all attached MFDs
ZCL PROCESSES
DATA BLOCK BLANK GRID
FILESTATISTICS DATA STATISTICS
DATABLOCL UTILITY EVALUATE
BACK INTERPOLATE DUAL DATA OPS
DELETE FILE
DATA-ENUMERATION
R2003.12.0 DATA-ENUMERATION 85
Landmark Macro Reference Manual for Z-MAP Plus / ZCL
DATA-ENUMERATION: Parameters
o
MFD for the Input File
Description The MFD that contains the input file.
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Searches all attached MFDs
Output File Is
Description Enter the name of the output data file.
Macro Parameter FILEOUT
Data Type C*24
Default Value ZCL default
DATA-ENUMERATION: Parameters
ZCL PROCESSES
DATA ENUMERATION
DATA-HISTORY
Purpose Use the DATA-HISTORY macro to print the history of a selected file to
the monitor.
Description You are asked to select the data or grid file for which the history is
requested.
Results The history of the selected dataset is printed to the screen.
For example:
DATA FILE: ANTICLINE SEISMIC
CREATED: 19 MAY 92
AT: 17:23
R2003.12.0 DATA-HISTORY 88
Landmark Macro Reference Manual for Z-MAP Plus / ZCL
DATA-HISTORY: Parameters
o
MFD for the Input File
Description The MFD the input file.
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Searches all attached MFDs
ZCL PROCESSES
FILE HISTORY
DATA-PROFILES
Purpose Use the DATA-PROFILES macro to generate profiles along all lines of
a dataset that have a line I.D. field (such as a z or Seg I.D. field). The
profiles are of a z field in the file and are for display on a map. The
profiles look similar to a well log trace, where the line is the bore hole
and the profile is the log trace.
In a typical application, you might save the cross-section profile data in
the Cross Section task and post the profiles along the cross-section
baseline to show elevation above and below a datum (the baseline
used). You might do the same thing along a single seismic line to see a
side-on view of the seismic line as digitized for an event along the
geographic location of the line. In another example, you might generate
profiles along centerline fault traces.
The input file contains x, y, z (for the profile), and an I.D. field. The I.D.
field may be of any field type, but consecutive points in the same line
must have the same value in this field.
You can control:
the z value at the baseline
whether z values higher than the baseline value are positioned to
the right or the left of the line
whether the polygons for shade represent the area above (higher)
or below (lower values) the baseline value
a scaling factor to control the distance of the profile from the
baseline
R2003.12.0 DATA-PROFILES 90
Landmark Macro Reference Manual for Z-MAP Plus / ZCL
DATA-PROFILES
R2003.12.0 DATA-PROFILES 91
Landmark Macro Reference Manual for Z-MAP Plus / ZCL
DATA-PROFILES: Parameters
DATA-PROFILES: Parameters
DATA-PROFILES: Parameters
DATA-PROFILES: Parameters
DATA-PROFILES: Parameters
ZCL PROCESSES
DATA BLOCK FILE STATISTICS
BRANCH FILE CONVERSION
FILE UTILITY DATA ENUMERATION
SINGLE DATA OPS DATA STATISTICS
FAULT PROFILING POST DATA NEW
COLOR POLYGONS POST SEISMIC
DELETE FILE
DATA-SUMMARY
Purpose Use the DATA-SUMMARY macro to display a list of all member files
of the type DATA, GRID, FALT, VERT, CNTR, or TEXT in the
attached MFDs. Files are sorted by type. The file list appears on the
monitor.
Results A list of all files on the attached MFDs sorted by type. See the
following example.
R2003.12.0 DATA-SUMMARY 97
Landmark Macro Reference Manual for Z-MAP Plus / ZCL
DATA-SUMMARY: Results
For example:
****** PROCESS SHOWFILES USE 5538 ******
CONTENTS OF DIRECTORY:
CONTENTS OF DIRECTORY:
ZCL PROCESSES
SHOW FILES
DEBUG-SIL-TOGGLE
Description When you start Z-MAP Plus, the SIL debug switch is off. If the SIL
debug switch is off, running the macro turns it on, and if the SIL debug
switch is on, running the macro turns it off. When on, each SIL module
prints its input and output parameters. This information is useful when
debugging. This macro has no parameters.
Results Changes the status of the SIL debug flag.
R2003.12.0 DEBUG-SIL-TOGGLE 99
Landmark Macro Reference Manual for Z-MAP Plus / ZCL
DIP-PLOT-DATA
Description If the data is in gradients, the dataset must contain DZ/DX and DZ/DY
fields. If the data is in radians or degrees, the dataset must contain Dip
Angle and Dip Azimuth Angle fields.
DIP-PLOT-DATA
Results When this macro executes, it positions dip vectors at each control point
location on the current picture. You must re-open the picture to see
your results.
DIP-PLOT-DATA: Parameters
o
MFD Number for the Input File
Description The MFD that contains the input data file.
Macro Parameter MFDDATA
Data Type I
Range 0 through 5
Default Searches all attached MFDs
Data Units
Description Specify how the dip angle is measured or select gradient option.
Macro Parameter DEGORRAD
Options
DEGREES
RADIANS
GRADIENT
DIP-PLOT-DATA: Parameters
DIP-PLOT-DATA: Parameters
Color Mode
Description Specify if the plot is to be color coded based on dip magnitude.
Macro Parameter COLORMOD
Options
NO COLOR CODE = Variations in magnitude are not reflected in dip vector
colors.
COLOR CODE = Variations in magnitude result in different color
vectors.
Start Color
Description The starting color index value must be entered when the Color
Code option is selected. Z-MAP Plus users can click on the palette
to view the attached color table.
Macro Parameter START
Data Type I
Range 0 through 255
Default Value 17
ZCL PROCESSES
DIP VECTOR PLOT
DIP-PLOT-GRID
Purpose Use the DIP-PLOT-GRID macro to add dip vectors at grid locations to
a plot. A major benefit of this process is the graphical representation of
all dip angles in an area of interest. Color variation options enable you
to quickly compare gradient magnitudes in an area.
DIP-PLOT-GRID: Results
Results Dip vectors at each grid node on the current picture. You must re-open
the picture to view the results of this macro.
DIP-PLOT-GRID: Parameters
o
MFD for the First Grid
Description The MFD that contains the input magnitude grid (GRIDIN).
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Searches all attached MFDs
Post a Symbol
Description Specification for posting a symbol at grid locations with values less
than the specified minimum.
Macro Parameter POST
Options
POST = Draw a symbol where dip magnitudes resolve to less than the
minimum arrow length.
OMIT = Do not draw a symbol where dip magnitudes resolve to less than
the minimum arrow length.
DIP-PLOT-GRID: Parameters
DIP-PLOT-GRID: Parameters
Color Mode
Description Specify if the plot is to be color coded based on dip magnitude.
Macro Parameter COLORMOD
Options
NO COLOR CODE = Variations in magnitude are not reflected in dip vector
colors.
COLOR CODE = Variations in magnitude result in different color
vectors.
Start Color
Description The starting color index value must be entered when the Color
Code option is selected. To view the attached color table, click the
color box next to the parameter box.
Macro Parameter START
Data Type I
Range 0 through 255
Default Value 56
ZCL PROCESSES
SINGLE GRID OPS
DIP VECTOR PLOT
DELETE FILE
ENVELOPE
Purpose The purpose of this macro is to produce net hydrocarbon pore thickness
grids and to perform quick, visual, reportable results for HC
volumetrics for a prospect or field.
Description The macro analyzes a two phase reservoir system using basic grid file
and numerical input. Quick turnaround and accurate results make this
workflow ideal for use in sensitivity analysis.
Results The output of the macro consists of a montaged picture for each phase
that shows these elements:
a Gross Rock Volume Isochore for each HC zone that can display
unconformities
a Net Hydrocarbon Volume Isochore posted with information as in
the map described above
a map with the primary polygon Net HC Volumes Posted, with
units
a map with the secondary polygon Net HC Volumes Posted, with
units
Additionally, all pertinent data files made in modeling and
evaluation steps are saved to an attached MFD and can be assigned
a unique numerical suffix ID.
ENVELOPE: Summary
ENVELOPE: Summary
Units of Measurement
All structural surfaces supplied to the macro must be in elevation relative to
sea level. Negative Feet Sub-Sea or Negative Meters Sub-Sea are acceptable.
Positive depth (TVD) is NOT acceptable. If you do not have elevation grids
or fluid contact numbers for input, then use surface operations and the well
data to convert the grid models and contact constants to Sub-Sea values.
If the contacts are not constant over the entire field and can be modeled
by grids, then these grid models can be supplied for both or either the
OWC or GOC.
ENVELOPE: Summary
A typical situation where this case might apply is when a fault block
within the top and base surfaces is sealed and has a different OWC
and/or GOC from the rest of the unit in the field. You must build these
grids using polygon blanking on the field-wide constant elevation grid
that represents the appropriate contact. Build the blanking polygons
using the structural fault files. When the macro takes these grids as
input with the supplied structural fault files, it treats the gridded contact
surfaces correctly, derives gross and net hydrocarbon isopachs, and
then correctly integrates the isopachs for volumes.
The secondary rock properties referred to here are:
UNIT POROSITY GRID - or value as a decimal fraction of 1.0
(15% porosity has a node or numeric value of 0.15)
NET to GROSS ratio as a gridded surface over the units extent, or
a numeric value (80% N/G = node or numeric value of 0.8)
GAS SATURATION as a gridded surface model or a numeric
value (75% gas saturation = node or numeric value of 0.75)
OIL SATURATION as a gridded surface model or a numeric value
(65% Oil Saturation = node or numeric value of 0.65)
OIL FORMATION VOLUME FACTOR- A decimal value or
gridded model that has a value representing a combination of PVT
parameters that bring the hydrocarbons to surface conditions. You
could also build a recovery factor into this value. Typically, it is a
constant input.
GAS FORMATION VOLUME FACTOR- Similar to the oil
formation volume factor, but is applied only to the evaluation of
the gas system by the macro.
ENVELOPE: Summary
The primary and secondary polygons are stored as Z-MAP Plus vertex
files. For the ENVELOPE macro, each vertex file can contain a
maximum of 40 separate polygons. The ENVELOPE macro makes
separate volumetric calculations and postings on maps, depending on
which files are supplieda primary polygon file, a secondary polygon
file, both polygon files, or neither file. If no secondary polygon file is
supplied, only the primary polygons are evaluated. If no primary file is
supplied, the entire reservoir is evaluated and a report is generated in
picture and file output. If neither polygon file is supplied, the entire
reservoir area of interest is evaluated in picture and file output only.
The conversion numeric constants and units that are used for posting
results on the maps convert map units into the desired reportable area
units and volume (Map X Depth) units to the desired reported
volumetric units. Along with the conversion constants, you are asked to
supply an alphanumeric representation of the output unit. These
supplied strings are concatenated with the results from the volumetric
calculations and posted on the output maps, with the requested result
rounded up to the desired number of decimal places. Both area and
volumetric output are posted on the map for each polygon evaluated.
ENVELOPE: Summary
Discontinuity Use
When we produce the structural contour maps for gross or net reservoir
planimetered volumetric calculations, we know that there are
distinctive wedge zones in the reservoirs dimensions. Examples of
these are located on the edge of the OWC and GOC, and at the
intersection of these contacts and the base structural limits of the
reservoir.
These intersections separate contour forms on either of their sides.
They are considered discontinuity lines. In grid modeling and
evaluation terms, these boundaries should be treated as faults.
Z-MAP Plus deals with discontinuities by treating them as faults.
To treat these areas of special characteristics correctly, the macro
compares the gridded input you supply to the description of the
system-generated contacts and graphically identifies where these
discontinuities appear.
You may choose to incorporate or ignore the correct treatment of the
discontinuities in the modeling and mapping procedures. This choice is
allowed because many times there are historical results where the
discontinuities have been ignored and because we want to provide a
means of verification of past results with the workflow.
Therefore, it is desirable to be able to turn this part of the workflow on
or off. Technically speaking, it should always be on and the
discontinuities should always be used. Being able to turn discontinuity
usage on and off simply allows for sensitivity analysis of the results.
ENVELOPE: Summary
Quantized Contours
Often, when you build surface models to condition the final gross or net
HPV isochore, there are areas in the secondary parameter grids that,
when multiplied together, give a zero or positive resulting node value
outside of the positive evaluation area of the isochore.
Generating positive volumes at these sites causes great concern and
problems among users. The most typical example of a grid that causes
this problem is the So grid, which can be derived from the Z-MAP Plus
water saturation module. It typically has 0.0 as a node value outside the
OWC.
When the gross hydrocarbon grid is conditioned by another such grid,
the zero edge is no longer defined in the map nor used in the
volumetrics calculation, because its occurrence is modeled as a
unconformity without a fault file to show it. What you must do is to
reconstruct the grid so that the product Net HPV goes through to
negative values as the zero edge is crossed.
ENVELOPE: Summary
ENVELOPE: Summary
File Saving
The last significant input is a six-digit unique identifier for all pertinent
files created in any particular execution of the workflow. The files can
be directed to any MFD attached at runtime, including a scratch MFD
file. Even text files with all of the different runtime parameter values
are saved as MFD file members with this identifying suffix. File saving
is optional.
ENVELOPE: Summary
Framework Logic
The ENVELOPE macro has certain requirements for input. When the
macro receives the proper inputs, it follows specific file saving
constraints and produces a standard graphical output. Also, you have
the option of using Gross Rock Volume modeling as opposed to top and
base structure grid inputs.
ENVELOPE: Summary
File Saving
Files that are saved to the selected MFD are complete and
all-encompassing. All grids and fault files, plus primary user input files,
are saved with the requested suffix at the end of the macro hard-coded
names. An index of these names and their technical description is in
this document.
If you have performed complex volumetric evaluations of reservoir
envelopes, such as those handled by this workflow, you will be able to
interactively reproduce all of the graphics and volumetric results that
the workflow produces from the saved files.
The parameters used in the macro execution and any warning messages
generated are also saved to the chosen MFD with the same suffix as
other files. Only the files that are pertinent to the level of complexity of
the hydrocarbon envelopes that were built are saved. If the case
analyzed is stratigraphically simple, then fewer files will be saved to
document its creation.
Overall, every effort has been made to document this workflow so that
saved graphical and file output could supply a future user with all of the
information needed to reproduce previous results. The source files for
execution could supply a future production geologist with a starting
point for updating a reservoir model with more recent wells and
petrophysical data.
ENVELOPE: Summary
Graphical Outputs
The pictures produced by the workflow are intended to be of a high
enough quality so that they could be presented at low-level
management reviews. Color tables are supplied that optimize both
hardcopy and screen display media. The montage reports for the oil
and/or gas phase analysis are acceptable as documents that represent
your efforts. All of the member pictures of the report montages are time
and date stamped in an index map on the top right-hand corner.
A maximum of ten pictures are written to the output ZGF created by
the workflow. There is a possibility of five pictures for each phase of
the reservoir analyzed. The five descriptive titles are:
1. GROSS ROCK VOLUME OIL ZONE
This is the supplied or work-flow-created grid model of the gross
rock volume for the oil window. The same picture title with the
word OIL replaced by GAS is representative of the gas phase
analysis. The map is color filled with a color bar and has a time
date stamp. The supplied project title is central to the top offset
margin. A scale bar is on the bottom left margin area and
descriptive title information appears on the bottom right margin
area.
Any subcrops of the hydrocarbon envelope with the base of the
reservoir appear on the map, at a minimum, as a yellow dashed
line. Any truncations by a phase above the GOC appear, at a
minimum, as a red dashed line.
If you specify to use unconformities, the yellow and red dashed
lines are hidden on the picture by a solid brown line that is merged
with other faults in the reservoir. To see the truncation by the oil
contact on the basemap, clear fault traces from the display list in
Z-MAP Plus and redisplay the picture. The red and yellow dashed
vertex unconformities appear. If you decide not to use
unconformities, the red and yellow dashed lines appear if they
occur. However, the contours do not terminate angularly against
them, because the unconformities in the wedge zones are ignored.
ENVELOPE: Summary
If you describe well data to the workflow, solid red, circular well
symbols are posted with the well names displayed above them. All
map features, including text, are resized internally in the macro to
optimize display quality.
2. NET ROCK VOLUME OIL ZONE
This map has all the features that are described above, but the
surface model contoured is that of NET HYDROCARBON PORE
VOLUME. This grid is the product of all modeling procedures and
produces the model that is evaluated by the volumetrics task.
NHPV = GVR x NGx POR x So/g x FVFo/g
ENVELOPE: Summary
ENVELOPE: Summary
ENVELOPE: Summary
ENVELOPE: Summary
ENVELOPE: Parameters
String Parameter
This is specified as a STRING type parameter because there is the danger
of a failed execution of the macro corrupting an old ZGF. The ZGF
created is of significant size and must always be a new ZGF.
ENVELOPE: Parameters
o
NAME OF THE MFD FOR TOP STRUCTURE GRID?
Description MFD that contains the top structure grid you want to use as input.
Macro Parameter MFDTGRD
Data Type I
Range 0-5
Default Value 0
ENVELOPE: Parameters
o
MFD NAME FOR FAULT FILE?
Description MFD that contains the FAULTS file you want to use as input.
Macro Parameter MFDFAULT
Data Type I
Range 0-5
Default Value 0
ENVELOPE: Parameters
o
MFD NAME FOR CONTACT GRID?
Description MFD that contains the contact grid file you want to use as input.
Macro Parameter MFDOWC
Data Type I
Range 0-5
Default Value 0
ENVELOPE: Parameters
o
MFD FOR THE OIL ISOCHORE
Description MFD that contains the oil isochore file you want to use as input.
Macro Parameter MFDISOO
Data Type I
Range 0-5
Default Value 0
ENVELOPE: Parameters
o
MFD FOR THE OIL ISOCHORE FAULTS
Description MFD that contains the oil isochore faults file you want to use as
input.
Macro Parameter MFDISFO
Data Type I
Range 0-5
Default Value 0
ENVELOPE: Parameters
o
MFD FOR THE GAS ISOCHORE FAULTS?
Description MFD that contains the gas isochore faults file you want to use as
input.
Macro Parameter MFDISFG
Data Type I
Range 0-5
Default Value 0
ENVELOPE: Parameters
Node Values
Node values must be in fractional decimal form (for example, 21% =
0.21). To use different grids to represent the 2D distribution of this
parameter for each hydrocarbon phase, you must execute two separate
runs of the macro (one for each phase). Each grid you supply as input to
the macro is force resampled to the AOI and grid interval of the Top
Structure or to the Oil/Gas isochore grid you specify as input.
o
MFD NAME FOR POROSITY GRID?
Description The MFD that contains the input porosity grid (PORGRD).
Macro Parameter MFDPOR
Data Type I
Range 0-5
Default Value 0
ENVELOPE: Parameters
Node Values
Node values must be in fractional decimal form (for example, 21% =
0.21). To use different grids to represent the 2D distribution of this
parameter for each hydrocarbon phase, you must execute two separate
runs of the macro (one for each phase). Each grid you supply as input to
the macro is force resampled to the AOI and grid interval of the Top
Structure or to the Oil/Gas isochore grid you specify as input.
Description
Macro Parameter NTGGRD
Data Type C*24
Default Value FILENAME NOT SPECIFIED
o
MFD NAME FOR N/G RATIO GRID?
Description The MFD that contains the input N/G ratio grid (NTGGRD).
Macro Parameter MFDNTG
Data Type I
Range 0-5
Default Value 0
ENVELOPE: Parameters
Node Values
Node values must be in fractional decimal form (for example, 21% = 0.21).
o
MFD FOR GAS SATURATION GRID?
Description The MFD that contains the input gas saturation grid (GSATGRD).
Macro Parameter MFDGSAT
Data Type I
Range 0-5
Default Value 0
ENVELOPE: Parameters
Node Values
Node values must be in fractional decimal form (for example, 21% = 0.21).
o
MFD FOR OIL SATURATION GRID?
Description The MFD that contains the input oil saturation grid (OSATGRD).
Macro Parameter MFDOSAT
Data Type I
Range 0-5
Default Value 0
ENVELOPE: Parameters
o
MFD FOR OIL FVF GRID?
Description The MFD that contains the input oil FVF grid (FVFOGRD).
Macro Parameter MFDFVF
Data Type I
Range 0-5
Default Value 0
ENVELOPE: Parameters
o
MFD FOR GAS FVF GRID?
Description The MFD that contains the input gas FVF grid (FVFGGRD).
Macro Parameter MFDFVFG
Data Type I
Range 0-5
Default Value 0
ENVELOPE: Parameters
o
THE MFD FOR THE PRIMARY POLYGONS?
Description The MFD that contains the input primary polygon file
(PRMPOLY).
Macro Parameter MFDPMPS
Data Type I
Range 0-5
Default Value 0
ENVELOPE: Parameters
o
THE MFD FOR THE SECONDARY POLYGONS
Description The MFD that contains the input secondary polygon file
(SECPOLY).
Macro Parameter MFDSCPS
Data Type I
Range 0-5
Default Value 0
ENVELOPE: Parameters
ENVELOPE: Parameters
ENVELOPE: Parameters
ENVELOPE: Parameters
ENVELOPE: Parameters
ENVELOPE: Parameters
OUTMFD
Description The MFD to use for storing the output files.
Macro Parameter OUTMFD
Data Type I
Range 0-5
Default Value 0
ENVELOPE: Parameters
ENVELOPE: Parameters
UNITS OF AREA?
Description This entry is a label. It is appended to all of the numbers reported
on the maps for the projected surface area of your hydrocarbon
volumetric results for each phase analyzed. It appears on the maps
just as specified here.
Macro Parameter AREU
Data Type C*8
Default Value ACRES
ENVELOPE: Parameters
ENVELOPE: Parameters
o
MFD number for input
Description The MFD that contains the input file for posting (MWELLD).
Macro Parameter MFDINF
Data Type I
Range 0-5
Default Value 0
ENVELOPE: Parameters
1 = 1:200
2 = 1:500
3 = 1:1,000
4 = 1:2,500
5 = 1:4,000
6 = 1:5,000
7 = 1:10,000
8 = 1:20,000
9 = 1:25,000
10 = 1:50,000
11 = 1:75,000
12 = 1:100,000
ENVELOPE: Parameters
EVALUATE-CONGRID
Purpose This macro builds a constant grid from user defined input.
oMFD
Number for the Grid
Description The MFD to use for storing the output grid file.
Macro Parameter MFD
Data Type I
Range 0 through 5
Default Value 0 scratch MFD
EVALUATE-CONGRID: Parameters
*Minimum X Value
Description Minimum x coordinate of the output gridding area.
Macro Parameter XMIN
Data Type R
Default Value No default
*Maximum X Value
Description Maximum x coordinate of the output gridding area.
Macro Parameter XMAX
Data Type R
Default Value No default
*Minimum Y Value
Description Minimum y coordinate of the output gridding area.
Macro Parameter YMIN
Data Type R
Default Value No default
*Maximum Y Value
Description Maximum y coordinate of the output gridding area.
Macro Parameter YMAX
Data Type R
Default Value No default
EVALUATE-CONGRID: Parameters
Grid Increment
Description The value you enter applies to both the x and y increments.
Macro Parameter INC
Data Type R
Default Value 0.0
ZCL PROCESSES
DATA BLOCK EVALUATE
SINGLE GRID OPS DELETE FILE
EVALUATE-POLYN
Purpose This macro evaluates a polynomial function over a user defined area
and stores the results as a new grid. Polynomial trends of up to the 2nd
order can be handled by the macro. That means a maximum 9 term
polynomial function in which the highest order of term in the function
is x2 or y2. The macro produces a grid with the node values being the
values calculated by the polynomial. You can control the AOI of the
grid, as well as the x and y grid increments. You can also input the
coefficient for each of the corresponding terms in the polynomial.
EVALUATE-POLYN
Results A grid with the requested AOI and grid increment and node values that
are resolved by the polynomial expansion using the supplied constant
and coefficients.
EVALUATE-POLYN: Parameters
*Minimum X Value
Description Minimum x coordinate of the output grid AOI.
Macro Parameter XMIN
Data Type R
Default Value No default
*Maximum X Value
Description Maximum x coordinate of the output grid AOI.
Macro Parameter XMAX
Data Type R
Default Value No default
*Minimum Y Value
Description Minimum y coordinate of the output grid AOI.
Macro Parameter YMIN
Data Type R
Default Value No default
EVALUATE-POLYN: Parameters
*Maximum Y Value
Description Maximum y coordinate of the output grid AOI.
Macro Parameter YMAX
Data Type R
Default Value No default
*Grid Increment
Description This is the coordinate distance to use for the grid increment of the
new grid. The resulting x and y grid increments are both this value.
Macro Parameter INC
Data Type R
Default Value No default
EVALUATE-POLYN: Parameters
What to Enter
Description This prompt supplies a popup menu in Z-MAP Plus containing help
information about values needed for each degree of the polynomial.
EVALUATE-POLYN: Parameters
Degree of Polynomial
Description Indicate the highest degree of the polynomial. For example, if X2 is
the highest term in the polynomial, then DEGS=2. If only a flat
(constant) grid is derived, then DEGS=0.
Macro Parameter DEGS
Data Type I
Range 0 through 3
Default Value 0
EVALUATE-POLYN: Parameters
EVALUATE-POLYN: Parameters
EVALUATE-POLYN: Parameters
EVALUATE-POLYN: Parameters
ZCL PROCESSES
DATA BLOCK EVALUATE
BRANCH DATA BLOCK UTILITY
EXPORT-CPS-FILE
Purpose This macro exports a member file from an MFD to a CPS SAVE file.
You have the option of exporting an original or extended file.
Description You must input a member file of the type GRID, DATA, VERT, FALT,
or CNTR.
Results A CPS SAVE file on the requested file number.
o
MFD for the Input File
Description The MFD that contains the input file.
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
EXPORT-CPS-FILE: Parameters
ZCL PROCESSES
EXPORTCPSFILE
EXPORT-ZGF-FILE
Purpose This macro converts a graphics file (ZGF) to a flat ASCII file.
EXPORT-ZGF-FILE: Parameters
ZCL PROCESSES
EXPORT ZGF FILE
FASTCONTOURMAP
Purpose This macro builds a grid and then generates a contour map from the
selected z field on your data file.
FASTCONTOURMAP: Parameters
o
MFD for the Fault File
Description The MFD that contains the input fault file.
Macro Parameter MFDFAULT
Data Type I
Range 0 through 5
Default Searches all attached MFDs
Grid Interval
Description Desired grid increment.
Note: Seismic data runs very slowly with a small grid interval
Macro Parameter GINC
Data Type R
Default Value No default
Contour Interval
Description Interval between successive contours. Used when NCONTOUR is
less than or equal to zero.
Macro Parameter CONINT
Data Type R
Default Value 50.0
FASTCONTOURMAP: Parameters
ZCL PROCESSES
POINT GRIDDING PICTURE
BORDER LABEL N/E
CONTOUR DELETE FILE
FASTMAPFROMGRID
Purpose This macro builds a contour map using a grid file. A map border and
border labels are also added to the map.
o
MFD for the Input Grid
Description The MFD that contains the input grid.
Macro Parameter MFDGRID
Data Type I
Range 0 through 5
Default Searches all attached MFDs
FASTMAPFROMGRID: Parameters
o
MFD for the Input Fault File
Description The MFD that contains the input fault file.
Macro Parameter MFDFAULT
Data Type I
Range 0 through 5
Default Value 0 scratch MFD
Contour Interval
Description Interval between successive contours. Specified in grid attribute
units.
Macro Parameter CONINT
Data Type R
Default Value 50.0
FASTMAPFROMGRID: Parameters
ZCL PROCESSES
CONTOUR LABEL N/E
PICTURE BORDER
FAULT-BACKFILL-FLDS
Description You must input a center-line fault file. The file must have vertical
separation, heave, and fault dip angle fields.
You select either the vertical separation or heave field to be backfilled.
This macro overwrites the values of the field you select with new values
based on the input values of the other two fields.
FAULT-BACKFILL-FLDS uses simple right angle trigonometry in the
calculations. If one of the fields being used in the calculations has a
ZNON value, the ZNON is propagated to the new output field.
Results A fault file with a calculated third field value. The calculated value is
derived from the known values of the other two (out of three) fields:
vertical separation, heave, and fault dip angle fields.
FAULT-BACKFILL-FLDS: Workflow
A typical workflow for preparing a center-line fault file for use in Point
Gridding Plus appears below.
Workflow for Preparing a Center-line Fault File for Use in Point Gridding Plus
FAULT-BACKFILL-FLDS: Parameters
FAULT-BACKFILL-FLDS: Parameters
FAULT-BACKFILL-FLDS: Parameters
ZCL PROCESSES
DELETE FILE FILE UTILITY
BRANCH DUAL DATA OPS
SINGLE DATA OPS
FAULT-BALANCER
FAULT-BALANCER: Parameters
o
MFD for the Input Fault File
Description The MFD that contains the input fault file.
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Searches all attached MFDs
FAULT-BALANCER: Parameters
FAULT-BALANCER: Parameters
ZCL PROCESSES
FAULT BALANCE
FAULT-CONTOURS
Menu Option Macros Quick Look Contour Map (from Grid, Faults)
Purpose This macro allows you to put color-filled contours and a color bar on
your map and change the colors of your contours. The macro uses the
Profile Contouring algorithm with the FAULT option instead of the
PROFILE option. Therefore, the grids can be created using algorithms
other than Point Gridding Plus. You may also clip either inside or
outside of a polygon.
FAULT-CONTOURS: Parameters
o
MFD for the Input Grid
Description The MFD that contains the input file.
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Searches all attached MFDs
oMFD
for the Input Fault File
Description The MFD that contains the input fault file.
Macro Parameter MFDFAULT
Data Type I
Range 0 through 5
Default Searches all attached MFDs
FAULT-CONTOURS: Parameters
Contouring Refinement
Description Specify how smooth the contour line should be. All contours are
made up of a series of connected straight lines. The longer these
lines, the rougher (coarser) the contour looks.
Macro Parameter SMOOTH
Options
COARSEST = Coarsest point spacing along curves. Approximately one grid
interval
COARSE = Coarse point spacing along curves. Approximately1/2 the grid
interval.
MEDIUM = Medium point spacing along curves. Approximately 1/4 the
grid interval.
FINE = Fine point spacing along curves. Approximately 1/8 the grid
interval.
VERY FINE = Very fine point spacing along curves. Approximately 1/16 the
grid interval.
FAULT-CONTOURS: Parameters
FAULT-CONTOURS: Parameters
FAULT-CONTOURS: Parameters
FAULT-CONTOURS: Parameters
FAULT-CONTOURS: Parameters
FAULT-CONTOURS: Parameters
o
MFD for the Input Polygon File
Description The MFD that contains the input vertex (polygon) file.
Macro Parameter MFDPOLY
Data Type I
Default Searches all attached MFDs
FAULT-CONTOURS: Parameters
Options
YES = Profile lines are drawn on the picture.
NO = Profile lines are not drawn on the picture.
FAULT-CONTOURS: Parameters
Options
YES = Polygon lines are drawn on the picture.
NO = Polygon lines are not drawn on the picture.
ZCL PROCESSES
CONTOUR NEW BRANCH
POST DATA NEW
FAULT-DIP-SYMBOL
FAULT-DIP-SYMBOL: Results
Results A vertex (VERT) file containing polylines to mark the down-dip sides
of expanded faults. Optionally, these faults can be displayed in a
picture.
FAULT-DIP-SYMBOL: Parameters
o
MFD for the Input Center-line Fault File
Description The MFD that contains the input centerline fault file.
Macro Parameter MFDFAULT
Data Type I
Range 0 through 5
Default Searches all attached MFDs
FAULT-DIP-SYMBOL: Parameters
FAULT-DIP-SYMBOL: Parameters
ZCL PROCESSES
DELETE FILE FLT D SYMB C
POST DATA NEW
FAULT-MIGRATION
Purpose This macro migrates a set of centerline traces from their current map
position to the position they would have on a structure surface either
above or below the structure surface to which the faults belong. You
must input a fault file containing centerline faults with dip and vertical
separation. The isochore thickness (thickness between the horizon to
which the faults belong and the horizon to which the faults are to be
migrated) may be encoded on the input fault file or may be input
directly as a constant value. You can specify rates of change of dip and
vertical separation (throw) to model the migration of listric faults.
The thickness field in the input fault file is normally created by
interpolating values from an unfaulted isochore grid that represents
thickness between the surface for which faults exist and the surface to
which the faults are migrated.
After migration, some minor editing is usually required to fix separated
bifurcations and to remove or add faults that die out or startup on the
target structure surface. FAULT BALANCER.ZCLMAC can help
accomplish these aims.
FAULT-MIGRATION: Results
Results A set of migrated centerline traces. Faults with small vertical separation
at the ends are shortened automatically.
Before You Use the Output File for Other Fault Processing Macros
You must eliminate the isochore thickness value from the file before using the
output file for other fault processing utilities.
Original Fault
FAULT-MIGRATION: Parameters
o
MFD for the Input Fault File
Description The MFD that contains the input centerline fault file.
Macro Parameter MFDFAULT
Data Type I
Range 0 through 5
Default Searches all attached MFDs
FAULT-MIGRATION: Parameters
FAULT-MIGRATION: Parameters
FAULT-MIGRATION: Parameters
ZCL PROCESSES
FAULT MIGRATION
FAULT-PROFILING
Purpose This process creates a fault file and a vertex file which graphically
describe an attribute distribution along a centerline fault. This attribute
could be throw, heave or fault angle. The output, if displayed on a map
with the original centerline faults, provides a visual representation of
the chosen attribute field in the fault file. The output can be thought of
as a cross-section profile of the attribute laid on its side. The input fault
traces are the baseline for the cross section and represent a value of
zero for the attribute on the section. Positive deviations from the
centerline faults (positive throws, for instance) appear by default on the
upthrown side of the fault, while negatives appear on the downthrown
side. The output display from this process can be used for the following
purposes:
Identify reversals in the direction of throw along a fault.
Detect high variations in throw along the fault.
Evaluate how well the fault balances at bifurcations.
Using closed polygons, you can colorfill the area between the input
faults and the profile faults that result from this process. The closed
polygons consist of the input faults tied with the profile faults. You can
save both the polygon and the map view profile fault file.
FAULT-PROFILING: Parameters
o
MFD for the Input Fault File
Description The MFD that contains the input centerline fault file.
Macro Parameter MFDFAULT
Data Type I
Range 0 through 5
Default Searches all attached MFDs
FAULT-PROFILING: Parameters
FAULT-PROFILING: Parameters
FAULT-PROFILING: Parameters
FAULT-PROFILING: Parameters
ZCL PROCESSES
COLOR POLYGONS DATA BLOCK
DATA BLOCK PRINT DATA BLOCK UTILITY
DATA STATISTICS DELETE FILE
FAULT PROFILING FILE UTILITY
POST DATA NEW BRANCH
FAULT-SHRINKER
Purpose This macro automatically converts faults with gaps to centerline faults.
If a seismic data file is also input, then the process calculates vertical
separations (throw), and heave and dip angle values at those points
where the seismic line crosses the newly created centerline faults. If the
faults are already centerline faults, the macro calculates vertical
separation at seismic crossings, with heave returned as zero and dip as
ninety. The centerline faults with vertical separation that are output by
this macro are standard inputs to Point Gridding Plus.
If a fault and a seismic line meet at a very acute angle, you may not
wish to use that seismic line to calculate vertical separation. The size of
acceptable angles is determined by the Code for Minimum
Seismic/Fault Angle parameter.
When seismic data is not available, fault vertical separation can
sometimes be calculated using geologic rules of thumb. In this situation
you can specify parameters such as the average fault dip angle and the
dip direction that the module uses to estimate fault vertical separation.
Note that only the x, y, and ID fields are copied from the input fault file
to the output fault file. The macro creates all other fields, including:
vertical separation (throw), dip, and heave.
FAULT-SHRINKER: Description
o
MFD for Input Centerline Fault File
Description The MFD that contains the input centerline fault file.
Macro Parameter MFDFAULT
Data Type I
Range 0 through 5
Default Searches all attached MFDs
FAULT-SHRINKER: Parameters
o
MFD for the Input Seismic File
Description The MFD that contains the input seismic data file.
Macro Parameter MFDDATA
Data Type I
Range 0 through 5
Default Searches all attached MFDs
FAULT-SHRINKER: Parameters
FAULT-SHRINKER: Parameters
FAULT-SHRINKER: Parameters
FAULT-SHRINKER: Parameters
FAULT-SHRINKER: Parameters
ZCL PROCESSES
FAULT SHRINKER
FAULT-LISTING
Purpose This macro lists the field descriptors for the selected dataset.
Description You can input a well, seismic, fault, contour, text or vertex dataset.
Results A listing of statistics on the dataset and a listing of the fields on the
dataset.
For example:
FALT FILE: ANTICLINE FAULTS
CREATED: 19 MAY 92
AT: 17:23
NUMBER OF FIELDS = 3
NUMBER OF WORDS PER RECORD = 3
NUMBER OF DATA RECORDS = 297
MINIMUM X-COORD = 36991.00
MAXIMUM X-COORD = 138884.0
MINIMUM Y-COORD = 33020.00
MAXIMUM Y-COORD = 184600.0
FAULT-LISTING: Parameters
o
MFD for the Input File
Description The MFD that contains the input file.
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Searches all attached MFDs
ZCL PROCESSES
FILE INFO
FILL-BORDER
Purpose This macro allows you to fill the map area of interest, offsets, or both,
with a selected color. You may execute the macro once to fill in the area
of interest with one color, then execute the macro a second time to fill
in the offsets of the map in another color. If you are running
Z-MAP Plus, you can display the colors in the graphics screen by
selecting View Full Display in the Z-MAP Plus window.
FILL-BORDER: Parameters
ZCL PROCESSES
BORDER FILL
FISHNET-PLOT
FISHNET-PLOT: Parameters
FISHNET-PLOT: Parameters
o
MFD for the Input Grid
Description The MFD that contains the input file.
Macro Parameter MFD
Data Type I
Range 0 through 5
Default Searches all attached MFDs
FISHNET-PLOT: Parameters
FISHNET-PLOT: Parameters
Starting Column
Description First column to plot. Used when WINDOW = WINDOW.
Macro Parameter STARTCOL
Data Type I
Default Value 1 first column of the grid
Ending Column
Description Last column to plot. Used when WINDOW = WINDOW.
Macro Parameter ENDCOL
Data Type I
Default Value ZCL default last column of the grid
FISHNET-PLOT: Parameters
Starting Row
Description First row to plot. Used when WINDOW = WINDOW.
Macro Parameter STARTROW
Data Type I
Default Value 1 top row of the grid
Ending Row
Description Last row to plot. Used when WINDOW = WINDOW.
Macro Parameter ENDROW
Data Type I
Default Value ZCL default last row of the grid
X Reference Point
Description The x value for the reference point.
Macro Parameter XREF
Data Type R
Default Value ZCL default 1/2(XMAX XMIN) of the input grid
FISHNET-PLOT: Parameters
Y Reference Point
Description The y value for the reference point.
Macro Parameter YREF
Data Type R
Default Value ZCL default 1/2(YMAX YMIN) of the input grid
Z Reference Point
Description The z value for the reference point.
Macro Parameter ZREF
Data Type R
Default Value ZCL default 1/2(ZMAX ZMIN) of the input grid
FISHNET-PLOT: Parameters
FISHNET-PLOT: Parameters
FISHNET-PLOT: Parameters
FISHNET-PLOT: Parameters
FISHNET-PLOT: Parameters
ZCL PROCESSES
ISOMETRIC PICTURE BORDER
ISOMETRIC PLOT DATA BLOCK
DATA BLOCK UTILITY BRANCH
GRID STATISTICS
GEOSORT
Purpose This macro puts segments of the same line back into geographic order.
The input for the GEOSORT macro is a line file where the segments of
the same line are not sequential on the file. This macro is primarily
used for seismic data.
GEOSORT: Parameters
Sort Field 1
Description First of up to three fields on which to sort. Should be the Line Name
field.
Macro Parameter SORTFLD1
Data Type I
Default Value ZCL default
Sort Field 2
Description Second of up to three fields on which to sort. Should be the SegID
field.
Macro Parameter SORTFLD2
Data Type I
Default Value ZCL default
Sort Field 3
Description Third of up to three fields on which to sort. Should be the new
sequence field (not yet created by this macro).
Macro Parameter SORTFLD3
Data Type I
Default Value ZCL default
GEOSORT: Parameters
ZCL PROCESSES
GEOGRAPHIC CONNCT GEOGRAPHIC SORT
DELETE FILE SORT
GRIDANDMAPX
Purpose This macro builds a contour map by gridding a z field on a data file and
contouring the resultant grid. It also adds a border, border labels and
posts the well points. All defaults are used in posting and labeling and
coarse contour density is used for speed.
GRIDANDMAPX: Parameters
Picture Name
Description Name of the picture file to be opened or created.
Macro Parameter PIC
Data Type C*80
Default Value: DEFAULT PICTURE
o
MFD for the Input Well Data
Description The MFD that contains the input control point file.
Macro Parameter MFD1
Data Type I
Range 0 through 5
Default Searches all attached MFDs
GRIDANDMAPX: Parameters
o
MFD for the Input Fault File
Description The MFD that contains the input fault file.
Macro Parameter MFDFAL
Data Type I
Range 0 through 5
Default Searches all attached MFDs
Grid Interval
Description Desired grid increment.
Note: A small grid increment for seismic data will run slowly.
Macro Parameter GINC
Data Type Real
Default Value No default
GRIDANDMAPX: Parameters
Contour Interval
Description Interval between successive contours.
Macro Parameter INTERVAL
Data Type R
Default Value 1.0
ZCL PROCESSES
POINT GRIDDING POST DATA
PICTURE CONTOUR
BORDER LABEL N/E
GRID-LT-EQ-GT
Purpose This macro is most useful to output a Boolean grid of 0.0s and 1.0s to
indicate where a formation lies at each node, for example, below, equal
to, or above the Oil Water Contact level.
Description This macro reads an input grid and produces an output grid where each
node in the input grid is replaced by a flag value that indicates whether
the input Z value is Less Than, Equal To, or Greater Than a designated
Z level value.
GRID-LT-EQ-GT uses the following input values:
grid file
Z level and equality tolerance setting
Flag values
Results Creates an output grid with flags marking each designated node point
as Greater Than, Equal To, or Less Than the given Z level.
GRID-LT-EQ-GT: Parameters
Z Level Designation
Description Z level compared with grid values
Macro Parameter ZLEVEL
Data Type Real
Range
Default Value None
Z Level Tolerance
Description Tolerance for equality to Z level
Macro Parameter ZTOLER
Data Type Real
Range 0 and above
Default Value 0
GRID-LT-EQ-GT: Parameters
Equality Flag
Description Flag value for equality to Z level
Macro Parameter EQFLAG
Data Type Real
Range
Default Value 0
ZCL PROCESSES
GRID-TO-SEISMIC
Purpose This macro converts the rows and columns of a grid to seismic lines
and concatenates them together in one output seismic file (dataset).
You can specify whether to output:
N-S lines (columns)
W-E lines (rows)
both N-S lines and W-E lines
Description Using this process, you may create a seismic file for use in conjunction
with the Fault Shrinker macro.
You are asked to specify the following values:
name of the input grid file
name of the output seismic file and where to store it.
which lines are to be converted
Results A seismic dataset that contains the x and y values for each grid node
location, with a shotpoint number that is derived from the y value and a
line name derived from the x value.
For example:
X (EASTING) Y (NORTHING) SHOT POINT LINE NAME Z VALUE
0.28920E+07 0.23600E+07 0.23600E+07 0.28920E+07 1999.2
0.28920E+07 0.23620E+07 0.23620E+07 0.28920E+07 2048.6
0.28920E+07 0.23640E+07 0.23640E+07 0.28920E+07 2121.3
0.28920E+07 0.23660E+07 0.23660E+07 0.28920E+07 2201.1
0.28920E+07 0.23680E+07 0.23680E+07 0.28920E+07 2278.5
0.28920E+07 0.23700E+07 0.23700E+07 0.28920E+07 2350.6
0.28920E+07 0.23720E+07 0.23720E+07 0.28920E+07 2424.1
GRID-TO-SEISMIC : Parameters
o
MFD for the Input Grid
Description The MFD that contains the input grid file.
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Searches all attached MFDs
GRID-TO-SEISMIC: Parameters
ZCL PROCESSES
SPAWN GRID TO DATA
SORT EXPORT
IMPORT MERGE
DELETE FILE BRANCH
HAND-CONTOUR
HAND-CONTOUR: Parameters
o
MFD for the Input File
Description The MFD for the input seismic file.
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Searches all attached MFDs
HAND-CONTOUR: Parameters
HAND-CONTOUR: Parameters
HAND-CONTOUR: Parameters
ZCL PROCESSES
HAND CONTOUR PNTS
IMPORT-CPS-FILE
Purpose This macro imports a CPS SAVE file into a master file (MFD). If the
file is an extended file, the information in the header is read and used. If
it is not an extended file, you are asked to enter the header information.
IMPORT-CPS-FILE: Parameters
IMPORT-CPS-FILE: Parameters
IMPORT-CPS-FILE: Parameters
IMPORT-CPS-FILE: Parameters
IMPORT-CPS-FILE: Parameters
IMPORT-CPS-FILE: Parameters
IMPORT-CPS-FILE: Parameters
IMPORT-CPS-FILE: Parameters
IMPORT-CPS-FILE: Parameters
IMPORT-CPS-FILE: Parameters
ZCL PROCESSES
IMPORT CPS FILE
IMPORT-GRID
Purpose The purpose of this macro is to prompt you for information to build a
format group. The resulting format group can be used to import the grid
dataset. The format group is saved in a separate dictionary file. This
dictionary file is created by the macro and overwrites another file
sharing the same file name. The grid dataset is contained in a separate
diskfile.
IMPORT-GRID: Parameters
IMPORT-GRID: Parameters
IMPORT-GRID: Parameters
IMPORT-GRID: Parameters
ZCL PROCESSES
IMPORT WRITE TEXT
IMPORT-ZGF-FILE
Purpose This macro converts a flat graphics file into a ZGF that is usable in
Z-MAP Plus or other Landmark programs.
IMPORT-ZGF-FILE: Parameters
ZCL PROCESSES
IMPORT ZGF FILE
INTERPOLATION
Purpose This macro allows you to interpolate along a seismic line, repopulating
the line at the indicated shotpoint limit. All necessary interpolation in x,
y, and z directions is performed before the output record is written.
Results This macro outputs a seismic dataset with the new shotpoint interval.
The first and last shotpoint for each line are kept. The intermediate
shotpoint numbers that are kept are determined by the first shotpoint in
the line plus whatever you specify as the shotpoint increment. Hence,
with an increment of 10, you do not necessarily get every shotpoint
divisible by 10. If this is your goal, use Operations
Line Resampling in Z-MAP Plus.
INTERPOLATION: Parameters
ZCL PROCESSES
SEIS INTERP THIN
LABL-FOUR-CRNS
Purpose This macro labels each of the four corners of a map with either latitude/
longitude labels or northing/easting labels depending upon the map
type.
LABL-FOUR-CRNS: Parameters
Type of Labels
Description Indicate whether latitude/longitude, northing/easting, or both types
of labels are to be used.
Macro Parameter LTYPE
Options
LATITUDE-LONGITUDE
NORTHING-EASTING
BOTH
Data Type C*20
Default Value NORTHING-EASTING
LABL-FOUR-CRNS: Parameters
LABL-FOUR-CRNS: Parameters
Options
YES = Labels are offset.
NO = Labels are not offset.
ZCL PROCESSES
DATA BLOCK PICTURE STATS
DATA BLOCK PRINT BRANCH
DATA BLOCK UTILITY LABEL LAT/LONG
LABEL N/E PROJECTION
PICTURE
LEASE-DRAWING
Purpose This macro allows you to post and label lease polygons. In addition to
labeling each polygon with lease identification information, the macro
gives you the ability to show lease attributes through:
line shading
hachuring
text
color
Area ID for Vertex and Text Must Have the Same Data Type
The Area Identification field for both the text dataset and the vertex dataset
must be of the same data type and have the same field width.
The following ZCL parameter defaults are hard coded into the macro.
Results Leases posted with the specified attributes are output to the current
basemap.
Technical Notes
This topic contains technical notes on how to prepare files for Lease
Drawing. It consists of information about preparing Lease Polygon and
Text I.D. files, activating Shared Lease Attributes, as well as some lease
posting hints and a table of the ZCL defaults that have been hardcoded
into the macro.
SEG
X (EASTING) Y (NORTHING) I.D.AREA ID COLOR
Z Fields (Optional)
One or more z fields are required if the Area Symbol code is set to 8 on
one or more leases. These z fields control the size of the sub-polygons
used in showing shared lease attributes.
Note that in the table below, ZVAL1 is paired with COLOR1 and
ZVAL2 is paired with COLOR2. On a shared lease file, these z values
are used to determine the percentage of each lease filled with a
particular color. In other instances, the z values may represent the
percentages of oil and gas in a lease.
Polygons are subdivided along the x axis with the z values determining
the percentage of the lease per owner.
This percentage is determined by: i ( Zi + Z2...Zi...Zn ) 10
LEASE-DRAWING: Parameters
o
MFD for the Input Text File
Description The MFD that contains the text file.
Macro Parameter MFDTEXT
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
LEASE-DRAWING: Parameters
LEASE-DRAWING: Parameters
LEASE-DRAWING: Parameters
LEASE-DRAWING: Parameters
ZCL PROCESSES
POST LEASE
LINE-GRID-PLUS
LINE-GRID-PLUS: Parameters
o
MFD File for Input Seismic Line
Description The master file (MFD) associated with the selected Line file.
Macro Parameter MFDIN
Data Type MFDNUM
Range 0 through 5
Default Value 0
LINE-GRID-PLUS: Parameters
oMFD
for Control Grid
Description MFD of the Control Grid file.
Macro Parameter MFDCON
Data Type MFDNUM
Range 0 through 5
Default Value Searches all attached MFDs
LINE-GRID-PLUS: Parameters
o
MFD for the Input Fault File
Description Master file (MFD) that contains the fault file specified as input.
Macro Parameter MFDFAULT
Data Type MFDNUM
Range 0 through 5
Default Value Searches all attached MFDs
LINE-GRID-PLUS: Parameters
LINE-GRID-PLUS: Parameters
o
MFD for Fault Polygon File
Description MFD that contains the Fault Polygon file.
Macro Parameter MFDPOLY
Data Type MFDNUM
Range 0 through 5
Default Value Searches all attached MFDs
o
MFD for Grid Output File
Description MFD to use for storing the Grid Output file
Macro Parameter MFDOUT
Data Type I
Range 0 through 5
Default Value 1 first attached MFD
LINE-GRID-PLUS: Parameters
o
MFD for Interpolated Fault File
Description MFD that contains the Interpolated fault file
Macro Parameter MFDINTFT
Data Type I
Range 0 through 5
Default Value 1 first attached MFD
o
MFD for Blanked Grid File
Description MFD that contains the Blanked Grid file
Macro Parameter MFDBLKGR
Data Type I
Range 0 through 5
Default Value 1 first attached MFD
LINE-GRID-PLUS: Parameters
o
MFD Fault-filled Grid
Description MFD that contains the Fault-filled Grid file
Macro Parameter MFDFILGR
Data Type I
Range 0 through 5
Default Value 1 first attached MFD
o
MFD for the Fault Profile File
Description MFD that contains the Fault Profile file
Macro Parameter MFDPROF
Data Type I
Range 0 through 5
Default Value 1 first attached MFD
LINE-GRID-PLUS: Parameters
o
MFD Hull Data File
Description MFD that contains the Hull file
Macro Parameter MFDHULL
Data Type I
Range 0 through 5
Default Value 1 first attached MFD
o
MFD Fault-cut Line File
Description MFD that contains the Fault-cut file
Macro Parameter MFDCUT
Data Type MFDNUM
Range 0 through 5
Default Value 1 first attached MFD
LINE-GRID-PLUS: Parameters
LINE-GRID-PLUS: Parameters
Select X Minimum
Description Minimum x coordinate of the output grid.
Macro Parameter XMIN
Data Type REAL
Default Value No default
Select X Maximum
Description Maximum x coordinate of the output grid.
Macro Parameter XMIN
Data Type REAL
Default Value No default
Select Y Minimum
Description Minimum y coordinate of the output grid.
Macro Parameter YMIN
Data Type REAL
Default Value No default
Select Y Maximum
Description Maximum y coordinate of the output grid.
Macro Parameter YMAX
Data Type REAL
Default Value No default
LINE-GRID-PLUS: Parameters
Set Radius
Description CONCAVE HULL 1 & 2 Radius.
Macro Parameter RADIUS
Data Type REAL
Default Value No default
LINE-GRID-PLUS: Parameters
Set Extrapolation
Description Extrapolation Mode controls whether grid nodes outside the data
perimeter are assigned Z values up to the grid edges or only to a
specified distance from the perimeter. Specify one of these values:
X-DISTANCE Extrapolated values will be calculated away
from the data perimeter as far as the value entered in the
Extrapolation Distance parameter. Using this setting and setting
the Extrapolation Distance parameter to a very large number will
have the same effect as choosing Grid Edges.
GRID-EDGES The Extrapolation Distance parameter will be
ignored and node values will be calculated everywhere in the grid.
Macro Parameter EXTRAPLT
Data Type ETEXT
Options
X-DISTANCE
GRID EDGES
Default Value GRID EDGES
Extrapolation Distance
Description Enter a number representing the distance away from the data
perimeter within which grid node values can be calculated. All grid
nodes beyond this distance are assigned a ZNON value.
Macro Parameter EXTRAP
Data Type REAL
Default Value 2 times the grid increment
LINE-GRID-PLUS: Parameters
Limit Extrapolation
Description Data hull determines which grid nodes will be initialized. Line
Gridding Plus offers 4 different algorithms:
DATA DISTRIBUTION. The data distribution method of
determining the gridding area is the method used in classic Point
Gridding. The gridding area is determined by basic gridding
parameters such as reach, minimum number of control point that
can be used to compute any grid value.
CONVEX HULL. This option will perform gridding wherever
inside the Convex Hull.
CONCAVE HULL 1. This option performs gridding whenever
possible inside the data hull. The data hull is a convex hull reduced
by concavities. The concavities are determined by the radius. The
size of an imaginary ball rolled around the convex hull of the data
determines the depth of the concavities.
CONCAVE HULL 2. This option is similar to Concave Hull 1,
except concavities are slightly deeper for this hull.
Macro Parameter DATAHULL
Data Type ETEXT
Options
DATA DISTRIBUTION
CONVEX HULL
CONCAVE HULL 1
CONCAVE HULL 2
Default Value DATA DISTRIBUTION
Refine
Description Number of Refinements.
Macro Parameter REFINE
Data Type Integer
Default Value No default
LINE-GRID-PLUS: Parameters
Type of Flexing
Description Controls which type of flexing is done.
Macro Parameter FLEXTYPE
Data Type ETEXT
Options BIHARMONIC
LAPLACIAN
NONE
Default Value BIHARMONIC
Smoothness Modulus
Description Controls the amount of smoothing versus honouring of data that is
done.
Macro Parameter SMOOTH
Data Type REAL
Range 0 to 10
Default Value 0.2
LINE-GRID-PLUS: Parameters
Control of Passes
Description Controls whether to force Flexing to execute a specified number of
passes or to stop as soon as either Cutoff or Number of Flex passes
is reached.
Macro Parameter FLEXCTRL
Data Type ETEXT
Options
FLEX=NUMPASS
FLEX<=NUMPASS
Default Value FLEX<=NUMPASS
Cutoff
Description Grid will be flexed repeatedly until the amount of change from one
pass to the next is smaller than the cutoff.
Macro Parameter CUTOFF
Data Type REAL
Default Value 0.25
LINE-GRID-PLUS Prompts
Report Type
Description You have the choice of the extent of the processing analysis report.
Macro Parameter REPORT
Data Type ETEXT
Options
NONE
PARTIAL
FULL
Default Value PARTIAL
ZCL PROCESSES
LINEGRIDPLUS
LIST-CPS-FILE
ZCL PROCESSES
LISTCPSFILES
MAKEMAPGENERAL
Menu Option
Description
Results
NADCONCV
Purpose With the new capability to handle NAD 83 state plane projections,
there is a need to be able to translate NAD 27 latitudes and longitudes
to the new NAD 83 standard. This macro accomplishes that translation.
The translation is available in both directions.
Results An output data file that has the new latitude and longitude fields
appended to the end of the information in the input data file.
NADCONCV: Parameters
o
MFD for the Input Data File
Description The MFD that contains the input data file.
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
NADCONCV: Parameters
NADCONCV: Parameters
ZCL PROCESSES
NADCON
NEW-CONTOUR
Purpose This macro is the basis for the Contouring Contour command, but
can still be accessed from the $ZTARGET/macros directory. It builds a
contour map, and permits you to select various options for your contour
map. In addition to producing graphics features for posting on your
map, NEW-CONTOUR.ZCLMAC also selects the contouring algorithm
best suited to your data. If profiles are present, NEW-CONTOUR
selects the Profile Contouring Algorithm. If there are opaque faults, the
macro uses the Extended Fault Contouring Algorithm. If neither
opaque faults nor profiles are present, the macro uses the faster
No-Constraint algorithm. With respect to graphics features, you can
choose whether to colorfill your contours, and also whether to include a
color bar on your map.
Description This macro requires that you input a grid. To take full advantage of the
macros capabilities, however, you may want to input much of the
following information:
an optional opaque FAULT set
an optional gradient discontinuity PROFILE dataset
an optional POLYGON dataset to restrict the contouring
a PROFILE dataset from Point Gridding Plus
a POLYGON dataset to restrict contouring
whether to clip inside or outside of polygons (only requested if a
polygon file is input)
information about contour interval, number of contours, contour
minimum and contour maximum
color-fill and color bar information
line color information
Results A contour map is generated that meets your specifications. You can also
obtain an output contour file if you wish.
NEW-CONTOUR: Parameters
o
MFD for the Input Grid File
Description The MFD that contains the input grid file.
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
oMFD
for the Input Fault File
Description The MFD that contains the input fault file.
Macro Parameter MFDFAULT
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
NEW-CONTOUR: Parameters
o
MFD for the Input Profiles
Description The MFD that contains the input profile file.
Macro Parameter MFDPROF
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
o
MFD for the Input Polygon File
Description The MFD that contains the input clipping polygon file.
Macro Parameter MFDPOLY
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
NEW-CONTOUR: Parameters
Contouring Refinement
Description Specify how smooth the contour line should be. All contours are
made up of a series of connected straight lines. The longer these
lines, the rougher (coarser) the contour looks.
Macro Parameter SMOOTH
Options
COARSEST = Coarsest point spacing along curves. Approximately one grid
interval
COARSE = Coarse point spacing along curves. Approximately1/2 the
grid interval.
MEDIUM = Medium point spacing along curves. Approximately 1/4 the
grid interval.
FINE = Fine point spacing along curves. Approximately 1/8 the grid
interval.
VERY FINE = Very fine point spacing along curves. Approximately 1/16 the
grid interval.
NEW-CONTOUR: Parameters
NEW-CONTOUR: Parameters
NEW-CONTOUR: Parameters
NEW-CONTOUR: Parameters
NEW-CONTOUR: Parameters
NEW-CONTOUR: Parameters
NEW-CONTOUR: Parameters
NEW-CONTOUR: Parameters
ZCL PROCESSES
CONTOUR NEW BRANCH
POST DATA NEW
NIV-DATA
Description You must provide the following parameters as separate fields on the
input control point (DATA) file:
field number for the isochrone data field (the zones time
thickness)
field number for the datum depth field Z(0) (the depth to the top of
the zone)
field number for the initial estimate for the normalized interval
velocity (NIV)
NIV-DATA: Parameters
o
MFD for the Input Data
Description MFD that contains the input data file.
Macro Parameter DIMFD
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
NIV-DATA: Parameters
NIV-DATA: Parameters
NIV-DATA: Parameters
ZCL PROCESSES
NIVA
NIV-GRIDS
oMFD
for the Isochron Grid
Description MFD that contains the input isochron grid file.
Macro Parameter MFDGI
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
NIV-GRIDS: Parameters
o
MFD for the Depth Grid
Description MFD that contains the input horizon depth grid file.
Macro Parameter MFDGD
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
o
MFD for the Fault File
Description MFD that contains input top horizon fault file.
Macro Parameter MFDFD
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
NIV-GRIDS: Parameters
o
MFD for the Normalized Velocity GRID
Description MFD that contains the normalized interval velocity grid file.
Macro Parameter MFDGN
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
o
MFD for the NIV Fault File
Description MFD that contains the normalized interval velocity fault file.
Macro Parameter MFDNVELF
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
NIV-GRIDS: Parameters
NIV-GRIDS: Parameters
NIV-GRIDS: Parameters
ZCL PROCESSES
NIVA
PATCH-GRID
Purpose This macro places a small grid (the patch) into a larger grid. Using the x
and y coordinates in both grids to determine the position for the patch,
the patch grid is resampled and replaces a section of the larger grid.
New Z values from the patch grid replace the original Z-values within
the x, y coordinates. All Z-values from the original larger grid are
removed, including ZNONs.
Output grid AOI and increments are the same as for the input grid.
6 6
5 5
4 4 4
3 3 3
2 2 2
2 3 4
1 1
1 2 3 4 5 6 7 1 2 3 4 5 6 7
PATCH-GRID: Parameters
o
MFD for the Patch Grid
Description The MFD that contains the input patch grid file.
Macro Parameter MFDPATCH
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
oMFD
for the Large Grid
Description The MFD that contains the input grid file to be patched.
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
PATCH-GRID: Parameters
o
MFD for the Fault File
Description The MFD that contains the input fault file.
Macro Parameter MFDFAULT
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
ZCL PROCESSES
PATCH GRID
PENETRATE-GRIDS
Purpose This macro calculates the x,y,z coordinates at which deviated well
tracks penetrate one or more gridded surface horizons.
PENETRATE-GRIDS
NOTE: SEG I.D., Well Track Name and Deviated Well Name fields are
copied to the output file from the input file.
PENETRATE-GRIDS: Parameters
o
MFD for the Deviated Well
Description The MFD that contains the input deviated well file.
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
PENETRATE-GRIDS: Parameters
o
MFD for the First Grid
Description The MFD that contains the first input grid file.
Macro Parameter MFDGRDS
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
o
MFD for the First Fault File
Description The MFD that contains the fault file for the first input grid.
Macro Parameter MFDFLTS
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
PENETRATE-GRIDS: Parameters
o
MFD for the Second Grid
Description The MFD that contains the second input grid file.
Macro Parameter MFDGRD2
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
o
MFD for the Second Fault File
Description The MFD that contains the fault file for the second input grid file.
Macro Parameter MFDFLT2
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
PENETRATE-GRIDS: Parameters
o
MFD for the Third Fault File
Description The MFD that contains the fault file for the third input grid file.
Macro Parameter MFDFLT3
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
o
MFD for the Fourth Grid
Description The MFD that contains the fourth input grid file.
Macro Parameter MFDGRD4
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
PENETRATE-GRIDS: Parameters
o
MFD for the Fourth Fault File
Description The MFD that contains the fault file for the fourth input grid.
Macro Parameter MFDFLT4
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
o
MFD for Fifth Grid
Description The MFD that contains the fifth input grid file.
Macro Parameter MFDGRD5
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
PENETRATE-GRIDS: Parameters
ZCL PROCESSES
HORIZON PENETRATE
PENETRATE-ONEGRD
The input grid name is used as the surface name in the output data file.
PENETRATE-ONEGRD
Data
Field Type Field Use
Type
X (EASTING) Real Coordinate of horizon crossing
Y (NORTHING) Real Coordinate of horizon crossing
Z VALUE Real Coordinate of horizon crossing
SYMBOL CODE Real User specified symbol for posting in
Z-MAP Plus
HORIZON NAME Char*80 IDENTIFIES penetrated horizon
SEG I.D. Real Each well may have several drill holes
or drill tracks. SEG I.D. changes
when the hole or track changes. One
well name may correspond to many
SEG I.D. values.
WELL TRACK NAME Char*80 This changes when the SEG I.D.
changes and is optional.
DEVIATED WELL NAME Char*80 Identifies well (optional)
NOTE: SEG I.D., Well Track Name and Deviated Well Name fields are
copied to the output file from the input file.
PENETRATE-ONEGRD: Parameters
o
MFD for the Deviated Well File
Description The MFD that contains the input deviated well file.
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
PENETRATE-ONEGRD: Parameters
o
MFD for the Input Grid
Description The MFD that contains the input grid file.
Macro Parameter MFDGRDS
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
o
MFD for the Fault File
Description The MFD that contains the fault file for the input grid.
Macro Parameter MFDFLTS
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
ZCL PROCESSES
HORIZON PENETRATE
PICT-AND-PST-DLS
Menu Option Features Surveys (Canadian) Create & Post DLS Picture
Purpose This macro creates a picture for plotting Dominion Land Survey (DLS)
information. The area of interest for the picture is specified using
Meridian, Township, Range, and Section numbers for the Northwest
and Southeast corners of the desired area. Township, Section, Quarter
Section and Legal Subdivision lines may be drawn on this map along
with the Township and Section labels. Road allowances may also be
posted on the picture. A border is drawn around the map.
Results A new picture setup using DLS with the requested lines and labels
posted.
PICT-AND-PST-DLS: Parameters
PICT-AND-PST-DLS: Parameters
Absolute Scale
Description An absolute scale or representative fraction is the ratio between the
distance on a map and the corresponding distance on the surface of
the earth. Used when a projection is active.
Macro Parameter ABSSCALE
Data Type I
Default Value ZCL default
PICT-AND-PST-DLS: Parameters
PICT-AND-PST-DLS: Parameters
PICT-AND-PST-DLS: Parameters
PICT-AND-PST-DLS: Parameters
PICT-AND-PST-DLS: Parameters
ZCL PROCESSES
PROJECTION PICTURE
POST DLS BORDER
PICT-AND-PST-NTS
Menu Option Features Surveys (Canadian) Create & Post NTS Picture
Purpose This macro creates a picture on which you may plot National
Topographic Survey (NTS) information. The area of interest for the
picture is specified using either the North West and South East corners
or the North East and South West corners of an NTS or PNCA survey.
You can request NTS, Map, Series, Block, Unit and Quarter lines and
labels.
You can specify line type and width for each type of line and font and
size for each type of label.
Results A new picture setup using NTS with the requested lines and labels
posted.
PICT-AND-PST-NTS: Parameters
Picture Name
Description Name of the picture to be created.
Macro Parameter PICTURE
Data Type C*80
Default Value ZCL default
UTM Zone
Description UTM zone reference code. Conditionally required depending on
type of projection used.
Macro Parameter UTMZONE
Data Type I
Range 1 through 60
Default Value 10
PICT-AND-PST-NTS: Parameters
Absolute Scale
Description An absolute scale or representative fraction is the ratio between the
distance on a map and the corresponding distance on the surface of
the earth. Used when a projection is active.
Macro Parameter ABSSCALE
Data Type I
Default Value 10000
PICT-AND-PST-NTS: Parameters
PICT-AND-PST-NTS: Parameters
PICT-AND-PST-NTS: Parameters
PICT-AND-PST-NTS: Parameters
PICT-AND-PST-NTS: Parameters
PICT-AND-PST-NTS: Parameters
PICT-AND-PST-NTS: Parameters
PICT-AND-PST-NTS: Parameters
PICT-AND-PST-NTS: Parameters
PICT-AND-PST-NTS: Parameters
PICT-AND-PST-NTS: Parameters
PICT-AND-PST-NTS: Parameters
PICT-AND-PST-NTS: Parameters
PICT-AND-PST-NTS: Parameters
PICT-AND-PST-NTS: Parameters
PICT-AND-PST-NTS: Parameters
ZCL PROCESSES
PROJECTION
PICTURE
POST NTS
PICT-NTS-DLS
Purpose This macro creates a picture whose AOI is specified using the
Dominion Land Survey (DLS) and/or National Topographic Survey
(NTS) system. You indicate whether each corner is to be defined in
NTS or DLS coordinates and you supply the definition.
If the corner is defined in DLS, you are asked to supply the Township,
Range, and Section numbers for the corner. If the corner is defined in
NTS, you are asked to supply the NTS description for the corner.
Note that only the picture is created; no annotation or lines are drawn.
PICT-NTS-DLS: Parameters
Picture Name
Description Name of the picture to be created.
Macro Parameter PICTURE
Data Type C*80
Default Value ZCL default
UTM Zone
Description UTM zone reference code.
Macro Parameter UTMZONE
Data Type I
Range 0 through 60
Default Value 10
PICT-NTS-DLS: Parameters
Absolute Scale
Description An absolute scale or representative fraction is the ratio between the
distance on a map and the corresponding distance on the surface of
the earth.
Macro Parameter ABSSCALE
Data Type I
Default Value 10000
PICT-NTS-DLS: Parameters
PICT-NTS-DLS: Parameters
PICT-NTS-DLS: Parameters
PICT-NTS-DLS: Parameters
PICT-NTS-DLS: Parameters
PICT-NTS-DLS: Parameters
ZCL PROCESSES
PROJECTION
PICTURE
PICTURE-STATS
Description This macro generates a report with area of interest (AOI) and projection
information about the specified picture file.
PICTURE-STATS requires the name of the picture file to be analyzed.
This macro does not supply LGB types. To see a list of the LGB types
present in a picture file, select File Info
File/Picture Information in the Z-MAP Plus window.
Results Creates a printout containing AOI and projection information about the
picture.
*Select Picture
Description Select the input picture
Macro Parameter PICURE
Data Type C*80
Range All pictures on the selected graphics file
Default Value REQUIRED
ZCL PROCESSES
POLYGON-CLOSE
Purpose This macro closes all polygons in a VERT file. Closed polygons are
output to a new vertex file. After running this macro, check individual
polygons for intersecting or crossing lines.
POLYGON-CLOSE: Parameters
o
MFD for the Input Vertex File
Description The MFD that contains the input file.
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
ZCL PROCESSES
DELETE FILE IMPORT
POLYGON CLIP SINGLE DATA OPS
SPAWN
POLYGON-FILL
Purpose This macro takes polygons stored in a vertex file, fills them with a solid
color, and saves the filled polygons in an MFD.
o
MFD of the Input Vertex File
Description The MFD that contains the input file.
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
POLYGON-FILL: Parameters
ZCL PROCESSES
COLOR POLYGONS
POST-DLS
Purpose This macro posts Dominion Land Survey (DLS) lines on an already
created picture. (You may create a picture with DLS lines using the
PICT-NTS-DLS macro.) On this map the Township, Section, Quarter
Section and DLS lines may be drawn along with the Township and
Section labels. Road allowances may also be posted on the picture.
Results A DLS grid with the requested lines and labels posted.
POST-DLS: Parameters
POST-DLS: Parameters
POST-DLS: Parameters
ZCL PROCESSES
POST DLS
POST-LINE
Purpose When posting culture data, you may want to post only one line from a
line type file. This macro allows you to select and post one line, thereby
eliminating the need to post all lines in a line type file and then delete
lines you do not want.
Description This macro extracts a line from a VERT, DATA, or FALT type file
based on its SEG I.D. and posts it on the current picture. You can
control the following for the line you are posting:
line SEG I.D.
line style
line color index
line weight
POST-LINE: Parameters
o
MFD for the Input File
Description MFD that contains the input vertex file
Macro Parameter MFDVERT
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
POST-LINE: Parameters
Length Dashes/Hachures
Description Length of the dashes when LINESTYLE = SINGLE DASH or
when LINESTYLE = HACHURE, length of each hachure tick.
This length is plotter units (in or cm).
Macro Parameter DASHLENGTH
Data Type R
Default Value 0.07 in or 0.20 cm
POST-LINE: Parameters
ZCL PROCESSES
DELETE FILE SELECT
POST DATA NEW
POST-NTS
Purpose This macro posts National Topographic Survey (NTS), Map, Series,
Block, Unit and/or Quarter lines and labels on an existing picture. The
macro also enables you to specify line type and width for each type of
line, as well as the font and size for each type of label.
POST-NTS: Parameters
Survey Type
Description Specify NTS survey type.
Macro Parameter MSURVEY
Options
NTS = Plot true National Topographic Series.
PNGA = Plot Petroleum & Natural Gas Act.
POST-NTS: Parameters
POST-NTS: Parameters
POST-NTS: Parameters
POST-NTS: Parameters
POST-NTS: Parameters
POST-NTS: Parameters
POST-NTS: Parameters
POST-NTS: Parameters
POST-NTS: Parameters
POST-NTS: Parameters
POST-NTS: Parameters
POST-NTS: Parameters
POST-NTS: Parameters
POST-NTS: Parameters
ZCL PROCESSES
POST NTS
POST-NTS-DLS
Menu Option Features Surveys (Canadian) Post DLS & NTS Surveys
Purpose This macro posts National Topographic Survey (NTS), Map, Series,
Block, Unit and/or Quarter lines and labels on an existing picture. The
macro also enables you to specify line type and width for each type of
line, as well as the font and size for each type of label.
This macro also posts Dominion Land Survey (DLS) lines on an
already created picture. (You may create a picture with DLS lines using
the PICT-NTS-DLS macro.) On this map the Township, Section,
Quarter Section and DLS lines may be drawn along with the Township
and Section labels. Road allowances may also be posted on the picture.
The NTS and DLS will be clipped to each other along the British
Columbia and Alberta border.
Warning
The map must have both NTS and DLS areas present or this macro aborts.
Results DLS and NTS grids with the requested lines and labels posted.
POST-NTS-DLS: Parameters
Survey Type
Description Specify NTS survey type.
Macro Parameter MSURVEY
Options
NTS = Plot true National Topographic Series.
PNGA = Plot Petroleum & Natural Gas Act.
POST-NTS-DLS: Parameters
POST-NTS-DLS: Parameters
POST-NTS-DLS: Parameters
POST-NTS-DLS: Parameters
POST-NTS-DLS: Parameters
POST-NTS-DLS: Parameters
POST-NTS-DLS: Parameters
POST-NTS-DLS: Parameters
POST-NTS-DLS: Parameters
POST-NTS-DLS: Parameters
POST-NTS-DLS: Parameters
POST-NTS-DLS: Parameters
POST-NTS-DLS: Parameters
POST-NTS-DLS: Parameters
POST-NTS-DLS: Parameters
POST-NTS-DLS: Parameters
ZCL PROCESSES
POST NTS POST DLS
POST-PIC-STATS
Purpose This macro draws a box on a map and posts information about the
scale, size. and projection of the map.
Description The user is allowed to specify the location of the box on the map, but
the size will always remain fixed at five inches wide and three inches
high. This macro creates a new, temporary picture on the .zgf file and
places the required scale and projection information into the new
picture. This picture is then added as an Index Map graphic feature onto
the users picture. The temporary picture created by the macro is
erased.
Placement of the box can be from the lower left corner of the box in
plotter units (X and/or Y value) or from the lower right corner in map
units (X and/or Y value). The simplest method is to place the box using
map units; move the cursor to the desired location on the map and press
mouse button 2. The user can also mix the placement units. For
example, the X coordinate can be from the lower right in map units, and
the corresponding Y coordinate can be from the lower left in plotter
units. The projection box looks best when aligned next to the title box
which is usually .5 inches from the bottom of the map.
The default color of the box is transparent. The user can optionally fill
the box with an opaque color but nothing underneath the box will be
visible.
Help text is available when creating a POST-PIC-STAT. To retrieve
help, click on the Help button.
Results Creates a projection box in the .zgf file, places the box on the
designated map, deletes the projection box picture from the .zgf file.
POST-PIC-STATS: Parameters
Select Picture
Description Select the input picture to place the projection box onto
Macro Parameter PICTURE
Data Type C*80
Range All pictures on the selected graphics file
Default Value REQUIRED
Text Font
Description Selection of fonts for the text in the projection box
Macro Parameter FONT
Data Type C*8
Range PLAIN
SIMPLEX
COMPLEX
ITALIC
DUPLEX
Default Value PLAIN
POST-PIC-STATS: Parameters
Text Height
Description Height of text to be used in the projection box
Macro Parameter CHARSIZE
Data Type Real
Range Positive Values
Default Value .08
Line Weight
Description Thickness of the projection box border
Macro Parameter LINEWGHT
Data Type Integer
Range 2 through 8
Default Value 3
POST-PIC-STATS: Parameters
ZCL PROCESSES
POST-PIC-STAR
Purpose This macro posts star symbols on the current picture for data
distributed at control points. Each spoke on the star represents a
different attribute (z field). The length of each spoke of the star is
proportional to the z field it represents. The lengths are also dependent
upon the selected symbol size; thus, if the symbol size changes, so do
the spoke lengths. The data in each z field is divided into groups, also
called class intervals, that are based upon their numeric values. Each
class interval is associated with a spoke length.
Spokes are always separated at equal angles. Thus the separation angle
is based upon the number of spokes. The first z field you specify is
always represented by the due North spoke. Subsequent z fields are
represented as shown below:
1 1
8 2
4 2 7 3
6 4
3 5
Description This macro can be used to correlate z values to other z values at each
control point. You are asked to specify:
a control point dataset containing an x field, a y field and up to
eight z fields (one for each point of the star)
the number of spokes (18); this should be equal to the number of
attribute z fields
the symbol size
the length of the increment between values
class parameter (number of divisions in attribute range)
POST-PIC-STAR
For Fields in Data that Have No Range, Manually Input Class Limits
If the dataset for which you are posting field values has any fields with a
range of zero, you may get the following error message:
POST-STAR.ZCLMAC ERROR *** DATA RANGE IS LE 0 FOR FIELD
POST-STAR only autosets class limits if a field has a data range. If you have
a field in your dataset that does not have a range, hand type in the class
ranges, and the POST-STAR process completes normally.
Results Control points are posted with a star formation on the current picture.
Optionally, you may output a legend that shows which spoke represents
which z field and the value of the lengths. To view the results,
re-display the picture after you run this macro.
POST-PIC-STAR: Parameters
o
MFD for Input File
Description MFD that contains the input data file.
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs.
Symbol Size
Description Height of the symbol, which is a circle, before spokes are added.
Spoke size is in plotter units (in or cm).
Macro Parameter SYMBSIZE
Data Type R
Default Value 0.1 in or 0.25 cm
POST-PIC-STAR: Parameters
POST-PIC-STAR: Parameters
POST-PIC-STAR: Parameters
POST-PIC-STAR: Parameters
POST-PIC-STAR: Parameters
POST-PIC-STAR: Parameters
POST-PIC-STAR: Parameters
POST-PIC-STAR: Parameters
POST-PIC-STAR: Parameters
POST-PIC-STAR: Parameters
POST-PIC-STAR: Parameters
POST-PIC-STAR: Parameters
POST-PIC-STAR: Parameters
POST-PIC-STAR: Parameters
POST-PIC-STAR: Parameters
POST-PIC-STAR: Parameters
POST-PIC-STAR: Parameters
POST-PIC-STAR: Parameters
POST-PIC-STAR: Parameters
POST-PIC-STAR: Parameters
ZCL PROCESSES
POST STAR SYMBOL
PROFILE-CONTOURS
PROFILE-CONTOURS: Parameters
PROFILE-CONTOURS: Parameters
oMFD
for the Polygons
Description MFD that contains the input clipping polygon file.
Macro Parameter MFDPOLY
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
PROFILE-CONTOURS: Parameters
PROFILE-CONTOURS: Parameters
PROFILE-CONTOURS: Parameters
Contouring Smoothness
Description Specify how smooth the contour line is to be drawn. All contours
are made up of a series of connected straight lines. The longer these
lines, the rougher (coarser) the contour looks.
Macro Parameter SMOOTH
Options
COARSEST = Coarsest point spacing along curves.
Approximately one grid interval
COARSE = Coarse point spacing along curves.
Approximately1/2 the grid interval.
MEDIUM = Medium point spacing along curves.
Approximately 1/4 the grid interval.
FINE = Fine point spacing along curves.
Approximately 1/8 the grid interval.
VERY FINE = Very fine point spacing along curves.
Approximately 1/16 the grid interval.
PROFILE-CONTOURS: Parameters
PROFILE-CONTOURS: Parameters
PROFILE-CONTOURS: Parameters
PROFILE-CONTOURS: Parameters
PROFILE-CONTOURS: Parameters
PROFILE-CONTOURS: Parameters
PROFILE-CONTOURS: Parameters
PROFILE-CONTOURS: Parameters
PROFILE-CONTOURS: Parameters
PROFILE-CONTOURS: Parameters
PROFILE-CONTOURS: Parameters
PROFILE-CONTOURS: Parameters
PROFILE-CONTOURS: Parameters
PROFILE-CONTOURS: Parameters
PROFILE-CONTOURS: Parameters
PROFILE-CONTOURS: Parameters
PROFILE-CONTOURS: Parameters
PROFILE-CONTOURS: Parameters
PROFILE-CONTOURS: Parameters
PROFILE-CONTOURS: Parameters
PROFILE-CONTOURS: Parameters
PROFILE-CONTOURS: Parameters
ZCL PROCESSES
CONTOUR NEW
QUALITY
Vertical Histogram
:
I
I
I
I
I
I
I
I
I
:I.
. . .. ..... . .......III......... . . ...... .
-: : -1 : : : : 0 : : : : 1 ::+
-0.1000E+04 0.0 0.1000E+04
Horizontal Histogram
QUALITY: Parameters
o
MFD for Input Grid
Description MFD that contains the input file.
Macro Parameter MFDGRID
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
oMFD
for Input Dataset
Description MFD that contains the input data file.
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
QUALITY: Parameters
QUALITY: Parameters
Maximum Residual
Description Maximum residual for histogram.
Macro Parameter MAXRESID
Data Type R
Default Value ZCL default based on input data
QUALITY: Parameters
Upper Threshold
Description Upper threshold value. Used when ERRANTRS = THRESHOLDS,
EITHER, or BOTH.
Macro Parameter THRESUPP
Data Type R
Default Value ZCL default based on input data
Lower Threshold
Description Lower threshold value. Used when ERRANTRS =
THRESHOLDS, EITHER, or BOTH.
Macro Parameter THRESLOW
Data Type R
Default Value ZCL default based on input data
Contour Interval
Description The interval between contours. Used when ERRANTRS =
CONTOUR CROSSING, EITHER, or BOTH.
Macro Parameter CONINT
Data Type R
Default Value 1.0
QUALITY: Parameters
ZCL PROCESSES
QUALITY ASSURE
QUICKVOL-TWOPOLS
This process trades off accuracy for speed. You can increase accuracy
by:
refining your grid to a smaller cell size
making your evaluation polygons hug the non-ZNON edges of the
grid being evaluated, e.g. OWC
incorporating a shape factor in the scale factor specified in the
macro to account for unusual geometric shapes defined by your
surfaces
Results Volumetrics printouts for each polygon/grid combination.
QUICKVOL-TWOPOLS: Parameters
o
MFD for the Grid to be Integrated
Description MFD that contains the input grid.
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
oMFD
for the Input Vertex File
Description MFD that contains the input vertex file.
Macro Parameter MFDVERT
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
QUICKVOL-TWOPOLS: Parameters
QUICKVOL-TWOPOLS: Parameters
ZCL PROCESSES
QUICK VOLUMETRICS
QUIKVOL-FORTYPOL
Purpose This macro executes the ZCL QUICK VOLUMETRICS process, and
thus provides a quick, although not very accurate, estimate of the
volume between the surface represented by the input grid and the flat
surface with the constant z value specified by the baseplane parameter
(BASEPLAN). Volumes are calculated within a polygon or polygons
on an input file specified by VERTICES. To calculate volume, this
process multiplies the area of the polygon by the numeric average of
the grid nodes within the polygon.
This process trades off accuracy for speed; however, increased accuracy
can be achieved by:
refining your grid to a smaller cell size
making your evaluation polygons hug the non-ZNON edges of the
grid being evaluated, e.g., OWC
incorporating a shape factor in the scale factor specified in the
macro to account for unusual geometric shapes defined by your
surfaces
Results Volumetrics printouts for each polygon/grid combination.
QUIKVOL-FORTYPOL: Parameters
o
MFD for the Grid to be Integrated
Description MFD that contains the input grid.
Macro Parameter MFDIN
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
oMFD
for the Vertex File
Description MFD that contains the input vertex file.
Macro Parameter MFDVERT
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
QUIKVOL-FORTYPOL: Parameters
QUIKVOL-FORTYPOL: Parameters
ZCL PROCESSES
QUICK VOLUMETRICS
REDUCE-POSTING
Purpose This macro reduces posting of a text field in an area based on a key field
such as OPERATOR NAME or LEASE I.D.
If all wells in the area have the same value for the key field, it is posted
only once (at the first well) and not posted for the remainder of the
wells in the area.
REDUCE-POSTING: Results
Results A text field, such as OPERATOR NAME, is only posted at the first
well, if all entries to this field have the same value. For example:
LEASE OPERATOR
FOX OIL
LEASE 1 LEASE 1 FOX OIL
LEASE 1
LEASE 1
LEASE 1
HOGG OIL LEASE 1
LEASE 1
LEASE 2 HOGGOIL
LEASE 2 LEASE 2 FOX OIL
FOX OIL LEASE 2 WOOD OIL
WOOD OIL
LEASE 2 FOX OIL
LEASE 2 WOOD OIL
FOX OIL LEASE 2 FOX OIL
WOOD OIL
FOX OIL
One operator name is output for
Lease 1 represents a single operator and Lease 1, while all names are
Lease 2 represents multiple operators. output for Lease 2.
REDUCE-POSTING: Parameters
REDUCE-POSTING: Parameters
ZCL PROCESSES
THIN TEXT FIELDS
RESAMP-W-AOIGRID
Purpose This macro resamples a grid using a control grid as a source of output
grid parameters Xmin, Xmax, Xinc, Ymin, Ymax, Yinc, Ncols, and
Nrows.
RESAMP-W-AOIGRID: Parameters
o
MFD for Input Fault File
Description The MFD that contains the input fault file.
Macro Parameter MFDFAULT
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
o
MFD for Input Grid File to Control AOI
Description MFD that contains the input grid file to define output grid AOI.
Macro Parameter AOIGRMFD
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
RESAMP-W-AOIGRID: Parameters
ZCL PROCESSES
RESAMPLEGRID
RMLOCK
Menu Option
Description
Results
SHADE-POLYGONS
Purpose This macro fills a set of polygons with hachured lines. You can use this
macro to hachure shade fault polygons that have been converted to a
vertex file.You can display fault polygons shaded with this option as
rendered features on a surface in the Z-3D Surfaces and Z-3D Block
applications.
Before executing this macro, you must open a picture. The shaded
polygon feature is added to the current picture. The Edit
Graphics Editor Delete Last Feature option is not functional with
macro additions to pictures.
.
Description As input, you are asked to specify a vertex file containing polygons.
Data fields required by the macro include:
X (EASTING)
Y (NORTHING)
SEG I.D.
A color index field for the hachured line is optional.
You are asked to input:
type of hachured line to draw
hachured line color
polygon outline color
source of hachure line color (value or color field)
Results Hachured polygons in the current picture. Redisplay the picture to see
the results of this macro.
SHADE-POLYGONS: Parameters
SHADE-POLYGONS: Parameters
Type of Hachuring
Description Specify the type of hachure shading to put within the polygons.
Macro Parameter HACH
Options
NW-SW HACHURED LINES = 45 degrees up to right, lines across entire
lease, no colorfill
SW-NE HACHURED LINES = 45 degrees down to right, lines across entire
lease, no colorfill
CROSS HACHURED LINES = 45 degrees up and down to right lines
across entire lease, no colorfill
Data Type C*20
Default Value Cross Hachured Lines
SHADE-POLYGONS: Parameters
ZCL PROCESSES
DELETE FILE BRANCH
FILE UTILITY SPAWN
EXPORT IMPORT
DATA BLOCK FILE CONVERSION
LOOP DATA BLOCK
POST LEASE LOOP END
SPAWN-PROCESS
SPAWN-PROCESS: Parameters
ZCL PROCESSES
SPAWN
SPECIFY-CONTOURS
Purpose This macro allows you to input special contour levels such as the OWC
(oil-water contact) or GOC (gas-oil contact) that do not fall on even
increment levels. You are asked to input up to eight levels to be
contoured. If desired, colorfill can be generated between the special
contours. When generating colorfill contours, you control whether or
not to overlay the contour lines onto the colorfill.
SPECIFY-CONTOURS: Parameters
o
MFD for the Faults
Description MFD that contains the input profile file.
Macro Parameter MFDAUX
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
SPECIFY-CONTOURS: Parameters
SPECIFY-CONTOURS: Parameters
SPECIFY-CONTOURS: Parameters
SPECIFY-CONTOURS: Parameters
SPECIFY-CONTOURS: Parameters
ZCL PROCESSES
CONTOUR
START
Menu Option
Description
Results
STRATATHICKNESS
Technical Notes
The terms isopach and isochore are frequently used interchangeably
meaning thickness of a geologic strata. However, these two words have
distinct geologic meanings. Isochore refers to vertical thickness of one
or more strata, possibly the thickness of a formation, while isopach
refers to the stratigraphic thickness of the same unit. Even when these
terms are used to refer to thickness of the same unit, the isopach is
always less than or equal to the isochore. Thickness maps based on
either term are isopach maps or isochore maps.
Typically, most well data contains unit tops and these are subtracted to
give isochores, not isopachs. Isochore thicknesses (vertical thickness)
for conformally bedded units are related to isopach thicknesses
(stratigraphic thickness) by the cosine of the dip of the bedding planes.
Top Formation
V
Bottom Formation
Technical Approach
If strata are displayed in cross-sectional form, as illustrated in the
preceding figure, you can see that the vertical thickness (V) and
stratigraphic thickness (S) are related by S = V cos ( ) where is the
slope (dip of the top of the strata). This relationship takes a few liberties
with trigonometry and geologyin that it assumes that a right angle
triangle can be formed by the vertical thickness line (V), the
stratigraphic thickness line (S), and the base of the unit. Over short
horizontal distances it is probably reasonable to assume that the base of
the unit is a dipping plane.
On a cross section, the dip is one-dimensional. That is, you cannot see
how it varies in x and y, but only along the baseline of the section. On a
surface, the dip is in the direction of the gradient vector, a mathematical
term for an arrow drawn in the direction of most rapid change. The
vector is always perpendicular (normal) to contours. If the angle of the
dip vector (measured counterclockwise from East) is called , then the
maximum slope is computed byn = z x cos ( ) + z y sin ( )
where z x and z y are the partials of the unit top for x and y
respectively. This is the derivative (slope) of the surface in the direction
( ) of the normal vector. The declination angle can be computed for
the slope using = arc tan ( dz dn ) ,and finally, the stratigraphic
thickness can be computed using the first equation for S.
STRATATHICKNESS: Parameters
o
MFD for the Top Grid
Description MFD that contains the base grid.
Macro Parameter MFDIN2
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
STRATATHICKNESS: Parameters
ZCL PROCESSES
SINGLE GRID OPS
DUAL GRID OPS
DELETE FILE
SURFCORRECT
Description You can restrict the area of the surface to be modified by the new well
data using one of four modes:
Use default gridding to distribute the change in the surface over the
entire area (MMETHOD = DEFAULT GRIDDING).
Specify a radius of influence around the selected well data
(MMETHOD = SYNTHESIZED DATA + RADIUS).
Use one or more closed polygons to specify where you want to
change the surface grid (MMETHOD = SYNTHESIZED DATA +
POLYGON).
Use a correction grid that you build independently of the macros
execution (MMETHOD = INPUT GRID).
Results The primary output of this macro is a new grid that shows how the new
wells affect the surface. Optional output includes quality control data
files that you can save to an MFD of your choice. SURFCORRECT
also creates maps and cross sections of its results.
SURFCORRECT: Summary
Summary
Surface Correct (SURFCORRECT) offers a way of correcting a surface
or comfortably merging a surface with a set of new well picks. It adds
to Z-MAP Plus, which has historically had two main uses: creating
quality base maps and assessing hydrocarbon in place using the
Volumetrics application tools.You should be well versed in the use of
Z-MAP Plus to get the most out of this macro.
SURCORRECT could be applied very successfully in several typical
scenarios, including:
Production Geology
Basin Studies
Stratigraphic Reservoir Framework Building
Production Geology
You have an offshore field with 12 producing wells in the top pay. You
model the top pay using the LANDMARK seismic and surface
modeling interpretation environment. Next, you drill a thirteenth well,
targeting the down side of a fault block that is defined seismically. The
thirteenth well comes in high to prediction. You now want to
time-merge this new top pick into the existing grid model that covers
the twelve producing wells.
You can use the following inputs with the SURFCORRECT macro:
The original seismic grid of the 12 producing wells
A data file that contains the new top pick(s) where the fields are x,
y, z, and well name
The old fault file
In addition, use either
A polygon built on the outline of the fault
A pre-determined radius of influence that will define the area of
structural change around the new well data
SURFCORRECT: Summary
Basin Studies
You built a regional average velocity grid using 230 wells with
multi-shot data in an offshore basin. The grid represents average time to
the base Jurassic seismic marker. When you built the surface model, all
the wells tied to the grid acceptably. You have a request to update the
original Jurassic average velocity grid with 10 new wells drilled during
the last two years. You are expected to update the velocity grid quickly.
The project geophysicist supplies you with a data file that has the same
well population, but the average velocity picks are on the base Triassic
marker. The geophysicist tells you that the form of the velocity grid for
the Triassic should mimic the contour form of the Jurassic grid and tie
the new well values.
The solution to both problems is a straightforward application of the
SURFCORRECT macro.
Tie the Jurassic velocity grid using the SYNTHESIZED DATA +
RADIUS mode.
Build the new Triassic grid using the DEFAULT GRIDDING
mode.
These two modes are further explained later in this document.
SURFCORRECT: Summary
SURFCORRECT: Summary
Default Gridding
This method distributes the residual correction over the entire AOI of
the input grid. The residuals are calculated between the input grid and
the input data points, and the default, Point Gridding Plus gridding,
method is performed. The AOI and final grid increments of the residual
grid are extracted from the input grid. However, you can still assign
values for the gridding parameters reach, number of refinements, bias
direction, and bias magnitude.
The grid Zmin Zmax deltaZ is +/- 10% if the data-calculated deltaZ of
the wells back interpolated on the input grid.
SURFCORRECT: Summary:
Input Grid
This mode uses a residual grid that you build independently of
SURFCORRECT. When you select MMETHOD = Input Grid, the
macro skips all gridding steps and just adds a user-supplied residual
grid to the input control grid. SURFCORRECT performs the data
preparation steps for calculating the residuals against the control grid.
You should use the input grid mode if your main interest is in the
automated graphic output capabilities of the macro.
The user is responsible for the quality of the supplied residual grid.
SURFCORRECT: Summary
If you save this data set on a permanent MFD you can document the
quality of the fit to the data of the new surface model.
SURFCORRECT: Parameters
o
MFD for New Surface Picks
Description MFD that contains the input file MWELLD.
Macro Parameter MFDINF
Data Type I
Default 0
SURFCORRECT: Parameters
o
MFD for the Input File
Description MFD that contains the input grid file XGRD1.
Macro Parameter MFDINA
Data Type I
Range 0 through 5
Default Value 1
SURFCORRECT: Parameters
o
MFD for Input Fault File
Description This is the MFD that contains the fault file XFLT1.
Macro Parameter MFDINB
Data Type I
Default 1
o
MFD for Input Fault File
Description MFD that contains the fault file XFLT2.
Macro Parameter MFDING
Data Type I
Default No default
SURFCORRECT: Parameters
o
MFD for User Input DeltaZ GRID
Description This is the MFD that contains the optional Delta-Z grid
USERGRID.
Macro Parameter MFDINC
Data Type I
Default 1
SURFCORRECT: Parameters
Options
DEFAULT GRIDDING = Distributes the residual correction over the entire AOI of the input grid. The
residuals are calculated between the input grid and the input data points, and the
default Point Gridding Plus gridding method is performed. The AOI and final
grid increments of the residual grid are extracted from the input grid. However,
you can still assign values for the gridding parameters reach, number of
refinements, bias direction, and bias magnitude.
SYNTHESIZED = Using the radius of influence that you supply, this method limits change in
DATA+RADIUS structural form to an area represented by the union of all circumference circles
around the well population. To achieve the desired limits, the method applies
distance gridding on the well locations. To prevent changes outside the radius
that you specify, this mode assigns a default value of 0.0 to synthesized data
that lie outside the radius of influence.
SYNTHESIZED = With this mode, instead of the radius of influence defining the area of change, a
DATA+POLYGON single polygon or a set of user-defined closed polygons in a vertex file delimits
areas of alteration. All of the capabilities of synthesized data + radius are true
for this application as well. This mode is useful in handling changes within fault
blocks. You can combine the optional faults used in gridding residuals XFL2
with a bias technique to control surface alteration near faults. You can use the
optional faults and bias technique to perform surface correction on either the
up-thrown or down-thrown faults.
INPUT GRID = This mode uses a residual grid that you build independently of
SURFCORRECT. When you select MMETHOD = INPUT GRID, the macro
skips all gridding steps and just adds a user supplied residual grid to the input
control grid. SURFCORRECT performs the data preparation steps for
calculating the residuals against the control grid.
You should use the INPUT GRID mode if your main interest is in the
automated graphic output capabilities of the macro.
The user is responsible for the quality of the supplied residual grid.
SURFCORRECT
SURFCORRECT: Parameters
SURFCORRECT: Parameters
SURFCORRECT: Parameters
SURFCORRECT: Parameters
SURFCORRECT: Parameters
ZCL PROCESSES
SURFACEPIC
SURFACE-INTRSECT
Purpose This macro takes two intersecting grids as input. The macro uses the
grids to produce the curve of their intersection in one of three forms:
as a FALT file
as a VERT file
as a DATA profile
When the output is a data profile, the process saves the z value from the
first input grid. The output files terminate appropriately if you supply a
FALT file used in building both input grids.
Optionally, you can add the vertex trace of the line of intersection to the
current picture. If you supply a FALT file, your faults can be added to
the picture as well.
By analyzing for bad residuals, you can highlight portions of the
resulting intersection curve that have different back interpolation
results from either grid. These residuals are obtained by a macro call of
the ZCL QUALITY ASSURE process on the data profile output. The
bad residuals calculated in QUALITY ASSURE can also be posted to
the current picture. If no upper and lower bounds are set for bad
residual analysis, the macro sets them at the STD of the residuals
encountered. The residual analysis can be useful when trying to
localize bad high and low wall fault traces that can result when working
with gridded fault planes and surfaces.
This macro is an upgrade of the SURFACE INTERSECT ZCL process.
This macro optionally allows you to incorporate the fault file that was
used to build the input (intersecting) grids, whereas the ZCL process
does not.
SURFACE-INTRSECT: Results
SURFACE-INTRSECT: Parameters
o
MFD for the First Grid
Description The MFD that contains the first input grid file.
Macro Parameter GRIDIN1
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
o
MFD for the Second Grid
Description The MFD that contains the second input grid file.
Macro Parameter MFDIN2
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
SURFACE-INTRSECT: Parameters
o
MFD for the Fault File
Description The MFD that contains the input fault file.
Macro Parameter MFDIN3
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
VERTICES
FAULTS
PROFILES
ALL
Data Type C*8
Default Value VERTICES
SURFACE-INTRSECT: Parameters
SURFACE-INTRSECT: Parameters
Options
SOLID
SINGLE DASH
SURFACE-INTRSECT: Parameters
SURFACE-INTRSECT: Parameters
ZCL PROCESSES
BACK INTERPOLATE BRANCH
CONTOUR DATA BLOCK
DATA BLOCK PRINT DATA BLOCK UTILITY
DATA STATISTICS DELETE FILE
DUAL DATA OPS DUAL GRID OPS
FILE CONVERSION FILE UTILITY
POST DATA NEW QUALITY ASSURE
SURFACE INTERSECT WRITE TEXT
SURFACEPIC
SURFACEPIC: Parameters
o
Data file with new surface picks (x,y,z,ID)
Macro Parameter MWELLD
Data Type C*24
Default Value No Default
SURFACEPIC: Parameters
Project Title
Macro Parameter PROJECTT
Data Type C*40
Default Value No Default
SURFACEPIC: Parameters
SURFACEPIC: Parameters
SURFACEPIC: Parameters
SURFACEPIC: Parameters
YES
NO
Default Value YES
SURFACEPIC: Parameters
SURFACEPIC: Parameters
ZCL PROCESSES
SURFCORRECT
THREED-T-TO-D
Purpose This macro converts a time grid to an average velocity grid using a
special three dimensional time-slice grid in the conversion process.
Each time-slice in the three dimensional grid is a grid of the varying
velocity at a constant time
.
Restrictions
The units of the time-slice grids and the time grid to be converted must be the
same, i.e. all in seconds, all in milliseconds, etc.
Technical Notes
NODES = ft./msec at t0
(Gridded to mappable)
t0
t1
+Y
t2
NCOLS = 4
ROWS = 4
+X NTIMES = 3
The values for the pseudo grid are calculated in the following way:
Value Calculated As
THREED-T-TO-D: Parameters
*Grid: Time
Description Name of the input file for the time grid. If the Pseudo
3-Dimensional Velocity grid model is made of one-way time
velocity grids between T0, T1, T2, etc., this grid must be structured
in one-way time.
Macro Parameter TIMEGRID
Data Type C*24
Range All attached GRID files
Default Value No default
o
MFD for the Input Time Grid
Description MFD that contains the input time grid.
Macro Parameter MFDTIME
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
THREED-T-TO-D: Parameters
ZCL PROCESSES
THREEDTIMETODEPT
TIME-SLICE
Purpose This macro builds the pseudo three-dimensional velocity grid needed
for the Time-to-Depth conversion method that is provided in the
THREED-T-TO-D macro. Each of the two dimensional velocity grids
must have the same area of interest, increments, and ZNON value.
Description The procedure puts the top (shallowest) time-slice grid first, followed
by slice grid 1, slice grid 2, up to slice grid 5. Lastly, the bottom
(deepest) time-slice grid is specified.
If you have more than five time-slice Velocity Grids to concatenate, you
may make more than one pass with this macro to build the final 3D
Velocity Grid. The additional passes continue to add consecutively
deeper time-slice grids.
Technical Note
If you construct this 3D Velocity grid of derived one way time velocities at
constant time-slices of equal Delta T, then you need to remember that the input
time grid to the THREED-T-TO-D macro, which produces an interpolated result
from this 3D grid model, must be a one-way time to top of event grid using
compatible time units, where:
Velocity time-slices = ft/msec (OWT)
Time-to-Top = msec (OWT)
Output Average Velocity number = ft/msec (OWT)
Please note that you can also build one of these Pseudo 3D grids to represent
velocity of constant depth increments. Then in THREED-T-TO-D, generate the
average velocity grid to a gridded depth event.
TIME-SLICE: Results
Shallowest, top
Grid 1
Grid 2
Grid 3
Grid 4
Grid 5
Deepest, bottom
TIME-SLICE: Parameters
o
MFD for the First Grid
Description MFD that contains the first input time grid.
Macro Parameter GRIDMFD1
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
o
MFD for the Second Grid
Description MFD that contains the second input time grid.
Macro Parameter GRIDMFD2
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
TIME-SLICE: Parameters
o
MFD for the Fourth Grid
Description MFD that contains the fourth input time grid.
Macro Parameter GRIDMFD4
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
o
MFD for the First Grid
Description MFD that contains the fifth input time grid.
Macro Parameter GRIDMFD5
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
TIME-SLICE: Parameters
o
MFD for the Bottom Time-Slice Grid
Description MFD that contains the bottom time-slice grid.
Macro Parameter BOTTSMFD
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
ZCL PROCESSES
THREE D TIMESLICE
TRANSFORM-COORDS
TRANSFORM-COORDS: Parameters
o
Input Projection Parameter MASTER FILE
Description MFD containing the Input Data file from which to read Projection
Parameters.
Macro Parameter PROJMFD
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs.
TRANSFORM-COORDS: Parameters
*Direction of Transformation
Description Direction of transformation process
Macro Parameter DIRECT
Data Type C*4
Range Either LLXY (LatLon to XY) or XYLL (XY to LatLon)
Default Value LLXY
TRANSFORM-COORDS: Parameters
ZCL PROCESSES
PROJECTION
TRANSFORMCOORDS
TREND-ANAL-GRID
Purpose This macro creates a trend grid and a residual grid by:
building a trend grid of a specified order from the supplied surface
grid
subtracting the trend grid from the supplied surface grid and
creating the residual grid
Typically, you would first look at a map of the residuals and a map of
the surface input grid on which contours from the trend grid have been
overlaid. Alternatively, you can display the residuals as colorfill and
overlay the contours of the input surface grid and trend grids. Using
either of these methods, localized high or low residual features, which
are geologically regarded as anomalies, can be easily identified.
Many application scenarios exist. For example, this macro may be used
to generate residuals and a trend surface from a velocity grid. Upon
examining the residuals, you could then identify high velocity, pull-up
areas.
Results A grid containing a trend surface and a grid for the residual between the
input grid and the trend grid.
Technical Notes
The TREND-ANAL-GRID macro performs a Least Squares fit to grid
data to produce a grid model that represents the large scale regional
trend of the surface. The trend grid may be subtracted from the surface
grid model to reveal small scale surface features (residuals) that would
be otherwise obscured by the regional trend. This is called Trend and
Residual Analysis and it may be used to identify bad input data points.
Spatial Distribution
The spatial distribution of the data is of primary importance in trend
gridding. Data that is evenly spaced throughout a field, as is grid data,
produces a trend that models the surface in a consistent manner. On the
other hand, data that is clustered, such as control point data, produces a
trend grid that resembles the structure of only the clustered areas. (You
have the option of inputting control point data when executing
Gridding Trend Gridding.) For this reason, the impact type data
can strongly affect the resulting trend grid.
Number of Terms
Another consideration is the number of terms used in the trend fit. The
higher the number, the more flexion there can be in the trend surface
and the closer it fits the data. However, it also allows the trend surface
to climb or drop steeply in regions of low data concentration near the
edge of the grid. It is desirable to use the lowest number of terms that
adequately describe the surface.
When using evenly distributed data, a higher term number may be
selected to generate a trend model that closely fits the data. However, if
the data is not evenly distributed, the great amount of flexion from the
higher term numbers causes sporadic behavior within the trend.
Block Averaging
Block averaging divides your grid file into a set of blocks, each
containing an equal number of rows and columns. The grid nodes
within each block are averaged to produce a mean z value for each
block. These mean values are used to determine the trend fit instead of
the individual grid node values. Block averaging drastically reduces the
CPU time required by the Trend Gridding Algorithm without
significantly changing the results.
Limiting Z Values
Limiting the minimum and maximum z values of the grid eliminates
drastic overshoot of the grid values above and below the data values,
especially when you are using 3rd order, or higher polynomials. Set the
minimum z value slightly smaller than the smallest data value, and the
maximum z value slightly larger than the largest data value.
****** PROCESS DUALGRIDOPS USE 15508 ******
Apply operation SUBTRACT
GRID FILE:trend 1
CREATED: 21 JAN 93
AT: 13:33
Polynomial Number
Expression
Order of Terms
0 1 A (Constant)
1st 2 x
3 y
2nd 4 x2
5 xy
6 y2
3rd 7 x3
8 x2y
9 xy2
10 y3
4th 11 x4
12 x3y
13 x2y2
14 xy3
15 y4
5th 16 x5
17 x4y
18 x3y2
19 x2y3
20 xy4
21 y5
6th 22 x6
23 x5y
24 x4y2
25 x3y3
26 x2y4
27 xy5
28 y6
TREND-ANAL-GRID: Parameters
TREND-ANAL-GRID: Parameters
ZCL PROCESSES
TREND GRIDDING DUAL GRID OPS
USER-FILTER
Description This macro filters a grid by means of a user-defined filter operator grid.
The filter operator grid may originate either from a GRID file on an
attached MFD or as an external disk file that is imported. This filter
operator may possess ring symmetry. Ring symmetry means that the
values in the grid nodes that are equal distance from the centerpoint of
the grid are equal. The macro can handle up to 99 rings.
The input grid file may contain undefined values. These values may
exist within the grid itself or may be caused by faults crossing the grid.
The macro employs one of two methods to handle undefined values. If
the operator is ring symmetric, a ring-symmetric compensation method
is used; otherwise, an asymmetric compensation method is used. If no
compensation is desired, it may be turned off.
Specify these parameters:
the GRID file to be filtered
an optional FALT file
the GRID file for the filter operator grid
symmetry type of the filter operator grid
whether to compensate for null nodes in the filter operator grid
origin of the ring symmetric filter operator grid (optional)
name of the external file for the ring
symmetric operator grid (optional)
name of the output GRID file
Results An output grid file for the filtered grid.
USER-FILTER: Parameters
o
MFD for Input Fault File
Description MFD that contains the input fault file.
Macro Parameter MFDFAULT
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
USER-FILTER: Parameters
o
MFD for Filter Operator Grid
Description MFD that contains the filter operator grid file.
Macro Parameter MFDFN
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
USER-FILTER: Parameters
ZCL PROCESSES
BRANCH DATA BLOCK
DATA BLOCK LOAD DELETE FILE
FILE UTILITY GRID STATISTICS
IMPORT SELECT
SPAWN USER GRID FILTER
VEL-FUN-T-TO-D
VEL-FUN-T-TO-D: Description
VEL-FUN-T-TO-D: Parameters
VEL-FUN-T-TO-D: Parameters
A ( T 2 T 1 ) LV
Z 2 = -------- + Z 1 exp --------------------------- --------
LV
A S A
VEL-FUN-T-TO-D: Parameters
o
MFD for the Depth Grid at Top
Description MFD that contains the depth grid at the top of the target formation.
Macro Parameter MFDTOPD
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
o
MFD for the Time Grid at Top
Description MFD that contains the time grid at the top of the formation.
Macro Parameter MFDTOPT
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
VEL-FUN-T-TO-D: Parameters
oMFD
for the Interval Velocity Grid
Description MFD that contains the interval velocity grid.
Macro Parameter MFDINTV
Data Type I
Range 0 through 5
Default Value Searches all attached MFDs
VEL-FUN-T-TO-D: Parameters
VEL-FUN-T-TO-D: Parameters
ZCL PROCESSES
VEL FUN TIME TO DEPT
VERT-TO-DGRID
Purpose The VERT-TO-DGRID macro records the shortest distance from each
grid node to any point along any line segment in a user-specified input
vertex file of the form (x,y,seg id). The AOI of the output grid is defined
by a user-specified input grid. As part of the macro process, the input
vertex file is resampled at a rate equivalent to half the cell size of the
input grid. The resampled vertex file may be saved as a data file.
Once you have interactively digitized your interpretation of a stream
channel centerline, you may use this macro to produce a form grid that
records distances to the digitized centerlines. The resulting grid may be
used to guide Trendform Gridding. When you edit the digitized
centerlines, you can use the initial form grid as a template for creating a
new form grid.
VERT-TO-DGRID: Parameters
VERT-TO-DGRID: Parameters
ZCL PROCESSES
GRID STATISTICS DATA BLOCK UTILITY
LINERESAMPLING FILECONVERSION
FILEUTILITY DELETE FILE
POINTGRIDPLUS
ZGF-SUMMARY
Purpose This macro generates a report for each picture in your graphics file
(ZGF). This report includes:
name of the picture
area of interest details
a list of the features (graphic segments) in the file
Results A printout containing information about all the pictures on the graphics
file. Projection information is included in the report.
For example:
PICTURE NAME:
REEF WITH SLOPES
ZGF-SUMMARY: Parameters
ZCL PROCESSES
ZGF INFO
Running Macros
Overview
Macros executed from Z-MAP Plus are called Z-MAP Plus macros,
and those executed from a ZCL command stream are called ZCL
macros. The structure of these two types of macros is slightly different,
and is covered in Macro Structure starting on page 649. You can run
Z-MAP Plus macros as ZCL macros, but you cannot run ZCL macros
from Z-MAP Plus. Z-MAP Plus macros can also be classified as either
user-supplied or Landmark-supplied.
2. You can select many Z-MAP Plus macros from the Macros menu.
3. Once you select a macro, its name appears in the status area. If a
macro abstract is available, it scrolls by in the Z-MAP Plus System
Window, and an Execute Macro dialog box appears. The abstract
typically provides a summary of the macros purpose, a list of
input requirements and options, and output results.
4. In the Execute Macro dialog box, click the Fill in Macro
Parameter Defaults button.
ZCL Default Value Does Not Appear in the Macro Dialog Box
ZCL default values do not appear in macro dialog boxes. However, they
are still used if the macro user does not provide a value for a
user-controlled macro parameter.
Click Save to close the Execute Macro dialog box and return to the
Z-MAP Plus window.
If you run a macro in Z-MAP Plus, the ZCL command file
TEMPMACRO.ZCL is written to your Z-MAP Plus project
directory. This file records all user-specified macro parameters and
their values. This file is overwritten every time you run a macro.
An all defaults call of the macro might look like the following example:
MFDS: NUMMFDS=1, MFD1=TEST.MFD /
C
UNITTHICKNESS: TOP = STRATTOP,
BASE = STRATBASE,
STOP: /
In both macro calls, the parameters TOP and BASE are specified
because they are required parameters (preceded by * when defined).
ZCL reports an error if these values are omitted.
A macro call can also be generated from the ZCL command stream
TEMPMACRO.ZCL written to your home directory when you execute
the macro in Z-MAP Plus. This file contains all user-specified macro
parameter values. Macro parameters that use default values are not
written.
Note that the MFDS process would have to be added at the top of this
ZCL command stream before it could be used to call the macro
GRIDANDMAPX. This is because this command stream was built
from running the macro in Z-MAP Plus, and since MFDs were attached
prior to running the macro, the MFDS process does not appear here.
Creating a Macro
Overview
A macro is a set of Z-MAP Command Language (ZCL) process
commands that are packaged together and are called and executed as a
group, either by Z-MAP Plus or by a ZCL command stream.
Z-MAP Plus includes over 70 macros that are supplied by Landmark.
You can also write custom macros and store them for later use by
yourself and others.
Macros are often used to package procedures, making difficult
procedures easier to execute for the novice user. Packaging procedures
is also an excellent way to document a workflow and is useful for
storing a complex workflow you may need to duplicate later.
Since macros have access to all ZCL functionality, you can also use
them to access ZCL functions that are not yet available through the
current Z-MAP Plus interface.
Macros you execute from Z-MAP Plus are called Z-MAP Plus macros,
while those you execute from a ZCL command stream are called ZCL
macros. The structure of these two types of macros is slightly different
and is covered later in this section. You can run Z-MAP Plus macros as
ZCL macros, but you cannot run ZCL macros from Z-MAP Plus.
Z-MAP Plus macros can also be classified as either user-supplied or
Landmark-supplied.
Macros, like ZCL command streams, consist of ASCII text. The first
step in building a macro is to build the ZCL command stream with the
functions you want the macro to perform. You can write the ZCL
command stream with a standard text editor or by using the
Z-MAP Plus Process Logging function. The basic form of the macro is
discussed in the section Macro Structure starting on page 649.
This section covers these topics:
Creating a log file with Z-MAP Plus Tools Process Logging
Creating a macro from a ZCL command stream or Z-MAP Plus
log file
Common errors in user-created macros
Storing macros for use by Z-MAP Plus or ZCL
INPUT
-Top of interval (required)
-Base of interval(required)
-Output grid name (defaults to Isopach Grid)
OUTPUT
Prompts (optional) -A stratigraphic thickness grid for the interval
required for
Z-MAP Plus END ABSTRACT
execution. !
Prompts must be in BEGIN PROMPTS
the same order as the !
parameters!
TOP, Select a top grid for the unit
MFDTOP, MFD for the top grid
BASE, Select a base grid for the unit
MFDBASE, MFD for the base grid
ISOPACH, Input a name for Isopach grid
MFDOUT, MFD for output grid
!
END PROMPTS
!
SINGLEGRIDOPS:001,000
OPNAME = DIPMAG, ! hard-wired
GRIDIN = &TOP, ! user
controlled
GRIDOUT = DIP MAG GRID, ! hard-wired
MFDOUT = 0, ! hard-wired
MFDIN = &MFDTOP, ! user-
controlled
/
C
SINGLEGRIDOPS:002,000
OPNAME = ATAN, ! hard-wired
GRIDIN = DIP MAG GRID, ! hard-wired
GRIDOUT = DIP GRID, ! hard-wired
MFDOUT = 0, ! hard-wired
/
C
SINGLEGRIDOPS:003,000
Core
OPNAME = COS, ! hard-wired
ZCL Commands
GRIDIN = DIP GRID, ! hard-wired
(required) GRIDOUT = COS DIP GRID, ! hard-wired
MFDOUT = 0, ! hard-wired
/
C
DUALGRIDOPS:001,000
OPNAME = SUBTRACT, ! hard-wired
GRIDIN1 = &TOP, ! user-
controlled
GRIDIN2 = &BASE, ! user-
controlled
GRIDOUT = VERT THICK GRID, ! hard-wired
MFDOUT = 0, ! hard-wired
MFDIN1 = &MFDTOP, ! user-
controlled
MFDIN2 = &MFDBASE, ! user-
controlled
/
C
DUALGRIDOPS:002,000
OPNAME = MULTIPLY, ! hard-wired
Macro End Record GRIDIN1 = VERT THICK GRID, ! hard-wired
(required) GRIDIN2 = COS DIP GRID, ! hard-wired
GRIDOUT = &ISOPACH, ! user-
controlled
MFDOUT = &MFDOUT, ! user-
controlled
/
C
MACRO END: /
6. When you finish recording the workflow, turn off the Process
Logger. Select Tools Process Logging, then select Terminate
Logging from the Logging Option popup menu. Click OK to close
the dialog box and stop logging.
The .LOG file now consists of ZCL process commands that will form
the core ZCL for your macro. (See Creating Macros on page 627.)
R2003.12.0 Creating a Log File with Z-MAP Plus: Creating a Macro 626
Landmark Macro Reference Manual for Z-MAP Plus / ZCL
Creating Macros
This section gives you a step-by-step procedure to create a macro from
core ZCL commands. Everyone develops their own approach and style
for building ZCL macros. However, if you are just starting, it is helpful
to know the basic steps in the process. The basic procedure is:
Create the core ZCL process commands using a text editor or
Z-MAP Plus Process Logging.
Naming Macros
You must save the file you create in the text editor or through Process
Logging with a .ZCLMAC extension after the file name. For the program to
recognize files as macros, they must have this extension.
DUALGRIDOPS:001,000
OPNAME = SUBTRACT,
GRIDIN1 = UPPER TOP,
GRIDIN2 = UPPER BASE,
GRIDOUT = VERT THICK GRID,
MFDOUT = 0,
MFDIN1 = 1,
MFDIN2 = 1,
ZNON = 0.10000000E+31,
AOISRCE = GRIDIN1,
XINCSRCE = GRIDIN1,
YINCSRCE = GRIDIN1,
XINC = 2000.0000 ,
YINC = 2000.0000 ,
/
C
DUALGRIDOPS:002,000
OPNAME = MULTIPLY,
GRIDIN1 = VERT THICK GRID,
GRIDIN2 = COS DIP GRID,
GRIDOUT = STRAT THICK GRID,
MFDOUT = 1,
MFDIN1 = 0,
MFDIN2 = 0,
ZNON = 0.10000000E+31,
AOISRCE = GRIDIN1,
XINCSRCE = GRIDIN1,
YINCSRCE = GRIDIN1,
XINC = 2000.0000 ,
YINC = 2000.0000 ,
/
C
STOP: /
C
DUALGRIDOPS:001,000
OPNAME = SUBTRACT,
GRIDIN1 = UPPER TOP,
GRIDIN2 = UPPER BASE,
GRIDOUT = VERT THICK GRID,
MFDOUT = 0,
MFDIN1 = 1,
MFDIN2 = 1,
ZNON = 0.10000000E+31,
AOISRCE = GRIDIN1,
XINCSRCE = GRIDIN1,
YINCSRCE = GRIDIN1,
XINC = 2000.0000 ,
YINC = 2000.0000 ,
/
C
DUALGRIDOPS:002,000
OPNAME = MULTIPLY,
GRIDIN1 = VERT THICK GRID,
GRIDIN2 = COS DIP GRID,
GRIDOUT = STRAT THICK GRID,
MFDOUT = 1,
MFDIN1 = 0,
MFDIN2 = 0,
ZNON = 0.10000000E+31,
AOISRCE = GRIDIN1,
XINCSRCE = GRIDIN1,
YINCSRCE = GRIDIN1,
XINC = 2000.0000 ,
YINC = 2000.0000 ,
/
C
!
! Note that the STOP process has been removed
! and the MACRO END process has been added.
!
MACRO END: /
The ZCL command stream used to test the macro might look like
this:
C ZCL to run default macro
C Attach MFDs
C
MFDS: NUMMFDS=1, MFD1=TEST.MFD/
C
C Call the macro
C
UNITTHICKNESS: /
C
STOP: /
Hard-wired parameter values are those that you do not want the
user to have control over, but that you also do not want to
default. These are generally not parameter values whose
defaults are data-dependent, since hard-wired values do not
change with new input data.
Parameters that you want to allow to default to ZCLs defaults
are those parameters that the user does not need control over.
These are often parameter values whose defaults are data-
dependent. Or they may be parameter values whose defaults are
not data-dependent, but are satisfactory. Most parameter values
in your macro will fall into this category.
C
DUALGRIDOPS:001,000
OPNAME = SUBTRACT, ! hard-wired
GRIDIN1 = UPPER TOP, ! user-controlled
GRIDIN2 = UPPER BASE, ! user-controlled
GRIDOUT = VERT THICK GRID, ! hard-wired
MFDOUT = 0, ! hard-wired
MFDIN1 = 1, ! user-controlled
MFDIN2 = 1, ! user-controlled
ZNON = 0.10000000E+31, ! remove-ZCL default
AOISRCE = GRIDIN1, ! remove-ZCL default
XINCSRCE = GRIDIN1, ! remove-ZCL default
YINCSRCE = GRIDIN1, ! remove-ZCL default
XINC = 2000.0000 , ! remove-ZCL default
YINC = 2000.0000 , ! remove-ZCL default
/
C
DUALGRIDOPS:002,000
OPNAME = MULTIPLY, ! hard-wired
GRIDIN1 = VERT THICK GRID, ! hard-wired
GRIDIN2 = COS DIP GRID, ! hard-wired
GRIDOUT = STRAT THICK GRID, ! user-controlled
MFDOUT = 1, ! user-controlled
MFDIN1 = 0, ! remove-ZCL default
MFDIN2 = 0, ! remove-ZCL default
ZNON = 0.10000000E+31, ! remove-ZCL default
AOISRCE = GRIDIN1, ! remove-ZCL default
XINCSRCE = GRIDIN1, ! remove-ZCL default
YINCSRCE = GRIDIN1, ! remove-ZCL default
XINC = 2000.0000 , ! remove-ZCL default
YINC = 2000.0000 , ! remove-ZCL default
/
C
MACRO END: /
C
DUALGRIDOPS:001,000
OPNAME = SUBTRACT, ! hard-wired
GRIDIN1 = UPPER TOP, ! user-
controlled
GRIDIN2 = UPPER BASE, ! user-
controlled
GRIDOUT = VERT THICK GRID, ! hard-wired
MFDOUT = 0, ! hard-wired
MFDIN1 = 1, ! user-
controlled
MFDIN2 = 1, ! user-
controlled
/
C
DUALGRIDOPS:002,000
OPNAME = MULTIPLY, ! hard-wired
GRIDIN1 = VERT THICK GRID, ! hard-wired
GRIDIN2 = COS DIP GRID, ! hard-wired
GRIDOUT = STRAT THICK GRID, ! user-
controlled
MFDOUT = 1, ! user-
controlled
/
C
MACRO END: /
C
SINGLEGRIDOPS:003,000
OPNAME = COS, ! hard-wired
GRIDIN = DIP GRID, ! hard-wired
GRIDOUT = COS DIP GRID, ! hard-wired
MFDOUT = 0, ! hard-wired
/
C
DUALGRIDOPS:001,000
OPNAME = SUBTRACT, ! hard-wired
GRIDIN1 = &TOP, ! user-
controlled
GRIDIN2 = &BASE, ! user-
controlled
GRIDOUT = VERT THICK GRID, ! hard-wired
MFDOUT = 0, ! hard-wired
MFDIN1 = &MFDTOP, ! user-
controlled
MFDIN2 = &MFDBASE, ! user-
controlled
/
C
DUALGRIDOPS:002,000
OPNAME = MULTIPLY, ! hard-wired
GRIDIN1 = VERT THICK GRID, ! hard-wired
GRIDIN2 = COS DIP GRID, ! hard-wired
GRIDOUT = &ISOPACH, ! user-
controlled
MFDOUT = &MFDOUT, ! user-
controlled
/
C
MACRO END: /
C
DUALGRIDOPS:001,000
OPNAME = SUBTRACT, ! hard-wired
GRIDIN1 = &TOP, ! user-controlled
GRIDIN2 = &BASE, ! user-controlled
GRIDOUT = VERT THICK GRID, ! hard-wired
MFDOUT = 0, ! hard-wired
MFDIN1 = &MFDTOP, ! user-controlled
MFDIN2 = &MFDBASE, ! user-controlled
/
C
DUALGRIDOPS:002,000
OPNAME = MULTIPLY, ! hard-wired
GRIDIN1 = VERT THICK GRID, ! hard-wired
GRIDIN2 = COS DIP GRID, ! hard-wired
GRIDOUT = &ISOPACH, ! user-controlled
MFDOUT = &MFDOUT, ! user-controlled
/
C
MACRO END: /
END ABSTRACT
!
SINGLEGRIDOPS:001,000
OPNAME = DIPMAG, ! hard-wired
GRIDIN = &TOP, ! user controlled
GRIDOUT = DIP MAG GRID, ! hard-wired
MFDOUT = 0, ! hard-wired
MFDIN = &MFDTOP, ! user-controlled
/
C
SINGLEGRIDOPS:002,000
OPNAME = ATAN, ! hard-wired
GRIDIN = DIP MAG GRID, ! hard-wired
GRIDOUT = DIP GRID, ! hard-wired
MFDOUT = 0, ! hard-wired
/
C
SINGLEGRIDOPS:003,000
OPNAME = COS, ! hard-wired
GRIDIN = DIP GRID, ! hard-wired
GRIDOUT = COS DIP GRID, ! hard-wired
MFDOUT = 0, ! hard-wired
/
C
DUALGRIDOPS:001,000
OPNAME = SUBTRACT, ! hard-wired
GRIDIN1 = &TOP, ! user-controlled
GRIDIN2 = &BASE, ! user-controlled
GRIDOUT = VERT THICK GRID, ! hard-wired
MFDOUT = 0, ! hard-wired
MFDIN1 = &MFDTOP, ! user-controlled
MFDIN2 = &MFDBASE, ! user-controlled
/
C
DUALGRIDOPS:002,000
OPNAME = MULTIPLY, ! hard-wired
GRIDIN1 = VERT THICK GRID, ! hard-wired
GRIDIN2 = COS DIP GRID, ! hard-wired
GRIDOUT = &ISOPACH, ! user-controlled
MFDOUT = &MFDOUT, ! user-controlled
/
C
MACRO END: /
Prompt Order
Prompts must be listed in the same order as the parameters.
INPUT
-Top of interval (required)
-Base of interval(required)
-Output grid name (defaults to Isopach Grid)
OUTPUT
-A stratigraphic thickness grid for the interval
END ABSTRACT
!
BEGIN PROMPTS
!
TOP, Select a top grid for the unit
MFDTOP, MFD for the top grid
BASE, Select a base grid for the unit
MFDBASE, MFD for the base grid
ISOPACH, Input a name for Isopach grid
MFDOUT, MFD for output grid
!
END PROMPTS
!
SINGLEGRIDOPS:001,000
OPNAME = DIPMAG, ! hard-wired
GRIDIN = &TOP, ! user controlled
GRIDOUT = DIP MAG GRID, ! hard-wired
MFDOUT = 0, ! hard-wired
MFDIN = &MFDTOP, ! user-controlled
/
C
SINGLEGRIDOPS:002,000
OPNAME = ATAN, ! hard-wired
GRIDIN = DIP MAG GRID, ! hard-wired
GRIDOUT = DIP GRID, ! hard-wired
MFDOUT = 0, ! hard-wired
/
C
SINGLEGRIDOPS:003,000
/
C
MACRO END: /
11. Test the macro again. Follow the procedure in step 4 on page 632.
This time supply parameter values for user-controlled parameters.
If you test the macro in Z-MAP Plus, you are prompted for the
parameter values. If you test the macro in ZCL, include parameter/
value pairs for user-controlled parameters as shown in the
following example:
C ZCL to run default macro
C Attach MFDs
C
MFDS: NUMMFDS=1, MFD1=TEST.MFD/
C
C Call the macro
UNITTHICKNESS: TOP = STRATTOP,
BASE = STRATBASE,
ISOPACH= ISOPACH GRID,
MFDOUT = 1 /
C
STOP: /
In the Macros Directory box, enter the absolute path for the disk
location of your macros. In this example, an absolute path location for
Landmark-supplied macros is shown. You can access your own user-
supplied macro by entering the correct absolute path in this field.
At this prompt, enter the name of the file that contains the ZCL
command stream that calls your macro. You will not be prompted for
the macros directory path. The RZCL script uses the Unix
environmental variable MACUNIT to identify the disk location of a
macro. This variable is set in the RZCL script to default to your current
working directory (for example, ./). If your macro resides in a directory
other than your current working directory, you can do one of the
following:
Copy the macro to your current working directory.
Remove the line from RZCL script that sets MACUNIT. Use the
Unix command setenv to manually set MACUNIT as follows:
Macro Structure
Overview
This section discusses the different parts of a macro and how a macro is
structured. If you plan to create your own Z-MAP Plus or ZCL macros,
read this section.
The major parts of a macro are summarized below. Each of these parts
is described in detail in the discussion that follows, with special
attention to the terms of the parameter definition record.
ZCL Reminders
All macro names, parameter names, parameter types, and file types are in
capital letters. Abstracts and prompts may contain lower case letters.
No single record in a macro can exceed 80 characters in length.
Do not use the <Tab> key to align text in a macro; use spaces.
All parameter definition records and ZCL command calls must end with a
record terminator (/). Text that follows the / in the parameter definition record
is comment text.
INPUT
-Top of interval (required)
-Base of interval(required)
-Output grid name (defaults to Isopach Grid)
OUTPUT
Prompts (optional) -A stratigraphic thickness grid for the interval
required for
Z-MAP Plus END ABSTRACT
execution !
BEGIN PROMPTS
!
TOP, Select a top grid for the unit
MFDTOP, MFD for the top grid
BASE, Select a base grid for the unit
MFDBASE, MFD for the base grid
ISOPACH, Input a name for Isopach grid
MFDOUT, MFD for output grid
!
END PROMPTS
!
SINGLEGRIDOPS:001,000
OPNAME = DIPMAG, ! hard-wired
GRIDIN = &TOP, ! user
controlled
GRIDOUT = DIP MAG GRID, ! hard-wired
MFDOUT = 0, ! hard-wired
MFDIN = &MFDTOP, ! user-
controlled
/
C
SINGLEGRIDOPS:002,000
OPNAME = ATAN, ! hard-wired
GRIDIN = DIP MAG GRID, ! hard-wired
GRIDOUT = DIP GRID, ! hard-wired
MFDOUT = 0, ! hard-wired
/
C
SINGLEGRIDOPS:003,000
Core OPNAME = COS, ! hard-wired
ZCL Commands GRIDIN = DIP GRID, ! hard-wired
(required) GRIDOUT = COS DIP GRID, ! hard-wired
MFDOUT = 0, ! hard-wired
/
C
DUALGRIDOPS:001,000
OPNAME = SUBTRACT, ! hard-wired
GRIDIN1 = &TOP, ! user-
controlled
GRIDIN2 = &BASE, ! user-
controlled
GRIDOUT = VERT THICK GRID, ! hard-wired
MFDOUT = 0, ! hard-wired
MFDIN1 = &MFDTOP, ! user-
controlled
MFDIN2 = &MFDBASE, ! user-
controlled
/
C
DUALGRIDOPS:002,000
OPNAME = MULTIPLY, ! hard-wired
GRIDIN1 = VERT THICK GRID, ! hard-wired
GRIDIN2 = COS DIP GRID, ! hard-wired
GRIDOUT = &ISOPACH, ! user-
controlled
MFDOUT = &MFDOUT, ! user-
controlled
/
Macro End Record C
(required) MACRO END: /
Parts of a Macro
MFDOUT , MFDNUM , 1, 1, 0, 5
MFDIN , MFDNUM , 1, 0, 0, 5
MFDGRID , MFDNUM , 1, 1, 0, 5
MFDFAULT , MFDNUM , 1 0, 0, 5
* HOWMANY , INTEGER , 1
* DATASIZE , INTEGER , 1
USE , INTEGER , 1, 0
NCONTOUR , INTEGER , 1, 0
* NUMMFDS , INTEGER , 1, 0
XMIN , REAL , 1
Parameter Parameter
Flags Field Type Comments...
Name Type
INFLD , FIELD , 3, /
* INFLD , FIELD , REAL /
Number of
Parameter Parameter Default,
Flags Characters (n
Name Type Min, Max
x4)
DATATYPE , ETEXT , 4 , ,1,6 /
DATA
FALT
VERT
TEXT
SSEC
XSEC
* DISCONTN , ETEXT , 4, 1,1,2 /
YES
NO
COORDSYS , ETEXT , 16, 1,1,3 /
DMS
DECIMAL
DEGREES
GRADS
Parameter Name
Parameter names may have up to eight characters. Do not use blanks in
the parameter name on the parameter definition record. However,
parameter names in ZCL command records may contain blanks.
Parameter Type
There are eight types of parameter definition records:
INPUT REAL
OUTPUT INTEGER
MFDNUM STRING
FIELD ETEXT
While the different types of parameter definition records are similar in
structure, each invokes a unique response in ZCL, and the meanings of
some of the term locations vary.
MFDNUM is a special type of parameter definition record; its meaning depends on whether it
follows an INPUT record (first example) or an OUTPUT record (second example). When
MFDNUM follows an INPUT record, the default value is zero, which tells ZCL to search all
attached MFDs for the specified input file; Z-MAP Plus generates a selection list. When
MFDNUM follows an OUTPUT record, Z-MAP Plus creates a popup menu of the attached MFDs
in the same order that they appear in the status area; the default value refers to the MFD in that
position, with zero representing the scratch file.
In either case, use single precision and range extremes of 0 and 5.
Use FIELD for selecting an input field or creating an output field of the specified field type,
Z VALUE in this example. For input field, Z-MAP Plus lists all fields of the appropriate field type
on the selected input file. For a list of Field Type numbers, see Appendix B, File and Field Codes.
A REAL number is used for setting values such as x and y limits, scales, etc. Use REAL for all
REAL ZCL parameters except MFD numbers, which use MFDNUM. If a REAL number must be
positive, you may specify a range start of 0.0; a range end would not be necessary. Use double
precision (2) only for those ZCL parameters which are double precision; refer to the ZCL Process
Descriptions.
An INTEGER number is used for setting whole number values such as number of contours or
color index number. INTEGERs are always single precision, and often have specified defaults and
ranges, as in the examples. Note that the term COLOR, which creates a color button widget, is an
extra term inserted between the parameter type and the precision value.
Use STRING for character text that the user must type in, such as the name of an external disk
file, output picture, or output field. The maximum length of the string (80 in the example) must be
divisible by 4 and cannot exceed the maximum length for the parameter as specified in the ZCL
Process Description.
Use ETEXT for a parameter that has a list of specified options. Maximum length is limited as for
STRING. Range extremes are 1 and the number of options (3 in the example); the default value is
the number of an option, counting down the list from 1 at the top (3, or SEISMIC+LINE+FILL, in
the example). Z-MAP Plus creates a popup menu of the options. Use ETEXT for a ZCL parameter
that has options listed in the Process Description. Note that the record terminator is only used on
the parameter definition record; no terminator is used for the options list records.
The parameter type is used by ZCL to error check the users input to the
macro. If the value specified for a parameter does not match the
parameter type, an error report appears and ZCL stops without
executing commands. *
Font Widget
To generate a font popup menu in a Z-MAP Plus dialog box, include
the term FONT between the parameter type and the precision value.
Note that you must still specify options.
MNTSFONT, ETEXT, FONT, 8, 1, 1, 5
}
*For information on debugging a ZCL command stream, see page 2-8 of the ZCL Operators Manual.
File Type
If the parameter type is INPUT or OUTPUT, the next term in the
parameter definition record identifies the supported file types.
Z-MAP Plus uses this information to generate a selection list. ZCL uses
this information during the error checking pass. If the parameter value
does not match the specified file type, an error report appears and ZCL
stops without executing commands.
Debugging
For information about debugging ZCL command streams, see the ZCL
Operators Manual.
Field Type
The term following the FIELD parameter type identifies the supported
field type. Z-MAP Plus uses this information to generate a selection
list. ZCL uses this information during the error checking pass. If the
parameter value does not match the specified field type, an error report
appears and ZCL stops without executing commands.
Maximum Length
The term following the ETEXT or STRING parameter type identifies
the maximum number of characters allowed in the parameter value.
This number must be a multiple of 4, and cannot exceed the maximum
length for the parameter as specified in the ZCL Process description.
Precision Value
The term following the REAL, INTEGER, or MFDNUM parameter
type designates single precision (1) or double precision (2). Double
precision can only be used for parameters that are designated double
precision in the ZCL process description.
Default Value
The default value is used when the macro user does not specify a macro
parameter value. If no value is specified by the macro parameter default
or the user, then the ZCL parameter default is used if one exists.
If the optional default value is omitted and a range is specified, use a
space and comma to hold the place of the default value. For example:
NCONTOUR, INTEGER , 1, , 0, 256 /
If there is no range specified, no place holder is needed, as in the
FIELD records in the example on page 653. If you want ZCL to
calculate a default, include the place holder comma before the
terminator; for example:
CONMIN , REAL , 1, /
Range
Range terms identify the supported lower and upper limits for the
parameter value. If a value is outside these limits, ZCL reports the error
and does not execute commands. You can specify only a lower range
limit. For example, a lower limit of 0.0 specifies a range of all positive
numbers. ZCL has default ranges for some process parameters, but it is
best to include any applicable range limits when you write a macro.
Options
Whenever the Parameter Type is ETEXT, a list of options follows the
parameter definition record terminator. See descriptions and examples
in the table on page 659 and Font Widget on page 659.
Comments
Text that follows the / in the parameter definition record is comment
text, typically used to describe the parameter.
Comment records between parameter definition records are identified
by an exclamation point (!) in column 1; subsequent characters in the
record are ignored by ZCL. There is no record terminator. Do not use
the letter C to start a comment line in the Parameter Definition portion
of a macro.
End Parameters
The record following the last parameter definition record must read:
END PARAMETERS
This line has no record terminator.
Abstract
The abstract summarizes the macro. It is printed out in ZCL or in the
Status/Report window in Z-MAP Plus when the macro is accessed.
The abstract may be written in any form. A suggested format is:
BEGIN ABSTRACT
purpose, explanation
INPUT: -list of input requirements and options
RESULT: description of result
END ABSTRACT
The BEGIN ABSTRACT and END ABSTRACT lines must be in
capital letters and start in column 1. These lines have no record
terminator. The abstract may be a maximum of 20 lines with 80
characters each. Comment records in this section must begin with a !
(exclamation point) followed by a blank.
Prompts
Prompts appear in the status area or a new dialog box if the macro is
executed in Z-MAP Plus. Prompts are ignored if the macro is executed
from ZCL. The format for the prompts section of a macro is:
BEGIN PROMPTS
Parameter prompt records
END PROMPTS
The BEGIN PROMPTS and END PROMPTS lines must be in capital
letters and start in column 1. These lines have no record terminator.
For example:
BEGIN PROMPTS
GRIDIN ,Input GRID name
Selection list
MFDIN ,MFD number for the Input Grid
generates for each
input dataset
PROFILES,Name of the PROFILE file
MFDPROF ,MFD number for the Profiles
SMOOTH, Contouring Refinement
These parameters CONINT ,Contour Interval or Increment
appear in one CONMIN ,Minimum Contour Level
dialog box in this CONMAX ,Maximum Contour Level
order NCONTOUR,Number of Contours to be drawn
NEWPANEL
LABLRATE,Rate at which to LABEL contours
These parameters LABLSIZE,Size of the LABELS on contours
appear in one LABLCOLR,Contour Label Color INDEX number
dialog box in this BOLDRATE,Rate at which contours are BOLD
order HACHRATE,Rate at which contours are HACHURED
DASHRATE,Rate at which contours are DASHED
NEWPANEL
These parameters LINCLRTP,Contour Line Color Selection method
appear in one STARTCLR,Color index of FIRST contour line
dialog box in this HILTCOLR,Color index of HIGHLIGHTED contour
order LINERATE,Rate at which to CHANGE Line color
NEWPANEL
COLORFIL,Include COLORFILLED contours ?
CNTRFILL,Use the Contour LINES to generate colorfill?
These parameters POSTCNTR,Draw Contour Lines on the Picture?
appear in one COLORBAR,COLORBAR location (if any)
dialog box in this FILLCOLR,Color index of FIRST FILL color
order FILLRATE,Rate at which to CHANGE Fill color
FILBELOW,Colorfill below lowest contour ?
FILABOVE,Colorfill above highest contour ?
Selection list POLYGONS,Name of the POLYGON file
generates MFDPOLY ,MFD number for the Polygons
POLYCLIP,Clip INSIDE or OUTSIDE the polygon ?
BLNKRATE,Rate to BLANK contours with high gradient ?
These parameters BLNKDIST,Minimum allowed Distance for Blanking ?
appear in one PLOTPROF,Draw the Profile Lines on the Picture ?
dialog box in this PROFCOLR,Color for the Profile Lines
order PLOTPOLY,Draw the Polygon on the Picture ?
POLYCOLR,Color for the Polygon
END PROMPTS
ZCL Commands
After END PROMPTS is the core of the macro the ZCL commands
that substitute macro parameter values for ZCL process parameter
values.
For more information about ZCL, see the ZCL Operators Manual.
This volume is available in printed, hardcopy format only.