ROVI-org / battery-data-toolkit

Utilities for reading and manipulating battery testing data
https://rovi-org.github.io/battery-data-toolkit/
Apache License 2.0
39 stars 8 forks source link

Consider a switch to custom hdf5 layout #89

Closed WardLT closed 1 week ago

WardLT commented 1 month ago

We use Pandas to write our data frames to HDF5, which records them in a way that optimizes for database-like queries. The problem is that we never use such a functionality but it costs storage space and makes the data harder to read from other languages. We should switch to a custom layout with h5py

WardLT commented 1 week ago

After some further reading: I'm going to stick with PyTables and use it natively via PyTables rather than via Pandas. PyTables tables are just normal H5 datasets, but with a struct/compound data type row. That's something we can read easily from other software.