GXMISC class

class geosoft.gx.GXMISC
Not a class. A catch-all for miscellaneous geophysical
methods, primarily file conversions.
static convert_cg3to_raw((GXContext)ctx, (str)arg1, (str)arg2, (int)arg3) → None:
Convert a CG3 dump to RAW format.
Parameters:
  • ctx (geosoft.gx.GXContext) – The GX execution context
  • arg1 (str) – name of the CG3 file
  • arg2 (str) – name of the RAW file
  • arg3 (int) – TideCorr Option: 1 - use geosoft, 0 - use CG3/CG5
Returns:

Nothing

Return type:

None

New in version 7.3.0.

static convert_cg5to_raw((GXContext)ctx, (str)arg1, (str)arg2, (int)arg3) → None:
Convert a CG5 dump to RAW format.
Parameters:
  • ctx (geosoft.gx.GXContext) – The GX execution context
  • arg1 (str) – name of the CG5 file
  • arg2 (str) – name of the RAW file
  • arg3 (int) – TideCorr Option: 1 - use geosoft, 0 - use CG3/CG5
Returns:

Nothing

Return type:

None

New in version 7.3.0.

static ukoa2_tbl((GXContext)ctx, (str)arg1, (str)arg2, (str)arg3) → None:
Convert a UKOA file to a location TBL file.
Parameters:
  • ctx (geosoft.gx.GXContext) – The GX execution context
  • arg1 (str) – name of the UKOA file
  • arg2 (str) – line name alias table
  • arg3 (str) – name of the output table
Returns:

Nothing

Return type:

None

New in version 5.0.0.

Note:

The TBL file will contain the following fields:

= Line:string16
= Station:long
= Latitude:double
= Longitude:double
= X:double
= Y:double
= Elevation:double