GXGD class

class geosoft.gx.GXGD
This class provides access to Geosoft grid files using an old interface.
Only the geosoft.gx.GXDU.sample_gd() function uses this class.  Use the IMG class
instead.
static create((GXContext)ctx, (str)arg1, (int)arg2) → GXGD:
This method creates a GD object.
Parameters:
Returns:

Handle to the GD object

Return type:

geosoft.gx.GXGD

New in version 5.0.0.

is_null() → bool

Check if the instance of geosoft.gx.GXGD is null (undefined)

Returns:True if this is a null instance of geosoft.gx.GXGD, False otherwise.
Return type:bool`
static null() → GXGD

A null (undefined) instance of geosoft.gx.GXGD

Returns:A null geosoft.gx.GXGD
Return type:geosoft.gx.GXGD

GD_STATUS constants

Grid open mode
gx.GD_STATUS_READONLY = 0
gx.GD_STATUS_NEW = 1
gx.GD_STATUS_OLD = 2