-
Notifications
You must be signed in to change notification settings - Fork 31
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
Loading sofa file fails #16
Comments
The exception caught in NETCDFload.m has the following message: The error seems to happen in line 104 when it wants to read the Obj.Data.IR: |
Dear xnoreq, When I do the following:
then HRTFs of CI1 are successfully downloaded from the internet and loaded to Matlab (2016a). It might be that your downloaded file is corrupted. Could you try again? Maybe even directly using the commands from above? |
Same error:
Maybe something changed in Matlab2018 or 2017 in the netcdf functions? |
Hmm, that's weird. Yeah, maybe the netcdf implementation changed with Matlab. |
I don't have a demo_baumgartner2014. |
I’ve got a very similar problem. There are some sofa files which I fail to open. The error messages I get are the same as those provided by xnoreq: Loading E:\HRTF Database\ari artificial\hrtf b_nh172.sofa
Example of such problematic files include hrtf b_nh172.sofa, ClubFritz1.sofa, ClubFritz3.sofa, ClubFritz4.sofa, ClubFritz5.sofa, ClubFritz6.sofa, ClubFritz7.sofa, ClubFritz9.sofa, ClubFritz10.sofa, ClubFritz11.sofa, ClubFritz12.sofa. It works fine with the remaining artificial HRTF sofa files published on the main SOFA repository. |
Thanks, Slawek. I can do @xnoreq : sorry, I confused it with an other toolbox. But since Slawek posted which files work, we don't need the test anymore. Guys, it might be that the server did not provide the files correctly. Could you delete your local SOFA file, download exactly the same file again, and then try again? Thanks... |
Some files work for me as well, but some don't: Has the following checksum after download: and fails with the above error. |
With https, same file: Compare to: It looks like the webserver is misconfigured and mangles the files... |
That's actually a good news, xnoreq. I'll check the webserver next week... |
Thank you for looking into this issue (I am assuming it was due to the server/file transfer problem). It seems that everything is working now. I downloaded the ‘problematic’ files again and I can load them using the SOFAload command without any problem. |
Our IT has changed some settings in their servers and a test with 10000 downloads was successful (no errors). Unfortunately, we do not know what has changed and created this error. If it happens again, I'll forward the problem again to the IT. Thanks for your understanding! |
Loading e.g. hrtf_ci1.sofa from ari (bte) fails:
The text was updated successfully, but these errors were encountered: