GXHXYZ class

class GXHXYZ(handle=0)[source]

GXHXYZ class.

High Performance Data Point Storage. This is used to put Point data on a DAP server. It is compressed and uses a Quad-Tree design to allow very high speed data extraction. It is also multi-threaded.

__init__(handle=0)[source]

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

classmethod create(name)[source]

Create a handle to an GXHXYZ object

Parameters

name (str) – File Name

Returns

GXHXYZ Object

Return type

GXHXYZ

New in version 5.1.3.

License: Geosoft Open License

get_meta(meta)[source]

Get the metadata of a grid.

Parameters

meta (GXMETA) – GXMETA object to save GXHXYZ’s meta to

New in version 5.1.3.

License: Geosoft Open License

classmethod h_create_db(db, gvv, name)[source]

Make an GXHXYZ from GDB

Parameters
Returns

GXHXYZ object

Return type

GXHXYZ

New in version 5.1.5.

License: Geosoft Open License

classmethod h_create_sql(templ, x, y, z, ipj, name)[source]

Make an GXHXYZ from SQL Query

Parameters
  • templ (str) – Template File Name

  • x (str) – X field name

  • y (str) – Y field name

  • z (str) – Z field name

  • ipj (GXIPJ) – Projection of data values

  • name (str) – Name of GXHXYZ object

Returns

GXHXYZ object

Return type

GXHXYZ

New in version 5.1.3.

License: Geosoft Open 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 GXHXYZ

Returns

A null GXHXYZ

Return type

GXHXYZ

set_meta(meta)[source]

Set the metadata of a grid.

Parameters

meta (GXMETA) – GXMETA object to add to GXHXYZ’s meta

New in version 5.1.3.

License: Geosoft Open License