Voxel to Grids

Use the Voxel > Conversions > Voxel to Grids menu option (geogxnet.dll(Geosoft.GX.VoxUtils.VoxelToGrids;Run)*), to export a Geosoft Voxel to a set of grid files (Geosoft GRD).

Voxel to Grids dialog options

Input voxel file

Select the voxel file to be exported.

Script Parameter: VOXEL_TO_GRIDS.VOXEL

Grid name prefix

Select the base name for the grid files. Each successive grid file will have "_0", "_1", "_2", ... appended to the file name, corresponding to the zero-based indices of the layers being exported.

Script Parameter: VOXEL_TO_GRIDS.GRID

Destination folder

Select the destination folder for the grid files.

Script Parameter: VOXEL_TO_GRIDS.OUTPUT_DIR

Grid direction

Specify the direction axis (X, Y, or Z) along which the voxel will be exported.

Script Parameter: VOXEL_TO_GRIDS.DIRECTION (0: X, 1: Y, 2: Z)

Grid cell size

Ignore the voxel spacing and use the grid size specified in the text box. See the note below about exporting from voxels where the cell sizes are variable.

Script Parameter: VOXEL_TO_GRIDS.CELLSIZE

Starting index

Starting index of the zero based layer (0 to N-1) position along the extraction axis.

Script Parameter: VOXEL_TO_GRIDS.STARTINDEX

Index increment

By default, each layer, starting at the start index, is exported. Select an increment larger than 1 in order to export a sparse sample of the layers.

Script Parameter: VOXEL_TO_GRIDS.INDEXINC (default: 1)

Number of grids

Maximum number of grids to generate. The actual number exported will be limited by the starting index, index increment, and the total number of layers in the export direction.

Script Parameter: VOXEL_TO_GRIDS.NGRIDS

Interpolation method

Specify the interpolation method to use (Linear or Nearest) when creating the grids. This applies in cases where the cell size is specified and is different from the spacing in the exported layers, or when the cell size is variable.

Script Parameter: VOXEL_TO_GRIDS.INTERP ("L": Linear (default); "N": Nearest)

Display option

Specify how generated grids should be displayed (in the current map, as individual grid files, or not displayed. ) A warning with a yes/no response is presented if you have indicated display to the current map or to grid windows, and more than 20 grids are about to be generated.

Script Parameter: VOXEL_TO_GRIDS.DISPLAY (C: Current map, D: Display in grid windows, X: Do not display (default))

Colour method

Specify the colour method to use for the generated grids.

Script Parameter: VOXEL_TO_GRIDS.COLOUR_METHOD (0: Default (default), 1: Linear, 2: Normal distribution, 3: Histogram equalization (equal area), 5: Log-linear, 6: As last displayed)

Colours

Select the colour scheme for rendering the image of the grids. If you mouse over the colour scheme entry, a tooltip will display the name of the colour table in its folder. To modify the selection, click on the colour entry and then navigate through the scheme categories.

Script Parameter: VOXEL_TO_GRIDS.COLOUR_TABLE

Application Notes

*The GX tool will search in the "...\Geosoft\Desktop Applications \gx" folder. The GX.Net tools, however, are embedded in the geogxnet.dll located in the "...\Geosoft\Desktop Applications \bin" folder. If running this GX interactively, bypassing the menu, first change the folder to point to the "bin" folder, then supply the GX.Net tool in the specified format.

Variable Cell Sizes

Since a voxel may have variable cell sizes but a grid has only a fixed cell size, the smallest cell size in both directions orthogonal to the extraction axis are used for the grid cell X & Y separation. The grid data values are then interpolated using the selected interpolation method.