geosoft.gxpy.viewer submodule

Geosoft Viewers.

Note

Test example: Tests

exception ViewerException(message)[source]

Bases: geosoft.GXRuntimeError

Exceptions from geosoft.gxpy.viewer.

New in version 9.2.

view_document(document_file_name, wait_for_close=True, env=None)[source]

Open Geosoft Desktop application for viewing a supported Geosoft document type. These include:

gdb file
map files
geosoft_3dv files
grid files
voxel files
vector_voxel files
VOXI models
GM-SYS 2d models
GM-SYS 3d models
Parameters
  • document_file_name – document file name, require decorators for grids, e.g. testgrid.grd(GRD). Supports all documents that can be openned by Geosoft Desktop.

  • wait_for_close – wait for process to exit, default True

  • env – environment variables to add to os environment variables

New in version 9.2.