GXHGD class¶
-
class
geosoft.gx.
GXHGD
¶ High Performance Grid. Designed to place grid data on a DAP server. It produces a multi-resolution compressed object that supports multi-threading and allows for high-speed extraction of data at any resolution.
-
static
create
((GXContext)ctx, (str)arg1) → GXHGD:¶ Create a handle to an HGD object
Parameters: - ctx (
geosoft.gx.GXContext
) – The GX execution context - arg1 (str) – File Name
Returns: HGD handle, terminates if creation fails
Return type: New in version 5.1.0.
- ctx (
-
export_img
((str)arg1) → None:¶ Export all layers of this HGD into grid files.
Parameters: arg1 (str) – Name of grids (each layers adds _Number to the name) Returns: Nothing Return type: None New in version 6.1.0.
-
get_meta
((GXMETA)arg1) → None:¶ Get the metadata of a grid.
Parameters: arg1 ( geosoft.gx.GXMETA
) – META object to save HGD’s meta toReturns: Nothing Return type: None New in version 5.1.0.
-
static
h_create_img
((GXContext)ctx, (GXIMG)arg1, (str)arg2) → GXHGD:¶ Make an HGD from an IMG
Parameters: - ctx (
geosoft.gx.GXContext
) – The GX execution context - arg1 (
geosoft.gx.GXIMG
) – Image Handle - arg2 (str) – Name of HGD object
Returns: HGD Object
Return type: New in version 5.1.0.
- ctx (
-
is_null
() → bool¶ Check if the instance of
geosoft.gx.GXHGD is null (undefined)
Returns: True if this is a null instance of geosoft.gx.GXHGD
, False otherwise.Return type: bool`
-
static
null
() → GXHGD¶ A null (undefined) instance of
geosoft.gx.GXHGD
Returns: A null geosoft.gx.GXHGD
Return type: geosoft.gx.GXHGD
-
set_meta
((GXMETA)arg1) → None:¶ Set the metadata of a grid.
Parameters: arg1 ( geosoft.gx.GXMETA
) – META object to add to HGD’s metaReturns: Nothing Return type: None New in version 5.1.0.
-
static