frejanordsiek / hdf5storage

Python package to read and write a wide range of Python types to/from HDF5 formatted files. Can read/write data to the HDF5 based Matlab v7.3 MAT files.
BSD 2-Clause "Simplified" License
83 stars 24 forks source link

some datatypes were missing #131

Open myrthel opened 7 months ago

myrthel commented 7 months ago

When using asammdf library, having hd5storage dependency I stumbled over an error (https://github.com/danielhrisca/asammdf/issues/122) and this code fixed it. See supported Numpy types https://numpy.org/devdocs/user/basics.types.html in section: "Relationship Between NumPy Data Types and C Data Data Types" in the table "Python API “C-like” name"- types are missing. Using this fix my data was converted successfully to hd5/mat.