GXMISC class

class GXMISC(handle=0)[source]

GXMISC class.

Not a class. A catch-all for miscellaneous geophysical methods, primarily file conversions.

__init__(handle=0)[source]

Initialize self. See help(type(self)) for accurate signature.

classmethod convert_cg3to_raw(cg3, raw, tide_corr_opt)[source]

Convert a CG3 dump to RAW format.

Parameters
  • cg3 (str) – Name of the CG3 file

  • raw (str) – Name of the RAW file

  • tide_corr_opt (int) – TideCorr Option: 1 - use geosoft, 0 - use CG3/CG5

New in version 7.3.

License: Geosoft End-User License

classmethod convert_cg5to_raw(cg5, raw, tide_corr_opt)[source]

Convert a CG5 dump to RAW format.

Parameters
  • cg5 (str) – Name of the CG5 file

  • raw (str) – Name of the RAW file

  • tide_corr_opt (int) – TideCorr Option: 1 - use geosoft, 0 - use CG3/CG5

New in version 7.3.

License: Geosoft End-User License

is_null()[source]

Check if this is a null (undefined) instance

Returns

True if this is a null (undefined) instance, False otherwise.

Return type

bool

classmethod null()[source]

A null (undefined) instance of GXMISC

Returns

A null GXMISC

Return type

GXMISC

classmethod ukoa2_tbl(ukoa, alias, tbl)[source]

Convert a UKOA file to a location TBL file.

Parameters
  • ukoa (str) – Name of the UKOA file

  • alias (str) – Line name alias table

  • tbl (str) – Name of the output table

New in version 5.0.

License: Geosoft End-User License

Note: The TBL file will contain the following fields:

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