No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-07-26 09:42:55 +02:00
.gitignore Fixed extension of output file to .h5 (from .hdf5), added .gitignore 2026-07-26 09:42:55 +02:00
ascii2hdf5.py Fixed extension of output file to .h5 (from .hdf5), added .gitignore 2026-07-26 09:42:55 +02:00
config.py.example First release 2026-07-25 19:13:31 +02:00
LICENSE Initial commit 2026-07-25 18:50:50 +02:00
README.md First release 2026-07-25 19:13:31 +02:00
requirements.txt First release 2026-07-25 19:13:31 +02:00

ascii2hdf5

This repository provides a tool to convert ASCII data into HDF5 format. It simplifies the process of converting text data from DAQ (Data Acquisition System) into a standard HDF5 dataset.


Setup

  • create and activate a virtual environment:
python -m venv venv
source venv/bin/activate
  • install the dependencies (python > 3.12):
pip install -r requirements.txt

How to use

  • copy the config file from the example:
cp config.py.example config.py
  • edit using the template guidelines
  • run the script:
./ascii2hdf5.py
  • (optional) you can also automatize the script and launch it periodically by inserting into the crontab. Example could be like:
*/5 * * * * python3 /path/ascii2hdf5.py >> ascii2hdf5.log 2>&1