hdf5storage icon indicating copy to clipboard operation
hdf5storage copied to clipboard

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.

Results 24 hdf5storage issues
Sort by recently updated
recently updated
newest added

Note: I wrote all of the below out, and then realized that it appears this issue has been fixed on the main branch. A release of the main branch would...

Creation of `tmp.mat` with a scalar, an empty struct, and an empty cell array: ```matlab S = struct('A', 123, 'B', struct(), 'C', {{}}); save('tmp.mat', '-struct', 'S', '-v7.3'); ``` Loading with...

Hello Freja! First, thank you for hdf5storage - we use it extensively at my place of work. I'm seeing a bug in v0.1.18 when I use oned_as='column' in savemat(). Here...

Hello Freja, it seems that there are some dedicated array types in Matlab for datetime representation. Do you think hdf5storage could support this as well for writing .mat files?

enhancement

Some of the numpy scalar types were missing. This resulted in error messages such as the following ``` File "D:\TMP\myapp_venv_3.9\lib\site-packages\hdf5storage\__init__.py", line 1676, in savemat writes(mdict=mdict, filename=file_name, File "D:\TMP\myapp_venv_3.9\lib\site-packages\hdf5storage\__init__.py", line 1316,...

At present, circular objects (e.g. a list with an element that is itself) are not properly detected and the package will keep recursing deeper and deeper in the circular structure...

bug
enhancement

A function to find and delete Datasets and Groups inside the Group `Options.group_for_references` that are not referenced by other Datasets in the file. Will help prevent the buildup of junk.

enhancement

A `whosmat` function like the SciPy [scipy.io.whosmat](http://docs.scipy.org/doc/scipy/reference/generated/scipy.io.whosmat.html#scipy.io.whosmat) would be useful for finding what is stored in a an HDF5 file and what it would be read back as.

enhancement

Add a marshaller to read/write ``scipy.spatial.transform.Rotation`` (https://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.transform.Rotation.html#scipy.spatial.transform.Rotation).

enhancement

Add a marshaller for reading/writing numpy masked arrays (https://numpy.org/doc/stable/reference/maskedarray.html).

enhancement