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:
EntityContainer
Base Group class
- add_children(children: list[Entity])[source]¶
- Parameters:
children – Add a list of entities as
children
- 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(parent=None, copy_children: bool = True, clear_cache: bool = False, mask: ndarray | None = None, **kwargs)[source]¶
Function to copy a group to a different parent entity.
- Parameters:
parent – Target parent to copy the entity under. Copied to current
parent
if None.copy_children – (Optional) Create copies of all children entities along with it.
clear_cache – Clear array attributes after copy.
mask – Array of bool defining the values to keep.
kwargs – Additional keyword arguments to pass to the copy constructor.
- Return entity:
Registered Entity to the workspace.
- copy_from_extent(extent: ndarray, parent=None, copy_children: bool = True, clear_cache: bool = False, inverse: bool = False, **kwargs) Group | None [source]¶
Sub-class extension of
copy_from_extent()
.
- abstract classmethod default_type_uid() UUID | None [source]¶
Abstract method to return the default type uid for the class.
- property extent: ndarray | None¶
Geography bounding box of the object.
- Returns:
shape(2, 3) Bounding box defined by the bottom South-West and top North-East coordinates.
- mask_by_extent(extent: ndarray, inverse: bool = False) None [source]¶
Sub-class extension of
mask_by_extent()
.
geoh5py.groups.group_type¶
- class geoh5py.groups.group_type.GroupType(workspace: Workspace, allow_move_content: bool = True, allow_delete_content: bool = True, **kwargs)[source]¶
Bases:
EntityType
- property allow_delete_content: bool¶
bool
: [True] Allow to delete the groupchildren
.
- property allow_move_content: bool¶
Allow to move the group.
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, name=None, on_file=False, uid=None, property_group_type='Multi-element', **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 allow_delete: bool¶
bool
Allow deleting the group
- property association: DataAssociationEnum¶
DataAssociationEnum
Data association
- property attribute_map: dict¶
dict
Attribute names mapping between geoh5 and geoh5py
- property collect_values: list | None¶
The values of the properties in the group.
- property name: str¶
str
Name of the group
- property on_file¶
Property group is on geoh5 file.
- property parent: ObjectBase¶
The parent
ObjectBase
- property properties: list[UUID] | None¶
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]¶
Abstract method to return the default type uid for the class.
- property options: dict | None¶
Metadata attached to the entity.