-
Notifications
You must be signed in to change notification settings - Fork 73
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
Unsupported format error (10001) with Python & h5netcdf created sofa file #46
Comments
You can compile libmysofa with the VDEBUG flag to get more information about the kind and location of the error. |
It seems that the superblock version is 0 in my sofa and reader expects version 2 or 3. After correcting for that (using h5py and libver="latest"), I get a bit further:
Any further tips? |
As the code says: /* TODO: for the following part, the specification is incomplete */ Now, the following steps are required:
|
Sounds great. You can use the sofa file under Creative Commons Attribution + Non-commercial (BY-NC). Would you prefer the one linked above, the libver='latest' converted (as in version bounding) or both? |
the latest is fine... |
+1 on this, using h5py 2.7.1 with I also tried to create a SOFA file from Python with netCDF4-python 1.3.2 (compiled against libnetcdf 4.4.0-2 on Ubuntu 16.04). This file works fine in MATLAB, but libmysofa complains about the superblock version (as vanne02135 reported above with h5netcdf). |
not relevant anymore |
@hoene Hi, I'm trying to read a SOFA file created by using
We thought this issue might be related to endianness of the SOFA file created by |
please provide an example file (preferably small), or (easy to run) code to generate one. |
Hi @umlaeute, thanks for responding. Here is a small test file that fails on my end attached here: https://drive.google.com/file/d/1aJqohf07TefRk2XKmgiR-FbwXjmL89zs/view?usp=sharing. It could be used by you for testing purposes under Creative Commons Attribution + Non-commercial (BY-NC) license. Please let me know there is something I can do to help. |
thanks. |
@umlaeute Hi, I appreciate your help if you let me know if there is any update on this issue. Thanks! |
I had a look on it. It is a bit more complicated as the HDF5 spec is not well documented here - or at least I did not found it. @gheber might help me which the information on how to implement the reader. |
I wonder what's wrong with my HRTF that was created with h5netcdf, as it loads in all ambisonics daw plugins I tested but not with libmysofa? The sofa in question is https://drive.google.com/file/d/1SIslF4sgsI8lAl3Vm3S_QAdwtmfbbqnS/view?usp=sharing
Any ideas?
The text was updated successfully, but these errors were encountered: