Skip to main content

h52edf/h5_to_edf is a tool developed at ESRF to convert a HDF5 file to EDF files.

Installation

pip install h5_to_edf

Usage

usage: h52edf [-h] [-o EDF_DIRECTORY] [--report] [--debug] [--dry-run] [-V]
              [--no-dark] [--no-flat] [--yml] [--no-xml] [--current CURRENT]
              h5_names

positional arguments:
  h5_names

options:
  -h, --help         show this help message and exit
  -o EDF_DIRECTORY   Output directory for EDF files
  --report           Display report without data processing
  --debug            Display debug information
  --dry-run          Process the data without writing it
  -V, --version      show program's version number and exit
  --no-dark          If the h5 does not contains darks, will skip dark creation
  --no-flat          If the h5 does not contains flats, will skip flat creation
  --yml              Create a .yml file containing all the metadata from the h5 file
  --no-xml           Do not generate a .xml file containing few metadata from the h5 file
  --current CURRENT  Use a current text file containing the machine current

How to use

The converter needs the name of the hdf5 file to be converted, and the output directory where the EDF files will be created.

h52edf "path/file_001.h5" -o output_directory

You can also convert multiple hdf5 files at once with the following command:

h52edf "path/file_0*.h5" -o output_directory

Project release

# ~/.pypirc
[h5-to-edf]
repository = https://upload.pypi.org/legacy/
username = __token__
password = pypi-...
pip wheel . --wheel-dir=dist
twine upload dist/h5_to_edf-*.whl -r h5-to-edf

Release files for h5-to-edf 1.5.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for h5-to-edf 1.5.3
File Interpreter ABI Platform
h5_to_edf-1.5.3-py3-none-any.whl Python 3 none any Details

Release files / h5_to_edf-1.5.3-py3-none-any.whl

Download URL h5_to_edf-1.5.3-py3-none-any.whl
Size 31.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7859d02e5ebeededcc196d52d64b8dd326ddb6b3576d09862aaa3cfe7bbe8979
BLAKE2b-256 checksum
How to use checksums
bbd5a3d9d645abc7a26c8d41e8c9e17eb985c4755656754427a6b89d36524721
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release history Release notifications | RSS feed

This release

1.5.3 This release

1 release file

1.5.2

1 release file

1.5.1

1 release file

1.5.0

1 release file

1.4.0

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page