Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

Unknown macro: {alias}

Name

gr3 — Grid data into 3D cube

Syntax

# Create a 3D grid (cube) using moving average as the default interpolator.
gr3 [inc] | [nx ny nz] [lat] [fill] [snap] [sca] [ref] [smo]

# Update cube towards wells in workspace
gr3 upd checkshot_name [check] [disk]
gr3 upd checkshot_name [tensor [max radius] | [fac factor]]
gr3 upd checkshot_name [conic [rad radius]]

# Smooth cube with gaussian filter.
gr3 smo [gau [dim 2]] [z] [rad radius]

# Write out inlines and crosslines in a cube to file filename.
gr3 write [lim] inlinestart xlinestart inlinestop xlinestop filename

# Transform a cube or grid or polydata (points) to a new cube.
gr3 [ins workspacename] | [fgr] | [vsum] | [edi] | [cdi] | [int] | [form]

Description

Create a 3D grid using moving average as the default interpolator. Will default use scalar values as input to gridding.

Arguments

inc xinc yinc zinc

nx ny nz

fill

snap

lat

sca

poi

ref reference_grid

smo smoothstrength

Update cube towards wells in workspace.

upd checkshot_name [check] [disk] [tensor | conic]

Smooth cube with gaussian filter.

smo [gau dim 2] [rad radius]

Write out the z values of the cube as inlines and crosslines to an external file.

write [lim lim_value*] _inlinestart xlinestart inlinestop xlinestop filename.

Transform a grid or cube to a new cube.

gr3 [ins workspacename] | [fgr] | [vsum] | [edi] | [cdi] | [int] | [form]

Examples

Ex.1: Cube gridding

mak ran 11      ;# Make 11 random points
gr3 50 50 50    ;# Make a cube of 50 50 50 nodes
# Cube model gridding
z                 ;# Erase screen
win demo          ;# Get demo window (450000 460000 6450000 6460000 1000 4000)
spe bgc whi       ;# Specify background color to white
vie 2 2 1         ;# Viewport 2 x 2 and select 1
mak ran 11        ;# Make 11 random points
mak ras           ;# Make random scalar
mhi pp            ;# Move to pp
gr3 77 77 77      ;# Grid scalars into cube of dimension 77 77 77
dis               ;# Display the cube
tx2 lle col bla txt "sca" ;# Text at lower left
vie 2 con         ;# Select viewport 2 and connect to previous
mlo pp            ;# Move lo pp
gr3 poi 77 77 77  ;# Grid points into cube of dimension 77 77 77
dis               ;# Display the cube
tx2 lle col bla txt " poi" ;# Text at lower left
vie 3 con         ;# Select viewport 3 and connect to previous
mlo pp            ;# Move lo pp
gr3 poi 77 77 77  ;# Grid single points into cube of dimension 77 77 77
gr3 vsum          ;# Grid vertical sum into cube
dis               ;# Display the cube
tx2 lle col bla txt "vsum" ;# Text at lower left
vie 4 con         ;# Select viewport 4 and connect to previous
mlo pp            ;# Move lo pp
mak ran 22        ;# Make random points
grp 77 77         ;# Make a grid
gr3 77 77 77 edi  ;# Grid distance of grid into cube of dimension 77 77 77
dis               ;# Display the cube
tx2 lle col bla txt "edi" ;# Text at lower left

The above example produces this image.


Examples of cube gridding

See also

filt impl, gen - Generate grid

  • No labels