GDB to Voxel

Use the Voxel > Conversions > GDB to Voxel menu option (geogxnet.dll(Geosoft.GX.VoxUtils.ImportGDBToVox;Run)*), to import a channel from the current Geosoft database to a Geosoft voxel.

GDB to Voxel dialog options

Data channel

Select the database channel holding the data values to be imported to a voxel.

Script Parameter: IMPORTGDBTOVOX.DATA_CHANNEL

Output voxel

Specify the name of the Geosoft Voxel file to generate (.geosoft_voxel).

Script Parameter: IMPORTGDBTOVOX.OUTPUT_FILE

Application Notes

*The GX.NET tools are embedded in the geogxnet.dll file 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" directory, then supply the GX.NET tool in the specified format. See the topic Run GX for more details on running a GX.NET interactively.

If a 3D Viewer is open during the import, then the output voxel will be displayed in the 3D Viewer window. Otherwise, the output voxel will be displayed into a new Voxel Viewer window. If the output voxel does not display, open the Advanced Settings dialog (Project > Settings >  Advanced) and under the Voxel Settings section, check if the Display Created Voxels option is set to "True".

The import does not do gridding. The data must already be in a rectangular grid form. The import does support non-uniform cell sizes as long as all the cell sizes can be determined. The voxel created will have the same projection as the X, Y, Z channels and be of the same data type as the Data channel.

Non-Uniform cell sizes are handled on per axis (X, Y, Z).

The example fragment below defines a non-uniform voxel with the X axis having four different cell sizes:

 X   Y       Z   Data

 0   100  4   33.0

 15 100  4   34.5

 22 100  4   36.3

 26 100  4   37.02

 30 100  4   5.2

 40 100  4   523

The resulting X axis would be defined as:

 Min  Point   Max   Cell

 -10    0         10       20

  10    15       20      10

 20     22       24      4

 24     26       28      4

 28     30      32       4

 32     40      48       8

Note that if the points do not produce a finite non-uniform cell array for any axis, the import will fail.

Use the gridding tool to produce voxels from random data points.