Grid To Grid Calculations

 

The Grid-To-Grid Calculations tool is a powerful general purpose tool to quickly perform over 30 different grid calculations. This tool is useful for simple mathematical operations, merging two different grids into a single grid, clipping specific grid values, or a variety of other calculations.  The Grid-To-Grid Calculations tool also contains many of the equations used elsewhere, including trend-residual analysis and curvature analysis.

Note: All grids used in this process must have the same number of rows and columns, grid dimensions and extents.

To open the Grid-To-Grid Calculations tool, select Contours>Grids>Grid-to-Grid Calculations... from the menu bar at the top of the Map Module.

Note that the Grid Equation Transform is a slightly simpler tool that can be used for more basic single-grid operations.

Data tab

The Grid-To-Grid Calculation Data tab

Grid Folder

Output Grid File - This entry sets the name of the newly calculated isopach grid.  Either enter a new name, or select an existing grid to overwrite.

Grid Title -This option sets the title of the output grid file.

Grid Operation - This drop down selects the desired grid operations.  Note that "A" and "B" refer to input grids. "C" refers to the output grid.

 

Basic Mathematical Operations

C = A + B
C = A – B
C = A * B
C = A / B
C = A + Constant
C = A * Constant

Merging Two Grids

C = Minimum of A or B
C = Maximum of A or B
C = Substitute B for A when A is NULL
C = Merge Deepest of A and B
C = Merge Shallowest of A and B
C = Union of A and B

Clipping Specific Grid Values

C = Maximum of A or Constant (clip above constant)
C = Minimum of A or Constant (clip above constant)
C = NULL if A is less than Constant
C = NULL if A is equal to Constant
C = NULL if A is greater than Constant
C = Constant if A is NULL

Extended Mathematical Operations

C = SQRT(A)
C = Log10(A)
C = NaturalLog(A)
C = AntiLog10(A)
C = AntiNaturalLog(A)

Curvature Analysis

C = Dip Azimuth of A in degrees
C = Dip Magnitude of A in degrees times Constant
C = Slope In X direction times Constant
C = Slope in Y direction times Constant

Smoothing

C = Smooth (A) Grid (Constant = number of filter points)

Time-Depth Conversion

Time-Depth conversion operations use an additional time-depth file, selected on the "Auxiliary File" entry on the bottom of the Data tab.  This file can be either columnar or comma-delimited.  The Grid-To-Grid operations tab also adds a "Time-Depth tab to handle further formatting of the time-depth pairs.

C = Convert Time Grid (A) to Depth (Uses Auxiliary File)
C = Convert Depth Grid (A) to Time (Uses Auxiliary File)

Isopachs

C = Truncated Isopach using Top (A), Base (B) and Fluid Contact (Constant)
C = Truncated Isopach using Top (A), Isopach (B) and Fluid Contact (Constant)
C = Sum of Isopach Grids A and B

Trend-Residual Analysis

C = Trend Surface of A (Constant = Trend Order)
C = Trend Residual Surface of A (Constant = Trend Order)
C = Truncated Isopach using Top (A), Base (B), and 2 Fluid Contacts (Constant 1 and 2)
C = Truncated Isopach using Top (A), Isopach (B), and 2 Fluid Contacts (Constant 1 and 2)

 

Input Grids - Assign the grid files to the "A" and "B" variables in the grid operation.  Use the "Grid Info" buttons to view grid details.

Constant - If the operation calls for a constant value, enter the value here.

List Grids By - This option changes how grids are sorted on the input and output menus.

Compare AB - This option displays a comparison of grid information between the A and B grids.  

Auxiliary File - This entry establishes a ASCII or CSV file used for time-depth conversions.

Time-Depth tab

The Time-Depth tab only appears when a Time-Depth Conversion operation is selected on the Data tab

The Grid-To-Grid Calculation Time-Depth tab

 

Auxiliary File Contains - This option sets the general type of time-depth pairs.  Select whether the pairs are "Depth, Time" or "Time, Depth"

Seismic Times Are

Grid File - This option sets whether the grid uses 1-way or 2-way travel time.

Aux File -This option sets whether the auxiliary file uses 1-way or 2-way travel time.

Seismic Time Units Are

Grid File - This option sets whether the grid uses seconds or milliseconds.

Aux File -This option sets whether the auxiliary file uses uses seconds or milliseconds.

Misc tab

The Misc tab contains one option for setting the zero azimuth. This option is only used for some curvature analysis calculations, and references all calculated azimuths to the selected direction.

The Grid-To-Grid Calculation Time-Depth tab