-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't read HDF5 created with pandas. #11
Comments
At least enables Argos to read HDF files created with Pandas but the string attributes still give an erroro.
Technical explanation: the problem seems to be that PyTables (which is used by Pandas to create the HDF files) stores some string attributes as fixed-length utf-8 strings. These can not be read by the H5Py library that Argos uses to read the HDF-5 files. The best solution would be that the issue is fixed in H5Py. Unfortunately the bug is more that two years old so I don't see it being fixed soon. See h5py/h5py#585 I've made a work-around so that Argos at least open the file, but some attributes cannot be read. See the screenshot below. The work around is in the development branch. You can test try that if you like. |
Wonderful, thanks! To be honest, I assume that most users don't need those attributes anyways, it is usually more important to see the values of the data. Now I only have an import error coming from not finding pgcolorbar, but I can download that from your other repo. |
Hi,
Your tool looks amazing! Unfortunately it seems not to like my HDF5 files, created with
pandas
.Maybe you could implement that, too.
Best regards!
Reproduction:
Execute this in Python to create the HDF5 file:
Then open it in argos (
argos NOT_IMPLEMENTED.h5
) and open the group "Test" in the treeview.Error Message
Bug: uncaught OSError
Unable to read attribute (no appropriate function for conversion path)
The text was updated successfully, but these errors were encountered: