The RANGRID Control File
The RANGRID control file is used to set the parameters that control the minimum curvature gridding process. It is a five-line text file that can be created and modified with any text file editor. A blank control file template named "rangrid.con" can be found in the ...\Geosoft\Desktop Applications \etc directory.
Following is a summary of the parameters:
line 1: cs
line 2: xmin,ymin,xmax,ymax, bclip
line 3: chan,zb,zm,logopt,logmin
line 4: idsf,bkd,srd,iwt,edgclp,wtslp
line 5: tol,pastol,itrmax,ti,icgr
The file is free-format, which means that the positioning of data within a line is not important. Each line must end with a slash character (/), after which any user comments may be entered on the same line. Most parameters will assume a default value if not specified. If more than one value is to be placed on any line the values must be separated by a blank or comma. For example, if a line of the control file accepts three parameters, the first and third parameters can be set using the following format:
Param1,,Param3 /
If all parameters of a line are to have their default values, just enter a slash (/) to indicate the end of the line. Remember that each line of the control file must end with a slash character.
A self-documented blank control file named RANGRID.CON is supplied with RANGRID and can be copied from the \Geosoft\Desktop Applications \etc directory into the local working directory and edited to set the parameters as desired.
The following sections describe the parameters on each control file line:
Line 1: cs
The required grid cell size in units of your standard reference system. The choice of cell size is also related to the de-sampling factor (idsf) and the coarse grid ratio (icgr).
Specify the grid cell size. This should normally be ¼ to ½ the nominal data sample interval. If not specified, the data points are assumed to be evenly distributed and the default cell size will be set to:
A smaller cell size may be required if the data is to be contoured (we recommend 2 mm. or 1/10 inch at plot scale for contouring). This can be achieved by specifying a smaller cell size and larger desampling factor (desamp), or by regridding the grid using BIGRID.
Line 2: xmin,ymin,xmax,ymax,bclip
The limits of the area to be gridded. |
|
xmin,ymin |
The position coordinates of the bottom left corner of a rectangular area of the user's standard reference system which defines the area to be gridded. By default, the minimum limits of the input XYZ data are used. |
xmax,ymax |
The position coordinates of the right corner of a rectangular area of the user's standard reference system which defines the maximum limit of the area to be gridded. By default, the maximum limits of the input XYZ data are used. Entering a range of 0,0,0,0 will cause the grid to cover the maximum limits of the data plus the blanking distance. |
bclip |
Controls use of all data or boundary clipped data from a *.gdb file. The options are:
|
Line 3: chan,zb,zm,logopt,logmin
Line 4: idsf,bkd,srd,iwt,edgclp,wtslp
Initial sampling and coarse grid parameters are selected using this control file line. |
|
idsf |
The de-sampling factor as a multiple of the grid cell. This factor effectively acts as a low-pass filter by averaging all points into the nearest cell defined by this factor. For example, a factor of 3 would first average database points into a coarse grid whose cells size is 3 times the final cell size. The default is 1, producing no pre-filtering other than de-aliasing by averaging points within a cell. If the resulting grid is too noisy around data points, increase the desampling factor. |
bkd |
All grid cells farther than the blanking distance from a valid point will be set to dummies in the output grid. The default is calculated as: |
srd |
This is the maximum search radius to use for establishing the starting grid values for the coarse grid. The default is four times the coarse grid size defined by the ‘Starting coarse grid’. If no data is found within the maximum search radius, the mean of the data is used as the starting value. If the search radius is too small, the starting grid can be a poor approximation of the desired grid, resulting in excessive processing time. If too large, too much time will be consumed establishing the original coarse grid. The default is four times the coarse grid size defined by icgr. |
iwt |
The weighting power is used to generate the coarse starting grid. Values within a coarse cell are weighed by the inverse of their distance from the coarse grid nodes raised to this power.The two weighting settings, weighting power and weighting slope, can be used to reduce the high-frequency aliasing caused by gridding at too coarse an interval. |
edgclp |
This is the number of grid cells to extend beyond the outside limits of the data. The default is the integer value of blanking distance/grid cell size. If the X and Y range values are not defined, the grid size will be set to the actual data range plus this value.This parameter is commonly used in conjunction with the blanking distance parameter. For best results, use the blanking distance parameter to control the amount of coverage around data and this parameter to set the default grid size – with this distance generally being smaller than the blanking distance to provide clipping around the grid. Do not use this parameter in place of the blanking distance in order to fill interior regions of the grid, as results are generally poorer than using the blanking distance. This is because the blanking distance measures the true radial distance between a given location and the nearest data point while the "cells to extend" is measured only in X or in Y. The blanking distance is a true distance and the "cells to extend" is the number of cells, so you must multiply by the actual cell size to compare the two. |
wtslp |
The weighting can further be moderated through the use of a slope parameter. The overall weighting is established as:
Where:
To grid nonisotropic data, set the weighting slope > 1. For instance, in aeromagnetic survey data with line spacing 200 metres apart and readings every 5 metres along the line, the 50 metre cell size block will include a large number of real data points to be combined into one weighted location and z value; in such case, setting the weighting slope to 5.0 will produce a smoother non-aliased outcome relative to a setting of 0.0. |
Line 5: tol,pastol,itrmax,ti,icgr
Got a question? Visit the Seequent forums or Seequent support
© 2024 Seequent, The Bentley Subsurface Company
Privacy | Terms of Use