geoh5py.groups

geoh5py.groups.container_group

class geoh5py.groups.container_group.ContainerGroup(group_type: GroupType, **kwargs)[source]

Bases: Group

The type for the basic Container group.

classmethod default_type_uid() UUID[source]

geoh5py.groups.custom_group

class geoh5py.groups.custom_group.CustomGroup(group_type: GroupType, **kwargs)[source]

Bases: Group

A custom group, for an unlisted Group type.

classmethod default_type_uid() uuid.UUID | None[source]

geoh5py.groups.drillhole_group

class geoh5py.groups.drillhole_group.DrillholeGroup(group_type: GroupType, name='Drillholes Group', **kwargs)[source]

Bases: Group

The type for the group containing drillholes.

classmethod default_type_uid() UUID[source]
class geoh5py.groups.drillhole_group.IntegratorDrillholeGroup(group_type: GroupType, **kwargs)[source]

Bases: DrillholeGroup

The type for the group containing drillholes.

classmethod default_type_uid() UUID[source]

geoh5py.groups.giftools_group

class geoh5py.groups.giftools_group.GiftoolsGroup(group_type: GroupType, **kwargs)[source]

Bases: Group

The type for a GIFtools group.

classmethod default_type_uid() UUID[source]

geoh5py.groups.group

class geoh5py.groups.group.Group(group_type: GroupType, **kwargs)[source]

Bases: Entity

Base Group class

add_comment(comment: str, author: str | None = None)[source]

Add text comment to an object.

Parameters
  • comment – Text to be added as comment.

  • author – Author’s name or contributors.

property comments

Fetch a CommentsData entity from children.

copy_from_extent(bounds: np.ndarray, parent=None, copy_children: bool = True) Group | None[source]

Find indices of vertices within a rectangular bounds.

Parameters
  • bounds – shape(2, 2) Bounding box defined by the South-West and North-East coordinates. Extents can also be provided as 3D coordinates with shape(2, 3) defining the top and bottom limits.

  • attributes – Dictionary of attributes to clip by extent.

abstract classmethod default_type_uid() uuid.UUID | None[source]
property entity_type: GroupType
property extent

Bounding box 3D coordinates defining the limits of the entity.

classmethod find_or_create_type(workspace: workspace.Workspace, **kwargs) GroupType[source]

geoh5py.groups.group_type

class geoh5py.groups.group_type.GroupType(workspace: workspace.Workspace, **kwargs)[source]

Bases: EntityType

property allow_delete_content: bool

bool: [True] Allow to delete the group children.

property allow_move_content: bool

bool: [True] Allow to move the group children.

static create_custom(workspace: workspace.Workspace, **kwargs) GroupType[source]

Creates a new instance of GroupType for an unlisted custom Group type with a new auto-generated UUID.

classmethod find_or_create(workspace: workspace.Workspace, entity_class, **kwargs) GroupType[source]

Find or creates an EntityType with given UUID that matches the given Group implementation class.

Parameters
  • workspace – An active Workspace class

  • entity_class – An Group implementation class.

Returns

A new instance of GroupType.

geoh5py.groups.integrator_group

class geoh5py.groups.integrator_group.AirborneTheme(group_type: GroupType, **kwargs)[source]

Bases: Group

The type for a INTEGRATOR Airborne Theme.

classmethod default_type_uid() UUID[source]
class geoh5py.groups.integrator_group.EarthModelsTheme(group_type: GroupType, **kwargs)[source]

Bases: Group

The type for a INTEGRATOR Earth Models Theme.

classmethod default_type_uid() UUID[source]
class geoh5py.groups.integrator_group.GeochemistryMineralogyDataSet(group_type: GroupType, **kwargs)[source]

Bases: Group

The type for a INTEGRATOR Geochemistry & Mineralogy DataSet.

classmethod default_type_uid() UUID[source]
class geoh5py.groups.integrator_group.GeochemistryMineralogyTheme(group_type: GroupType, **kwargs)[source]

Bases: Group

The type for a INTEGRATOR Geochemistry & Mineralogy Theme.

classmethod default_type_uid() UUID[source]
class geoh5py.groups.integrator_group.GeophysicsTheme(group_type: GroupType, **kwargs)[source]

Bases: Group

The type for a INTEGRATOR Geophysics Theme.

classmethod default_type_uid() UUID[source]
class geoh5py.groups.integrator_group.GroundTheme(group_type: GroupType, **kwargs)[source]

Bases: Group

The type for a INTEGRATOR Ground Theme.

classmethod default_type_uid() UUID[source]
class geoh5py.groups.integrator_group.IntegratorGroup(group_type: GroupType, **kwargs)[source]

Bases: Group

The type for a INTEGRATOR group.

classmethod default_type_uid() UUID[source]
class geoh5py.groups.integrator_group.IntegratorProject(group_type: GroupType, **kwargs)[source]

Bases: Group

The type for a INTEGRATOR group.

classmethod default_type_uid() UUID[source]
class geoh5py.groups.integrator_group.ObservationPointsTheme(group_type: GroupType, **kwargs)[source]

Bases: Group

The type for a INTEGRATOR Observation Points Theme.

classmethod default_type_uid() UUID[source]
class geoh5py.groups.integrator_group.QueryGroup(group_type: GroupType, **kwargs)[source]

Bases: Group

The type for a INTEGRATOR Query Group.

classmethod default_type_uid() UUID[source]
class geoh5py.groups.integrator_group.RockPropertiesTheme(group_type: GroupType, **kwargs)[source]

Bases: Group

The type for a INTEGRATOR Rock Properties Theme.

classmethod default_type_uid() UUID[source]
class geoh5py.groups.integrator_group.SamplesTheme(group_type: GroupType, **kwargs)[source]

Bases: Group

The type for a INTEGRATOR Samples Theme.

classmethod default_type_uid() UUID[source]

geoh5py.groups.maps_group

class geoh5py.groups.maps_group.MapsGroup(group_type: GroupType, **kwargs)[source]

Bases: Group

The type for the basic Container group.

classmethod default_type_uid() UUID[source]

geoh5py.groups.notype_group

class geoh5py.groups.notype_group.NoTypeGroup(group_type: GroupType, **kwargs)[source]

Bases: Group

A group with no type.

classmethod default_type_uid() UUID[source]

geoh5py.groups.property_group

class geoh5py.groups.property_group.PropertyGroup(parent: ObjectBase, **kwargs)[source]

Bases: ABC

Property group listing data children of an object. This group is not registered to the workspace and only visible to the parent object.

property association: DataAssociationEnum

DataAssociationEnum Data association

property attribute_map: dict

dict Attribute names mapping between geoh5 and geoh5py

property name: str

str Name of the group

property parent: Entity

The parent ObjectBase

property properties: list[uuid.UUID]

List of unique identifiers for the Data contained in the property group.

property property_group_type: str
property uid: UUID

uuid.UUID Unique identifier

geoh5py.groups.root_group

class geoh5py.groups.root_group.RootGroup(group_type: GroupType, **kwargs)[source]

Bases: NoTypeGroup

The Root group of a workspace.

property parent

Parental entity of root is always None

geoh5py.groups.simpeg_group

class geoh5py.groups.simpeg_group.SimPEGGroup(group_type: GroupType, **kwargs)[source]

Bases: Group

Group for SimPEG inversions.

classmethod default_type_uid() UUID[source]
property options: dict | None

Metadata attached to the entity.

geoh5py.groups.survey_group

class geoh5py.groups.survey_group.AirborneGeophysics(group_type: GroupType, **kwargs)[source]

Bases: Group

The type for the basic Container group.

classmethod default_type_uid() UUID[source]