semvec/pypi-packages huggingface dataset:
hdf5extractor 1.0.4
Extract datasets from a h5 file, depending on referenced dataset from a xml file.
License: Apache-2.0
Requires Python: <4.0,>=3.9
Keywords: Energyml, hdf, hdf5, resqml, osdu

<!--
Copyright (c) 2022-2023 Geosiris.
SPDX-License-Identifier: Apache-2.0
-->
# hdf5-extractor

Extract mini hdf5 files from an epc and an H5 file. 
The mini-h5 are created by finding Datasets referenced from the epc. Each representation will have its own mini-h5 file.

# installation :

## With poetry :

```console
poetry add hdf5extractor
```

## With pip :

```console
pip install hdf5extractor
```

# Run :

Extract a small h5 from a bigger one, to only have dataset of a specific resqml file : 
```console
extracth5-local -i myResqmlFile.xml --h5 myH5File.h5 -o outputFolder
```

Extract every h5 parts from a bigger one, to only have in each, the dataset of a specific resqml file inside an epc : 
```console
extracth5-local -i myEPCFile.epc --h5 myH5File.h5 -o outputFolder
```