Skip to main content

Extract datasets from a h5 file, depending on referenced dataset from a xml file.

Project description

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 :

poetry add hdf5extractor

With pip :

pip install hdf5extractor

Run :

Extract a small h5 from a bigger one, to only have dataset of a specific resqml file :

extracth5 -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 :

extracth5 -i myEPCFile.epc --h5 myH5File.h5 -o outputFolder

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hdf5extractor-1.0.3.tar.gz (8.3 kB view hashes)

Uploaded Source

Built Distribution

hdf5extractor-1.0.3-py3-none-any.whl (9.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page