geoh5py.groups¶
geoh5py.groups.container_group¶
geoh5py.groups.custom_group¶
geoh5py.groups.drillhole_group¶
geoh5py.groups.giftools_group¶
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.
- 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
- 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.
- class geoh5py.groups.integrator_group.EarthModelsTheme(group_type: GroupType, **kwargs)[source]¶
Bases:
Group
The type for a INTEGRATOR Earth Models Theme.
- class geoh5py.groups.integrator_group.GeochemistryMineralogyDataSet(group_type: GroupType, **kwargs)[source]¶
Bases:
Group
The type for a INTEGRATOR Geochemistry & Mineralogy DataSet.
- class geoh5py.groups.integrator_group.GeochemistryMineralogyTheme(group_type: GroupType, **kwargs)[source]¶
Bases:
Group
The type for a INTEGRATOR Geochemistry & Mineralogy Theme.
- class geoh5py.groups.integrator_group.GeophysicsTheme(group_type: GroupType, **kwargs)[source]¶
Bases:
Group
The type for a INTEGRATOR Geophysics Theme.
- class geoh5py.groups.integrator_group.GroundTheme(group_type: GroupType, **kwargs)[source]¶
Bases:
Group
The type for a INTEGRATOR Ground Theme.
- class geoh5py.groups.integrator_group.IntegratorGroup(group_type: GroupType, **kwargs)[source]¶
Bases:
Group
The type for a INTEGRATOR group.
- class geoh5py.groups.integrator_group.IntegratorProject(group_type: GroupType, **kwargs)[source]¶
Bases:
Group
The type for a INTEGRATOR group.
- class geoh5py.groups.integrator_group.ObservationPointsTheme(group_type: GroupType, **kwargs)[source]¶
Bases:
Group
The type for a INTEGRATOR Observation Points Theme.
- class geoh5py.groups.integrator_group.QueryGroup(group_type: GroupType, **kwargs)[source]¶
Bases:
Group
The type for a INTEGRATOR Query Group.
geoh5py.groups.maps_group¶
geoh5py.groups.notype_group¶
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