Sample a Voxel

Use the Voxel > Utilities > Sample a Voxel menu option or the Section Tools > Sample Voxel to Database menu option, (geogxnet.dll(Geosoft.GX.VoxUtils.SampleFromVoxel;Run)*), to sample a voxel at X,Y and optionally Z locations. The new output data channel depends on the Z coordinate specification.

Sample Voxel to Database dialog options (no Z channel specified)

Voxel file

The voxel file to sample from.

Script Parameter: SAMPLEVOXEL.VOXEL

Interpolation method

Interpolation method to use (Linear/Nearest).

Script Parameter: SAMPLEVOXEL.INTERP_METHOD (L: Linear, N: Nearest)

Output data channel

Output sampled voxel array channel. The voxel is sampled along the X & Y trace vertically down to the maximum depth of the voxel. The depths are stored in the header of the extracted data array. The horizontal voxel cell is used as the sampling interval in depth.

Script Parameter: SAMPLEVOXEL.OUTPUT_CHANNEL

Topography channel

This scalar channel samples the surface of the Voxel. It is discretized to the voxel cell increment.

Script Parameter: SAMPLEVOXEL.TOPOGRAPHY_CHANNEL

Sample Voxel to Database dialog options (Z channel is a scalar)

Voxel file

The voxel file to sample from.

Script Parameter: SAMPLEVOXEL.VOXEL

Interpolation method

Interpolation method to use (Linear/Nearest).

Script Parameter: SAMPLEVOXEL.INTERP_METHOD (L: Linear, N: Nearest)

Output data channel

The output sampled voxel channel is a scalar channel along the scalar X,Y,Z trace.

Script Parameter: SAMPLEVOXEL.OUTPUT_CHANNEL

Sample Voxel to Database dialog options (Z channel is an array)

Voxel file

The voxel file to sample from.

Script Parameter: SAMPLEVOXEL.VOXEL

Depth array

Input depth array. The voxel will be sampled along the X, Y trace at the depth locations specified in this array.

Script Parameter: CDI.DEPTH_ARRAY_CHAN

Use negative depths down

If the Depth array is specified as elevations ( +ive Z axis up), check this box.

Script Parameter: CDI.NEGATIVE_DEPTHS_DOWN [0-No | 1-Yes (default)]

Elevation

Optional Topography. If supplied, prior to extracting the voxel values, this value will be added to the depth channel values to match the depth datum with that of the voxel.

Script Parameter: CDI.ELEVATION_CHAN

Interpolation method

Interpolation method to use (Linear/Nearest).

Script Parameter: SAMPLEVOXEL.INTERP_METHOD (L: Linear, N: Nearest)

Output channel

Output sampled array channel.

Script Parameter: SAMPLEVOXEL.OUTPUT_CHANNEL

*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.