Numeric to Lithology Voxel

Use the Voxel > Conversions >  Numeric To Lithology Voxel menu option (geogxnet.dll(Geosoft.GX.VoxUtils.ConvertNumericVoxelToThematicVoxel;Run)*), to convert an existing numeric Voxel to a new Lithology Voxel.

Numeric to Lithology Voxel dialog options

Input numeric voxel

Select the voxel file to be converted.

Script Parameter: TRANSLATE_NUMERIC.INPUT_VOXEL

Output lithology voxel

Specify the name of the lithology voxel file to generate. (.geosoft_voxel).

Script Parameter: TRANSLATE_NUMERIC.OUTPUT_VOXEL

Lithology table

Browse to select the lithology file (*.csv).

Script Parameter: TRANSLATE_NUMERIC.THEME_FILE

Input property

Specify a property to use in the conversion.

Script Parameter: TRANSLATE_NUMERIC.INPUT_PROPERTY

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.

Input Voxel

The input voxel must be a numeric voxel.

Output Voxel

The resultant voxel will have a 32 bit integer format. Should the input voxel have data ranges outside the data range that is specified in the lithology table, those values will be converted to dummy values.

Lithology Table

The lithology table must be a valid comma separated values (CSV) file and must have a lithology classification field named "Code", as well as a column of associated values used to convert to the associated codes.

Input Property

The input property must be a numeric field in the lithology table.

Conversion Algorithm

Numerical values in the input voxel are assigned codes based on the following method:

  1. Values in the selected numeric field in the lithology table are sorted in ascending order, along with the codes.
  2. The range of values for each code extends half-way to the values for its adjacent codes.
  3. The "outside" ranges for the minimum and maximum values are calculated using the "inside" range to the nearest values.
  4. Any values falling outside the minimum or maximum range values are not assigned a lithology code, and so that cell will not appear in the output voxel.

For instance, if "Red", "Green" and "Blue" have values 0, 2 and 5, then the following ranges are calculated: Red (-1 to 1), Green (1 to 3.5) and Blue (3.5 to 6.5).

  • If a 3D Viewer is open when running the conversion, the output lithology 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 Voxelsoption is set to "True".