No description
- Python 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .gitignore | ||
| ascii2hdf5.py | ||
| config.py.example | ||
| LICENSE | ||
| README.md | ||
| requirements.txt | ||
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